Sync Rest API data to Lookup Table every 5 minutes

Recipe ToolsMarketingDeveloper ToolAPI Integration

What it does

When the clock triggers every 5 minutes, this automation sends an HTTP request to fetch data from the Rest API. It processes each item, filters for weekend dates, and logs results to the job report.

Who it's for

Data and analytics teams who need to keep a Lookup Table synchronized with Rest API data on a regular schedule.

How teams use this

Sync weekend data to Lookup Table

Fetch Rest API data every 5 minutes and store only weekend records in the Lookup Table. The job report logs all processing steps so the team can audit what was synced and when.

Monitor API data quality on schedule

Run the sync on a 5-minute cadence to catch data changes quickly. Log each item processed so the team can review the job report and spot issues in the Rest API response.

Filter by custom date condition

Modify the IF condition to check for a different day of the week or date range. Only items that match the new filter are added to the Lookup Table and logged to the job report.

Extend sync to multiple API endpoints

Add more Rest API requests before the loop so data from multiple endpoints is fetched and combined. All results are processed together and logged in a single job report for review.

How it works

  1. Run every 5 minutes. The Clock triggers this automation on a 5-minute interval so data stays current without manual intervention.
  2. Fetch data from Rest API endpoint. Send an HTTP request to the Rest API endpoint to retrieve the latest dataset for processing and filtering.
  3. Process items and filter by weekend. Loop through each item from the Rest API response. Check if the date is Saturday or Sunday, then log matching results to the job report.
  4. Build helper list and repeat. Create a repeat helper list from the filtered weekend items and loop through each one, logging all outcomes to the job report.