Monitor endpoint health every 5 minutes
Recipe ToolsMarketingDeveloper ToolAPI Integration
What it does
When the clock triggers every 5 minutes, this automation makes an HTTP request to verify the endpoint is responding. If the call succeeds, the result logs to the job report; if it fails, the automation stops.
Who it's for
Engineering teams who need to verify an endpoint is healthy without manual checks.
How teams use this
Monitor a critical API endpoint
Check whether an API is responding every 5 minutes and log each result to the job report. The team can review the report to see endpoint availability and performance over time.
Alert the team on failures
Extend this automation to send a Slack message when the HTTP call fails so someone is notified immediately instead of waiting to check the job report later.
Check multiple endpoints
Retarget this automation to monitor a different endpoint by changing the link in the HTTP call step. The monitoring schedule and error handling remain the same.
Filter results by response code
Add a condition to the error check so only specific response codes stop the automation. Other codes log to the report and the monitoring continues without interruption.
How it works
- Trigger every 5 minutes. The clock starts this automation on a 5-minute interval so the endpoint is checked regularly throughout the day.
- Make the HTTP request. Rest sends an HTTP call to the endpoint and waits for a response to determine if it succeeds or fails.
- Stop on error. If the HTTP call returns an error, this automation stops and does not retry the request to the endpoint.
- Log success to job report. When the HTTP call succeeds, Rest logs a message to the job report so the outcome is recorded for review.