Slack (via Zapier)

Guide on How to Integrate Wonderchat with Slack via Zapier.

By integrating Wonderchat with Slack, it allows your team members to chat with your Wonderbot.

Required tools:

  • Zapier

  • A Slack account

  • A dedicated channel for conversations with your Wonderchat bot

View our Slack template here:


Overview of our Slack Integration Template

The Slack Integration Template consists of three key steps to follow:

Steps for Slack Integration

Setting Up in Slack

Step 1: Open Wonderchat's Slack Template on Zapier

  1. To set up your Wonderchat Bot on Zapier, you would need to open our ↗ Slack Integration Template

  2. Sign in with your Slack account to create your first event.

Step 2: Choose Trigger Event for Slack

We recommend selecting 'New Message Posted to Channel' as the trigger event for messages in your chosen Slack channel.

Select "New Message Posted to Channel"

Step 3: Sign in to Slack to continue

Sign in and Connect Slack

Step 4: Select the Slack Channel for Hosting Your Wonderchat Bot

In this example, we have selected our channel as "Wonderchat-Zapier"

Choose your channel

Step 5: Test the Trigger

Click "Test Trigger"

Asking Questions in Wonderchat

Step 1: Under App & Event, select 'Wonderchat'

Select 'Wonderchat' as app

Step 2: Under Action event, select 'Ask Question'

Select "Ask Question"

Step 3: In a separate tab, retrieve your API Keys from ↗ Wonderchat

How to Retrieve API Keys from Wonderchat

  • From the left-panel on the Wonderchat App, go to Settings > API Keys > "Generate API Key"

  • Click the 'Show' icon, and copy the API Key generated

Copy the API Key generated

Step 4: Go back to Zapier app, sign in under 'Account'

Click 'Sign in'

Step 5: In the sign in pop-up window, paste your API Key

Paste the API Key and continue
Click continue

Step 6: Under Questions, select 'Text' option

Choose 'text'

Step 7: In the separate tab, retrieve your Wonderchat's Chatbot ID

How to retrieve Chatbot ID

  • Go to Dashboard > Actions (⋮) > "View Chatbot"

  • Your Chatbot ID can be found at the end of your chatbot URL

For example, your chatbot url is: https://app.wonderchat.io/chatbot/cm0w2lbcf0fyienmkv56pepde

Your Chatbot ID is therefore:

"cm0w2lbcf0fyienmkv56pepde"

Step 8: Paste your Chatbot ID

Click continue

Step 9: Leave 'Chatlog ID' field blank. Press 'Continue'.

Step 10: Test the Action to Ensure It Works in Your Slack Channel

Click 'Test step'
Click 'Continue'

Sending Channel Message in Slack

Step 1: Select 'Slack' as app

Choose 'Slack' as app

Step 2: Under Event, select "Send Channel Message"

Select 'Send Channel Message'
Description for 'Send Channel Message'

Step 3: Select your Slack account

Ensure the account connected is the same one used to create the channel.

Connect Slack account and continue

Step 4: Configure Settings

Channel

  • Please selected as the name of channel you wish for your bot to reside in

Message Text

  • Under 'Ask Questions from Wonderchat' dropdown, choose 'Response'

Click on '+' > Under '2. Ask Question' > Select 'Response'

Send as a bot

  • Please select 'YES' for this option.

Select 'Yes'

Bot Name

  • Enter name of your chatbot, e.g. 'Wonderchat'

Enter name of your chatbot

Bot Icon

  • Share a link to the profile picture of your chatbot, e.g. from Google Drive

Enter the link of your picture
  • Please select 'NO' for this option

  • Recommended to turn off to prevent link crowding

Select 'No' (Recommended Setting)

Attach Image by URL

  • Please leave this field blank

Leave this field blank
  • Please select 'NO' for this option

  • Recommended to turn off, unless you would like to show links as thumbnails

Select 'No' (Recommended Setting)
  • Please select 'YES' for this option

Select 'Yes'

Schedule At / File / Thread / Send Channel Message

  • These fields are optional, and don’t need to be filled in unless you want to customize them for your specific needs.

  • We’re offering a recommended setup for using Wonderchat on Slack, but you’re free to modify it as you see fit.

Step 5: Test your Zap

You can select 'Test Step' to see how your configurations would turn out.

Click 'Test step' to try out configurations
Sample of Channel Message Sent
Sample of chatbot reply

Step 6: Publish your Zap

Click 'Publish'

You’re all ready to go, hit “publish” to set-up your Zap! You’re now ready to use your Wonderchat bot on Slack.


If you have any more questions, feel free to reach out to us at [email protected]

Last updated

Was this helpful?