How to Capture a Slack Conversation in a Salesforce Record
This guide explains how to record a Slack conversation into a Salesforce record or field, specifically focusing on a case comment. Two methods are demonstrated: transferring the full transcript of the Slack conversation and using AI to summarize the conversation.
Setup
1. Create a Case and Set Up a Flow
- When a case closes, the flow triggers to record the Slack conversation into a case comment.
- Use a record-triggered flow with the status set to "Closed."
2. Retrieve the Slack Channel ID:
- Use the "Get Link Conversation" to find the appropriate Slack channel ID.
- If the Slack channel ID and thread ID are set directly on the case field, pull from the triggering case field instead of performing this step.
- In the "Set Variables" step, set a text type variable to the channel ID.
Transferring the Transcript
1. Summarize a Conversation:
- Use the "Summarize a Conversation" element from Centro.
- Feed it the channel ID variable.
- Enable AI summary by setting it to "true" if you want an AI-generated summary (a paid add-on feature). If set to "false," it will return the full transcript.
2. Create a Case Comment:
- Create a case comment with the comment body set to the output of the previous step.
- Depending on your choice, this will either be the full transcript or the summary.
Test
1. Testing Transcript Recording:
- Go to Slack and choose a channel.
- Close the case to trigger the flow.
- Refresh the case to see the transcript recorded in the case comment.
2. Testing AI Summary:
- Switch the flow to use AI summary by setting the AI summary variable to "true."
- Close the case again.
- Refresh to see the AI-generated summary recorded in the case comment.
Additional Notes
- Using a Thread: If using a Slack thread, include the thread ID in the setup. Further details can be provided in another video.
- AI Summary Feature: This is a paid add-on for Centro. Contact your account representative for licensing information.
- Standard Transcripts: Included in Centro’s pricing.
Let us know if you have any questions or need further assistance.