Hello,
I'm having trouble querying nested json with sql in my workflow.
Here is an example of my api response
Here are my results with sql
How can I make it so the name and address in the from object are 2 separate columns?
Thank you!
Hello,
I'm having trouble querying nested json with sql in my workflow.
Here is an example of my api response
Here are my results with sql
How can I make it so the name and address in the from object are 2 separate columns?
Thank you!
Hey there @bahmed,
You can use a code block to manipulate the results of your query, e.g.
query1.data.map(item => ({
...item, // Spread existing properties
emailName: item.emailAddress?.name || '', // Extract name
emailAddress: item.emailAddress?.address || '' // Extract address
}))
Hope this makes sense!
Thank you! This is what I needed