8b61452d56
- Fix typo in slack-integration-setup.md
2 KiB
2 KiB
path | title |
---|---|
/docs/slack-integration-setup | Setting Up Slack Intergration |
Register a Slack app
To use Slack Integration, you have to create a Slack app in the developer portal. You can find more details about creating Slack apps here
Once you register your Slack App, you will have to obtain the Client Id
and Client Secret
. These values will be available in the app settings and will be required while setting up Chatwoot environment variables.
Configure the Slack app
- Create a slack app and add it to your development workspace.
- Obtain the
Client Id
andClient Secret
for the app and configure it in your Chatwoot environment variables. - Head over to the
OAuth & permissions
section underfeatures
tab. - In the redirect URLs, Add your Chatwoot installation base url.
- In the scopes section configure the given scopes for bot token scopes.
commands,chat:write,channels:manage,channels:join,groups:write,im:write,mpim:write,users:read,users:read.email,chat:write.customize
- Head over to the
events subscriptions
section underfeatures
tab. - Enable events and configure the the given request url
{chatwoot installation url}/api/v1/integrations/webhooks
- Subscribe to the following bot events
message.channels
,message.groups
,message.im
,message.mpim
- Connect slack integration on Chatwoot app and get productive.
Configuring the environment variables in Chatwoot
Configure the following Chatwoot environment variables with the values you have obtained during the slack app setup.
SLACK_CLIENT_ID=
SLACK_CLIENT_SECRET=
Test your setup
- Ensure that you are receiving the Chatwoot messages in the
customer-conversations
channel. - Add a message to that thread and ensure it is coming back on to Chatwoot
- Add
note:
orprivate:
in front on the Slack message see if it is coming out as private notes - If your Slack member's email matches their email on Chatwoot, the messages will be associated with their Chatwoot user account.