Send an HTTP request on a schedule
UtilitiesDeveloperAPI
What it does
When a specified interval arrives, this automation makes an HTTP request to fetch data. The response is logged so someone can see what was retrieved.
Who it's for
Engineering teams who need to poll an API on a schedule without manual intervention.
Apps used
How teams use this
Poll an API every hour
Set the interval to one hour and fetch fresh data from an endpoint on a repeating schedule. The log grows with each poll so the team can track changes over time.
Monitor a budget endpoint daily
Run this automation each morning to pull the latest budget from an endpoint using Rest and log it. The team sees a daily record without writing a cron job.
Add a Slack notification on success
Include a Slack step after the log so someone gets notified when the Rest request completes. Only add the notification step and keep the rest of the flow the same.
How it works
- Wait for the scheduled time. At the interval someone sets, this automation wakes up and moves to the next step.
- Fetch data via Rest. Make a request to the endpoint using Rest and retrieve the budget data or other information the team needs from the response.
- Log the response. Write the response from Rest to the output log so someone can review what was fetched and verify the request succeeded.