Traversing JSON with dynamic data
Options
lixia
Unconfirmed, Member ✭
Slack's interactivity webhook sends JSON payloads with dynamic values. For example, with the object "yH5Qy" being dynimc, Is there a way to traverse this JSON to grab "Title 1" from the following example?
"values": {
"yH5Qy": {
"input_title": {
"type": "plain_text_input",
"value": "Title 1"
}
}
}
Answers
-
Hi @lixia! 👋
Welcome to the Xano Community! 🎉
Have you tried the Get Entries object function? This allows you to get the property entries of an object as an array which you can then traverse to grab "Title 1".
Let me know if this helps. 😊
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback