Sync data from Rest API on a 10-minute schedule
Recipe ToolsMarketingDeveloper ToolAPI Integration
What it does
When the clock triggers every 10 minutes, this automation sends an HTTP request to retrieve data. It processes the response in batches, loops through each item, and logs results to the job report.
Who it's for
Data and analytics teams who need to pull data on a regular schedule without manual intervention.
How teams use this
Pull data every 10 minutes
Sync records on a fixed schedule so the team always has fresh data without requesting a manual pull. The loop and filter keep only the records needed.
Change the schedule to hourly syncs
Adjust the clock trigger to run every hour instead of every 10 minutes. The rest of the flow stays the same and retrieves the same data less often.
Add a filter for specific records
Set the index condition to only process records that match a department or cost center. Include an extra filter so the team syncs only the data they need.
How it works
- Start on a 10-minute schedule. The automation runs every 10 minutes so data is pulled regularly throughout the day without manual work.
- Send HTTP request and receive data. Send a request via HTTP to the Rest API and receive the response back. The data is stored as an array for batch processing in the next steps.
- Loop and filter items by index. For each item in the array, check if the index does not equal 5. Add matching items to the list, and stop the job when the condition is false.
- Log results to job report. Record a message in the job report so the team can see which items were processed and when the job completed.