Slack does three things in tufu:
- Handoffs in a channel. Each handoff is a card; reply in its thread and the visitor sees it.
- Your bot in Slack. Teammates can mention the bot or message it directly.
- Slack as knowledge. Answers your team already gave in Slack threads can teach the bot.
Handoffs and your bot in Slack come with the Starter plan and up. Slack as knowledge works on every plan.
Connecting Slack#
A team admin opens Settings → Integrations in tufu and presses Connect Slack. You need to be an admin of the Slack workspace to add the app.
- Import all public channels brings in every public channel. Leave it off to import only the channels you invite the bot to.
- New messages sync on their own. Sync now pulls them in right away.
To take tufu out of your workspace, a team admin presses Disconnect on the same page. tufu leaves the workspace and its access there is revoked; what it imported from your channels stays in tufu. If someone removes the app in Slack instead, tufu shows Slack as not connected, and deleting your team removes tufu from the workspace too.
Handoffs in a Slack channel#
Once Slack is connected, under Settings → Support, in the Slack section (before that, the section says Slack isn't connected and offers Connect Slack):
- Handoff channel ID: the channel the cards go to, like
C0123456789. In Slack, open the channel's details; the ID is at the bottom. - Who the handoff card mentions: nobody,
@here(active members, the default), or@channel(everyone in the channel).
If the channel is private, invite the bot there first by typing /invite @tufu in the channel.
Replying from Slack#
The card's thread is the conversation. Reply in the thread and the visitor sees it; the visitor's messages show up in the thread too. Reminders and follow-ups go in the same thread.
The card's buttons:
- Send suggested reply, when there is one;
- I've got it, to take the conversation without replying yet;
- Resolve and Back to bot;
- Open in tufu.
To reply from Slack, the email on your Slack profile must be the email you sign in to tufu with. Otherwise tufu can't tell it's you, and your message isn't sent to the visitor.
The commands work in the thread too, saved replies included, but start them with a space
(/resolve, /refund, // note): Slack treats anything starting with / as one of its own commands. Or use the
buttons. A saved reply sent from the thread shows there with what it said.
Your bot in Slack#
Once Slack is connected, each bot's settings have three switches: answer mentions in public channels, mentions in private channels, and direct messages. Your default bot is the one that answers in Slack.
Each reply the bot writes in a Slack thread counts toward your plan, the same as a reply in a chat (how many answers).
Learning from Slack#
Add a Slack knowledge source (see Adding knowledge) and tufu learns from the threads in the public channels it can see: the questions people asked and the answers they got. Private channels, direct messages and the threads where a person took over a conversation are never used as knowledge. Give it a low boost if your docs should win over old threads.