I have a “notify Slack” workflow that’s triggered when a customer sends any message, but I can only see the customer and teammate messages in the conversation. Is there a way to see the Fin responses as well? This would help us a lot with triaging, and improving the chatbot responses as well.
Can I trigger chatbot responses to send a Slack notification?
Best answer by Jacques Reynolds
Hey
Currently, our native Slack integration does not include replies from the Fin AI Agent.
To achieve your goal of including Fin's responses in the Slack notifications, you might need to explore custom solutions. One approach could be to use a custom action within your workflow to fetch the conversation details, including Fin's responses, and then send this information to Slack. This would involve using the Intercom API to retrieve the conversation data and then posting it to Slack using Slack's API.
Here is a high-level outline of the steps you could take:
-
Create a Custom Action in Intercom Workflow:
- Use the "Custom Action (using API)" step in your workflow to call an external service that fetches the conversation details from Intercom.
-
Fetch Conversation Details:
- Use the Intercom API to retrieve the conversation details, including messages from the Fin AI Agent. You can use the
GET /conversations/{id}
endpoint to get the full conversation history.
- Use the Intercom API to retrieve the conversation details, including messages from the Fin AI Agent. You can use the
-
Post to Slack:
- Use Slack's API to post the fetched conversation details to your desired Slack channel. You can use the
chat.postMessage
method to send messages to Slack.
- Use Slack's API to post the fetched conversation details to your desired Slack channel. You can use the
Hope this helps!
Reply
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.