Send Slack message when webhook receives event

Developer ToolAPI IntegrationCRMMarketingCollaboration

What it does

When an external system sends a new event to the webhook endpoint, this automation searches Salesforce rosters and posts a message in Slack. Someone can trigger this from any system that sends data to the webhook.

Who it's for

Operations teams who need to notify Slack when external systems send webhook events to Salesforce.

How teams use this

Alert ops when external system sends data

Receive webhook events from a third-party platform and post a Slack message so the team knows new data arrived in Salesforce. The flow works as-is for any webhook source.

Route alerts to different Slack channels

Send webhook events to different channels based on roster type or event category. Only the Slack channel destination changes while the webhook and Salesforce query stay the same.

Filter events before posting to Slack

Add a condition to check the webhook payload and only post a message when specific criteria are met. This requires a condition step between the webhook and the Salesforce search.

Sync webhook data to Salesforce records

Include a step to update Salesforce roster records with data from the webhook before posting to Slack. This ensures the roster is current when the team sees the notification.

How it works

  1. Receive event via webhook endpoint. An external system sends a new event to the webhook endpoint in real time, which starts this automation and passes the event data forward.
  2. Search rosters in Salesforce. Query Salesforce rosters using a filter clause to find matching records based on the webhook event data so the right roster is identified.
  3. Post message in Slack. Send a message to a Slack channel with the event details and roster information so the team sees the update right away.