Route Slack analysis events to Salesforce

CollaborationSales EnablementRecipe ToolsDeveloper ToolAPI IntegrationCRMMarketingProductivityBotsArtificial Intelligence

What it does

When someone posts a message in a Slack channel, this automation checks for specific keywords and retrieves an analysis token. It fetches the analysis result and stores it in Salesforce so the team has a record.

Who it's for

Sales operations teams who need to capture and track Slack analysis events in Salesforce without manual entry.

How teams use this

Track competitive mentions in deals

When a sales rep mentions keywords in the deal channel, the analysis is logged and stored in Salesforce. The team sees the mention and context without leaving Slack.

Route analysis to a different Slack channel

Point this automation at a different channel so a separate team can monitor the same keywords. The Salesforce record creation stays the same.

Add email notification on analysis failure

Include a condition to send a Gmail alert when the status code is not 200. That way the team knows immediately if an analysis request fails.

How it works

  1. Listen for messages in Slack channel. Monitor a specific Slack channel in real time for messages that contain designated keywords so the automation can process them.
  2. Request an analysis token via Rest. Call a Rest endpoint to retrieve a token that authorizes the next analysis request. Log the message details to a job report for tracking.
  3. Fetch the analysis result via Rest. Use the token to call a Rest endpoint and retrieve the analysis result. If the status code is 200, proceed to store the result in Salesforce.
  4. Store the analysis in Salesforce. Create a record in Salesforce with the analysis result and endpoint ID so the team can review and act on the data from one place.