Skip to content

Answer from Slack

Connect Slack, and each new conversation is posted to a channel of your choice. Your team can reply to the contact from the post’s thread, close the conversation, and look contacts up with /crm.

Only owners and admins can connect Slack. Each app connects on its own.

  1. Go to Settings › your app › Developers › Slack.
  2. In the card 1. Create the Slack app, press Copy the manifest.
  3. Open api.slack.com/apps, and choose Create New App, then From a manifest.
  4. Pick your Slack workspace.
  5. Paste the manifest, and create the app.
  6. Choose Install to Workspace, and allow it.

The manifest already holds everything Slack needs, including PurrCRM‘s addresses and the /crm command.

In the card 2. Connect it, fill in:

FieldWhere to find it
Bot tokenThe Slack app’s OAuth & Permissions page: the Bot User OAuth Token. It starts xoxb-.
Signing secretThe Slack app’s Basic Information page, under App Credentials. Choose Show, then copy it.
Channel IDIn Slack, open the channel’s details: the ID is at the bottom. It looks like C0123456789.

Under Post, choose Every new conversation, or Only conversations nobody was given.

Press Connect.

Then add the bot to the channel: in the channel, type /invite and the app’s name.

  • New conversations are posted to the channel, with the contact’s first message and a Close button.
  • The contact’s later messages are added to that post’s thread.
  • Reply in the thread to answer the contact. The reply is sent as the teammate whose email in PurrCRM is the same as their email in Slack. Someone with no match can’t answer from Slack, and nothing is sent.
  • Close closes the conversation. The thread says who closed it.
  • Look a contact up: type /crm and an email, your own id for them, or a conversation’s id. Only you see the answer: their name, email, when they were last seen, and their conversations.
  • Press Edit to change the channel or what is posted. Leave the token and secret empty to keep them.
  • Press Disconnect to stop. Nothing more is posted, and replies, Close and /crm stop working. You can remove the Slack app in Slack too.