Send Gmail messages when webhooks receive events
Developer ToolAPI IntegrationMarketingProductivitySales Enablement
What it does
When an HTTP webhook receives a new event, this automation checks the user name property and sends Gmail messages based on the result. Someone can route notifications to different recipients depending on what the webhook delivers.
Who it's for
Engineering teams who integrate external systems and need to notify people when events arrive.
How teams use this
Alert teams when external systems trigger events
Receive webhook events from a third-party application and send Gmail notifications to the right people. The team stays informed without checking another system.
Route notifications based on event properties
Check the user name or other webhook properties and send emails to different recipients depending on the result. Someone can change only the condition and recipient email addresses.
Add more conditions to filter events
Extend the automation to check additional properties from the webhook payload and send emails only when multiple conditions are met. Add conditions for department, event type, or priority level.
How it works
- Receive the webhook event. Listen for a new event via HTTP webhook in real time. The webhook payload includes properties like user name that this automation can read and respond to.
- Send an initial email. Send a Gmail message to notify someone that the webhook event arrived. This email goes out before the automation checks any conditions on the payload.
- Send email if user name matches. If the user name property contains humaid, send a Gmail message to a specified recipient. This branch handles events from that specific user.
- Send email for other users. If the user name does not contain humaid, send a different Gmail message. This branch handles all other webhook events and notifies the appropriate team.