Hello Bubble Community,
I’m working on integrating my Bubble application with Zapier and need some assistance. I have set up an API workflow that should trigger a Zap by sending data to a webhook. However, I’m encountering a format issue with the JSON response expected by Zapier.
The challenge is to format the response from Bubble so that it returns a pure JSON array, which is required by Zapier to populate a dynamic dropdown menu in one of the Zaps. The response should not have any additional keys or nesting; it should be a simple JSON array of objects.
Here is the structure of the response I am currently getting:
Hello Bubble Community,
I'm working on integrating my Bubble application with Zapier and need some assistance. I have set up an API workflow that should trigger a Zap by sending data to a webhook. However, I'm encountering a format issue with the JSON response expected by Zapier.
The challenge is to format the response from Bubble so that it returns a pure JSON array, which is required by Zapier to populate a dynamic dropdown menu in one of the Zaps. The response should not have any additional keys or nesting; it should be a simple JSON array of objects.
Here is the structure of the response I am currently getting:
```json
{
"status": "success",
"response": {
"job": [
// Array of job objects
]
}
}
However, Zapier requires the response in this format:
[
// Array of job objects
]
Each job object needs to have an “id” and “Job_Title” property for Zapier to correctly populate the dropdown.
I’ve attempted to use the “Return data from API” action within my workflow, but it seems to wrap the array in an object with “status” and “response” keys, which Zapier does not accept.
Is there an operator or a method in Bubble that can help me remove this wrapping object or any other way to directly return a pure array? Any suggestions or guidance on how to resolve this would be greatly appreciated.
Thank you in advance for your help!