Send HTTP request on a schedule and log the response
Recipe ToolsMarketingDeveloper ToolAPI Integration
What it does
When a scheduled interval arrives, this automation sends an HTTP request via Rest. If the response status is 200, one message logs; otherwise, a different message logs and the job stops.
Who it's for
Engineering and Operations teams who monitor external systems and need to verify API health on a schedule.
How teams use this
Monitor API health on a schedule
Poll an external API every hour and log whether it returned a 200 status. The team sees success or failure in the job report without manual checks.
Alert on failed HTTP responses
When the Rest endpoint returns a status that is not 200, stop the job and log the error so the team can investigate. Successful responses continue silently.
Track API uptime across multiple endpoints
Run this automation for each external API the team depends on, each on its own schedule. Add a filter to only log failures so the report stays clean and actionable.
How it works
- Wait for the scheduled interval. At the specified time or recurring schedule, this automation wakes up and moves to the next step.
- Send the HTTP request. Rest sends a request to the target endpoint and captures the response status code and body for evaluation.
- Check if the response is successful. If the status code equals 200, log a success message to the job report. If not, log a failure message and stop the job.