You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何无需开发代理应用,将Watson Conversation部署到Slack构建客服机器人?

Hey there! Great question—since you don’t want to build and host a custom proxy app to connect Watson Conversation (now officially called Watson Assistant) to Slack, you can leverage the native Slack integration built right into Watson Assistant. No code or hosting required—perfect for your use case. Here’s how to set it up step by step:

Step 1: Prepare Your Slack App & Workspace
  • First, you’ll need admin (or app creation) access to your Slack workspace. Go to the Slack API portal, create a new app, and name it something relevant like "Support Help Bot".
  • Under "Add features and functionality", enable Bot Users and set a friendly display name/username (e.g., support-assistant).
  • Navigate to "OAuth & Permissions" and add these scopes under "Bot Token Scopes" to give your bot the right access:
    • channels:history (to read messages in public support channels)
    • groups:history (if you need the bot in private support channels)
    • chat:write (to send responses as the bot)
    • users:read (to identify users reaching out for support)
  • Install the app to your workspace, then copy the Bot User OAuth Token—you’ll need this for the Watson side.
  • Log into your Watson Assistant instance and open the support skill you’ve already designed.
  • Go to the Integrations tab in the left sidebar, then select Slack from the list of available integrations.
  • Paste the Bot Token you copied from Slack into the designated field.
  • Next, set up the Slack webhook:
    • Copy the Webhook URL provided in the Watson Assistant Slack integration setup.
    • Go back to your Slack app’s settings, navigate to "Event Subscriptions", toggle it on, and paste the Watson webhook URL into the "Request URL" field. Slack will send a verification request—Watson handles this automatically, so just wait for the green checkmark to confirm.
    • Under "Subscribe to bot events", add these events to let the bot receive messages:
      • message.channels (for public channels)
      • message.groups (for private channels)
      • message.im (for direct messages with users)
  • Save your changes in Slack, then return to Watson Assistant and click "Connect" to finalize the integration.
Step 3: Deploy & Test the Bot in Your Slack Channel
  • In your target Slack support channel, invite the bot using /invite @your-bot-username.
  • Send a test message that matches one of your Watson Conversation intents (e.g., "How do I reset my password?")—you should get a response from the bot immediately.
  • If you need to refine the bot’s responses or conversation flow, just edit your Watson Assistant skill—changes sync automatically to the Slack integration, no redeployment needed.
Bonus Pro Tips
  • Use context variables in Watson Assistant to track details like user IDs or ongoing issue topics across the conversation, making support interactions more seamless.
  • Restrict the bot to specific channels by adding channel ID filters in the Watson Assistant integration settings—this prevents it from responding in unrelated channels.
  • Debug any issues using the Logs tab in Watson Assistant, where you can see incoming messages from Slack and how your skill processes them to fix missed intents or response gaps.

内容的提问来源于stack exchange,提问作者pronoob

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 08:53:17