wordpress/chatbot/Live Agent Handoff

Live Agent Handoff

When the AI chatbot encounters questions it can't answer or detects customer frustration, it can seamlessly hand off the conversation to a human agent.

Navigate to Intufind → Chatbot → Live Agent to configure.

How It Works

  1. Customer requests human help (or AI detects need)
  2. Conversation is forwarded to your support platform (e.g., Slack)
  3. Agent responds through the platform
  4. Messages appear in the chatbot widget in real-time

Provider Selection

Choose which platform to use for live agent conversations:

ProviderAvailabilityNotes
SlackAvailableFree with existing workspace
WhatsAppComing Soon
ZendeskComing Soon

Live Agent Provider Screenshot: wp-live-agent-provider.png

Slack Setup

Easy Setup (Recommended)

The fastest way to connect Slack:

  1. Go to Intufind → Chatbot → Live Agent
  2. Select Slack as your provider
  3. Click the Add to Slack button
  4. Authorize Intufind in your Slack workspace
  5. Configure which channel to use for support

Slack Easy Setup Screenshot: wp-live-agent-slack.png

Channel Configuration

After connecting via OAuth:

  1. Create a support channel in Slack (e.g., #customer-support)
  2. Add the Intufind app to the channel:
    • Right-click the channel → View channel details
    • Go to IntegrationsAdd Apps
    • Select Intufind
  3. Find the Channel ID:
    • Still in channel details, scroll to the bottom
    • Copy the Channel ID (starts with C)
  4. Paste the Channel ID in the configuration

Advanced: Manual Configuration

For custom Slack apps (advanced users only):

  1. Go to api.slack.com/apps and create a new app
  2. Add bot scopes: chat:write, channels:read, users:read
  3. Install app to workspace and copy the Bot Token
  4. Enable Event Subscriptions with your webhook URL
  5. Create a support channel and invite your bot
  6. Enter credentials in Intufind:
    • Bot User OAuth Token (starts with xoxb-)
    • Channel ID (starts with C)
    • Signing Secret (from App Credentials)

Behavior Settings

Once your provider is configured, customize handoff behavior:

Live Agent Behavior Screenshot: wp-live-agent-behavior.png

Enable Live Agent

Default: Off (until configured)

Master toggle for the live agent feature. Must configure credentials first.

AI-Suggested Handoff

Default: On

Allow the AI to suggest handoff when it detects:

  • Customer frustration
  • Complex issues it can't resolve
  • Repeated questions indicating confusion

Custom Escalation Criteria

Define specific situations when the AI should escalate to a live agent.

Default (with AI Order Support enabled):

"Escalate requests that require human judgment, empathy, or actions the AI cannot perform (e.g., refunds, cancellations, account closures, complex policy exceptions, sensitive customer situations)."

Default (without AI Order Support):

"Always escalate: order inquiries, refunds, cancellations, order disputes, billing issues, account problems, or any request requiring system access the AI cannot provide."

Tip: If AI Order Support is enabled (see WooCommerce Integration), the AI can look up orders automatically, so escalation criteria should focus on actions the AI can't perform rather than information lookups.

Manual Handoff Button

Default: On

Show a "Talk to a Human" button in the chat interface, allowing customers to request human help at any time.

Business Hours

Default: Empty

Display your support hours when agents are unavailable.

Example: "Mon-Fri 9am-5pm EST"

When a customer requests handoff outside business hours, this message is shown.

Inactivity Timeout

Options: 1 min, 5 min, 10 min (recommended), 15 min, 30 min, 60 min Default: 10 minutes

Automatically end the live agent session after this period of inactivity. Returns conversation to AI mode.

Disconnecting

To remove Slack integration:

  1. Go to Intufind → Chatbot → Live Agent
  2. Scroll to Disconnect Slack
  3. Click Disconnect Slack
  4. Confirm the action

This removes all OAuth credentials and channel configuration.

Troubleshooting

Messages not appearing in Slack

  1. Verify the Intufind app is added to the support channel
  2. Check the Channel ID is correct
  3. Test by sending a message in the chat widget

Agent responses not appearing in widget

  1. Ensure your agent is replying in the correct thread
  2. Check the Intufind app has proper permissions
  3. Review Status page for API errors

Handoff button not showing

  1. Verify Manual Handoff Button is enabled
  2. Ensure Enable Live Agent is on
  3. Check that credentials are configured (status should show "Configured")

Next Steps