The response is an array of logs from my system. I added “dateSince” and “dateTill” fields as input fields because they are required and there a max period of 3 months allowed between them.
Given that I want my trigger to always poll the latest data I need to insert dynamic dates in the input fields instead of fixed values.
You must include a space between the modifier and the date/time value. Multiple modifiers can be used together, and must be separated from date/time values and each other with spaces.
Tried that but that didn’t seem to work (the test trigger loads forever). I’m trying another approach where instead of using a polling trigger, I have created the same API call in Zapier UI as an action. Then I start my zap with a Schedule by Zapier trigger which gives me a nice control over the polling frequency.
The only problem is that the API call returns an array of items instead of a single object. So Zapier UI doesn’t accept the response. I’ve got another API call returning an array of objects and they are treated as line items. How come it’s not the case for this one?
Great, I’m using an action step from a custom integration. I manage to fix the API call and now I get line items. The looping app is exactly what I need for my next steps thank you!