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.

Apps used

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.