Route Slack messages to email and REST endpoint by keyword
CollaborationSales EnablementData ParserMarketingDeveloper ToolAPI IntegrationProductivity
What it does
When someone posts a message in a specific Slack channel, this automation parses the message and checks for a keyword. If found, it sends the message to Gmail and a REST endpoint, then posts a confirmation back to Slack.
Who it's for
Operations teams who need to capture and forward Slack messages to external systems based on content.
Apps used
How teams use this
Forward feedback to support inbox
Capture customer feedback posted in a Slack channel and email it to the support team inbox via Gmail. The team gets notified in real time without switching apps.
Log messages to external system
Send Slack messages to a REST endpoint that creates tickets in a ticketing system. This automation stays the same and only the endpoint address changes.
Filter messages by multiple keywords
Add conditions to check for multiple keywords or phrases before routing. Only messages matching all conditions are sent to Gmail and the REST endpoint.
Route to different teams by channel
Set up this automation to run in multiple channels and route each to a different email address or REST endpoint. Each team receives only messages from their channel.
How it works
- Listen for new Slack messages. A new message arrives in a specific Slack channel. The automation checks if the message contains a keyword and routes it forward.
- Parse the message JSON structure. Extract the message content and metadata from the Slack event using Json Parser so the data can be sent to other systems.
- Send message to REST endpoint. Post the parsed message to an external REST service or webhook using Rest so it can be processed or logged by another system.
- Email the message details. Send an email with the message content via Gmail so someone outside Slack has a record of the event.
- Confirm in the channel. Post a message back to Slack so the channel knows the message was captured and forwarded.