Route Greenhouse events and log errors to Gmail
API toolRecipe ToolsProductivitySales Enablement
What it does
When an API request arrives, this automation routes Greenhouse events to the right handler. If an error occurs, it logs the issue and sends a notification to Gmail so the team knows what happened.
Who it's for
HR teams who need to monitor Greenhouse events and get alerted when something goes wrong.
How teams use this
Monitor Greenhouse hiring events in real time
Route hire_candidate and offer_created events from Greenhouse to the right handlers as they arrive. The team gets visibility into each event without manual checks.
Alert the team when event processing fails
Log errors to a job report and send an email via Gmail so the HR team knows immediately when a Greenhouse event did not process. Nothing else changes in the flow.
Add a new Greenhouse event type
Include a new condition to check for a different Greenhouse event and route it to its own handler. The error monitoring and email alerts stay the same for all event types.
Notify operations of critical errors
Set the Gmail recipient to an operations inbox so error notifications go to a different team instead of HR. The routing and logging stay the same for all Greenhouse events.
How it works
- Receive a Greenhouse event. Listen for an incoming API request that contains a Greenhouse event like hire_candidate, merge_candidate, or offer_created in real time.
- Route event to handler. Check which Greenhouse event arrived and send it to the matching handler so hire_candidate goes to the hire flow, merge_candidate to the merge flow, and offer_created to the offer flow.
- Monitor for errors. Watch the handler for errors during processing. If one is found, stop retries and move to logging so the team can investigate what went wrong.
- Log error to job report. Record the error details in the job report via Workato Recipe Function so there is a record of what failed and when it happened.
- Send alert email. Send an email via Gmail to notify the team that an error occurred during Greenhouse event processing so they can investigate.