Slack
A guide on how to integrate Wonderchat with Slack to allow your team members to chat with your Wonderbot.
Required tools:
Zapier
A slack account
A dedicated channel for conversations with your Wonderchat bot
Visit our slack template here:
Wonderchat on Slack Integration
Overview of our Slack Integration Template:
The Slack Integration template consists of three key steps to follow.
Step 1: New message posted to channel in Slack
To set up your Wonderchat Bot on Zapier, you would need to open our slack integration template
Sign in with your slack account to create your first event.
We recommend that you choose the trigger event to be a message posted to your channel
Connect your account to slack
Select the channel in which you want to dedicate to hosting your Wonderchat bot
In this example, we have selected our channel as Wonderchat-zapier
Test the trigger
Step 2: Ask Question in Wonderchat
Select the App & Event as “Wonderchat”
The required event should be set as “Ask Question”
Under the “Account” Tab, you would be asked to enter your API keys
Go to https://app.wonderchat.io/settings to fetch your API keys
Within the “Action” section, select “text” as the question field and enter your chatlog ID
The “question” field should be selected as ‘text’
Fetch your Chatbot ID by opening your chatbot “chat” page and copying the part of the link behind “chatbot/”
For instance if your app is https://app.wonderchat.io/chatbot/chsdhfasfjdfda1283cas
The “chsdhfasfjdfda1283cas” part of the link would be your chatbot ID.
Leave the “Chatlog ID” field blank
Test the action to make sure it works inside your slack channel
Step 3: Send Channel Message in Slack
The App and Event should be shown as “Slack”
Event should be shown as “Send Channel Message”
Make sure your Account is connected as the one used to make the channel
The “Action” fields should be filled in as the follows:
Channel: must be selected as the name of channel you wish for your bot to reside in
Message text: Under the “Ask question in Wonderchat” dropdown, select “Response”
Send as Bot: Yes (This is recommended, as the message would otherwise come under your user on Slack)
Bot Name: Enter the name of your chatbot
Bot Icon: Share a link to the profile picture of your chatbot
Include a link to this Zap: No (Recommended to prevent link crowding)
Attach Image by URL: (Leave Blank)
Auto-expand links: No (Unless you want your links to always show thumbnail)
Link Usernames and Channel Names: Yes
For the rest of the settings, you do not have to fill up unless you prefer to customize them to your use case. Note that we are only providing a recommended way of using Wonderchat on Slack and you are free to improvise.
You’re all ready to go, hit “publish” to set-up your Zap! You’re ready to use your Wonderchat bot on Slack