Hello,
I’m having troubles to set up integration for an App that has API. The goal is users to be able to create Zaps with that integration that run once a day, week or month. So the first step from the Zap should be “Scheduler from Zapier”, right? The next step from the Zap should be an action from integration and this action makes a GET request to the app’s API and returns multiple items(persons) like this:
{
"1": {
"id": "1932",
"first_name": "Test1",
"last_name": "Test1",
"email": "test1@gmail.com",
"birthday": "1987-08-04",
},
"2": {
"id": "1933",
"first_name": "Test2",
"last_name": "Test2",
"email": "test2@gmail.com",
"birthday": "1987-09-05",
}
}
What I can not figure out is How to make the Zap to loop through elements of this object and run the rest of Actions for each of them. I tried to make an action of the integration to return an array of objects but run into an error saying that an action should return an object instead of an array. I read about looping through line items, but cant find anything about looping trough objects.
It seems to me like I miss something. What should I do? I have control over the integration and the API.
Thank you