UCal
  • Welcome
  • 🚀Getting Started
    • Quick Start
      • What is IS-Messenger?
      • Setting Up an Account
      • Connecting Channels
      • Inviting Your Teammates
      • Getting Contacts to Message You
      • Automated Welcome and Away Messages
      • Responding to Messages
      • Glossary of Terms
    • Connecting a Channel
    • Invite your teammates
    • Getting Contacts to Message You
    • Automated Welcome and Away Messages
    • Responding to messages
    • Glossary of Terms
    • Creating a Chatbot
  • ⚙️Workspace Modules
    • Dashboard
    • Inbox
      • Inbox Overview
      • Assignment and closing a conversations
      • Custom Inboxes
      • Interacting with Respond AI Prompts
      • Using AI Assist
    • Contacts
      • Contact Details
      • Contacts Overview
      • Merge Suggestions
      • Contact Activity
      • Contact Channels
      • Contact Import
      • Segments
    • Broadcast
      • Broadcast Overview
      • Managing Broadcasts
    • Workflow
      • Triggers
      • Workflow Step
        • Step: Send a Message
        • Step: Ask a Question
        • Step: Assign To
        • Step: Branch
        • Step: Update Contact Tag
        • Step: Update Contact Field
        • Step: Open Conversation
        • Step: Close Conversation
        • Step: Add Comment
        • Step: Jump To
        • Step: Wait
        • Step: Date & Time
        • Step: HTTP Request
        • Step: Trigger Another Workflow
        • Step: Add Google Sheets Row
        • Step: AI Agent
      • Workflow Templates
    • Reports
      • Reports: Conversations
      • Reports: Responses
      • Reports: Resolutions
      • Reports: Messages
      • Reports: Contacts
      • Reports: Assignments
      • Reports: Leaderboard
      • Reports: Users
      • Reports: Broadcasts
  • ⚙️Workspace Setting
    • Managing a Workspace
    • General
    • Users
      • Access Levels
    • Teams
    • Channels
      • Chat Menus
    • Contact Fields
    • Growth Widgets
      • Website Chat Widget Quick Start
      • Website Chat Widget Overview
      • Workspace Settings: Growth Widgets
      • Install Website Chat Widget on Squarespace
      • Install Website Chat Widget on Joomla
      • Install Website Chat Widget on Wix
      • Install Website Chat Widget on Shopify
      • Install Website Chat Widget on WordPress
      • How to Track Conversation Source from Multiple Websites
    • Respond AI
    • Integrations
      • Dialogflow
        • Dialogflow: Connecting to Dialogflow
        • Dialogflow: Creating a Chatbot
        • Dialogflow : Managing Intents
        • Dialogflow: Parameters
        • Dialogflow: Events
        • Dialogflow: Response Templates
        • Dialogflow: Custom Payloads
        • Dialogflow: Fulfillment Webhook Request
      • E-Commerce & CRM Integrations
        • E-Commerce Integration: Shopify
        • E-Commerce Integration: BigCommerce
        • E-Commerce Integration: WooCommerce
        • E-Commerce Integration: Magento
        • CRM Integration: HubSpot
        • CRM Integration: Salesforce
        • CRM Integration: Pipedrive
        • CRM Integration: ActiveCampaign
      • Zapier
      • Developer API
      • Webhooks
      • Make (formerly Integromat)
    • Closing Notes
    • Snippets
    • Files
    • Data Export
    • Data Import
  • ⚙️User Account
  • Profile
  • User Activity Status
  • Notifications
  • Resetting your Passwords
  • 👨‍👧‍👦CONTACT AND MESSAGES
    • Dynamic Variables
      • Dynamic Variables Overview
      • How to Use Dynamic Variables
    • Contact Search and Custom Inbox
    • Conversations
  • ⚙️MESSAGING CHANNELS
    • Channel Overview
    • Facebook Messenger
      • Facebook Messenger Quick Start
      • Facebook Chat Plugin
      • Private Replies
      • Message Tag
    • Instagram
      • Instagram Overview
      • Instagram Quick Start
    • WhatsApp
      • WhatsApp Business API Quick Start
      • Getting Ready for Inbound Conversations
      • Getting Ready for Promotional Messaging
      • WhatsApp Official Business Account (Green Tick)
      • Grow your WhatsApp Audience by Maximizing Entry Points
      • Get WhatsApp API Account for Government Agencies
      • Meta Business Verification
      • WhatsApp Message Templates
      • WhatsApp Pricing
      • WhatsApp Business Platform (API) Channel Configuration
      • WhatsApp Messaging Limits
      • Meta Product Catalog
      • Change Your WhatsApp Business Display Name
      • Phone Number Migration to IS-Messenger WhatsApp Business API
      • Turn-off WhatsApp Number Two-Step Verification
      • WhatsApp Cloud API
        • Migrating from On-Premises API to Cloud API
        • Migrating from Cloud API to On-Premises API
        • Set up the WhatsApp Echo Bot
        • Load Testing on Cloud API
        • Experiments
        • Webhooks Setup
      • 360Dialog WhatsApp
      • Twillio WhatsApp
      • MessageBird WhatsApp
      • Vonage WhatsApp
      • Phone Number Migration to WhatsApp Cloud API
    • Website Chat Widget
      • Install on WordPress
      • Install on Shopify
      • Install on Wix
      • Install on Squarespace
      • Install Website Chat Widget on Joomla
    • LINE
      • LINE Overview
      • LINE Quick Start
    • Telegram
      • Telegram Overview
      • Telegram Quick Start
    • Viber
      • Viber Overview
      • Viber Quick Start
    • SMS Overview
      • Twilio SMS Quick Start
        • Importing Contacts to Twilio SMS
      • MessageBird SMS Quick Start
      • Vonage SMS Quick Start
    • Twitter Overview
      • Twitter Quick Start
    • WeChat
      • WeChat Overview
      • WeChat Quick Start
    • Google Business Message
    • Email
      • Google Workspace Quick Start
      • Other Email
    • Custom Channel
      • Custom Channel Overview
      • Custom Channel Quick Start
  • New Release Update
  • Support Use Cases
    • How to Identify Contacts by Email and Phone NumberI
    • How to Enrich Customer Data from a CRM or other Business Software
    • How to Route Customers to the Right Team Automatically
    • How to Auto-Assign Customers to a Team or Dedicated Agent
    • How to Send Outbound Support Messages
    • Support: Closing Conversations
    • How to Supervise Your Support Agents
    • How to Analyze Reports for Support
    • How to Send CSAT to Customer and Save Data in Google Sheets or CRMs
  • Handling Inbound Conversations
    • Managing Spam
    • Create Automated Welcome and Away Messages
    • Get Contacts’ Consent for Personal Data Collection
    • Create Automated Chat Menus
    • Collect Contacts’ Emails and Phone Numbers
    • Route Contacts by Shifts
    • Route Contacts by Team Functions
    • Route New & Returning Contacts
    • Route VIP Contacts
    • Assignment Strategy: Automatic Contact Distribution & Load Balancing
    • Assignment Strategy: Unassign Agents after Conversations Closed
  • Capture Conversations
    • How to Streamline Meeting Scheduling via CTC Ads
    • How to Automate Product Info Sharing in Conversations Initiated via CTC Ads
    • How to Track Conversation Source from Multiple Websites
    • How to Route Contacts from CTC Ads to Agents
  • Automate Conversations
    • How to Maximize Customer Service Potential with AI Agent
    • How to Automate Contact Information Collection with AI
    • How to Route Contacts to Preferred AI Agent
    • How to Automatically Qualify Contacts Based on Budget Using AI Agent
    • How to Route Contacts by their Preferred Language
    • How to Create Automated Chat Menus
    • Assignment Strategy: How to Automate Contact Distribution & Load Balancing
    • Assignment Strategy: Unassign Agents after Conversations Closed
    • How to Create Automated Welcome and Away Messages
    • How to Block Contacts and Manage Spam
    • How to Route New and Returning Contacts
    • How to Collect Contacts’ Emails and Phone Numbers
    • How to Route New and Returning Contacts
    • How to Route Contacts by Team Functions
    • How to Route Contacts by Shifts
    • How to Get Contacts’ Consent for Personal Data Collection
    • How to Route VIP Contacts
  • How to Promptly Transfer Conversation Between Agents
  • How to Guide Customers from Exploration to Purchase with Engaging Menus
  • How to Optimize Customer Onboarding with Automated & Customized Welcome Messages
  • Converse with Customers
    • How to Get a Complete View of the Customers
    • How to Simplify Customer Escalation with Automation
    • How to Transfer Contacts to the Next Shift Automatically
    • How to Optimize Agents’ Productivity in the Messages Module
    • How to Align AI Conversations with Your Brand Voice
    • How to Draft Customer Replies with AI
    • How to Convert Image to Text Using AI
    • How Automate Calculations Using AI
  • Broadcasts Use Cases
    • How to Sending a Simple Broadcast
    • How to Start a Workflow Based on Broadcast Response
    • How to Import to Broadcast via WhatsApp
    • How to Troubleshoot a Failed Broadcast
  • Sales Use Cases
    • How to Collect Leads' Email and Phone Number
    • How to Enrich Contact Data and Qualify Leads
    • How to Route Leads
    • How to Auto-Assign Leads to Sales Agents
    • How to Send Outbound Sales Messages
    • How to Track Productivity by Closing Conversations
    • How to Supervise Sales Agents
    • How to Analyze Reports for Sales
  • Accessing Help Menu
Powered by GitBook
On this page
  • Branches
  • Configuration
  • AI Agent Builder
  • How It Works
  • Best Practices
  • Suggested Use Cases
  • FAQ and Troubleshooting
  1. Workspace Modules
  2. Workflow
  3. Workflow Step

Step: AI Agent

PreviousStep: Add Google Sheets RowNextWorkflow Templates

Last updated 11 months ago

In a Workflow, the AI Agent Step automatically transfers the conversation to the Respond AI’s chatbot, AI Agent. The AI Agent interacts with the Contact without human intervention until the conversation concludes.

Branches

Every AI Agent Step has the following five branches:

  • Success (default, cannot be removed)

  • Failure: Idle

  • Failure: Speak to Human

  • Failure: AI Can’t Answer

  • Failure: Others (default, cannot be removed)

The Contact journeys into one of these branches depending on the conditions met by the Step:

Branch Name

Description

Configuration

Success

The condition for this branch is determined by the option selected in the Objective field.

  • For the Collect Information objective, i.e., the AI Agent collects specific information from the Contact, the condition for this branch is fulfilled after all the information has been collected successfully.

Enabled by default for all AI Agent Steps and cannot be removed.

Failure: Speak to a Human

This branch handles the situation when the Contact requests to speak to a human agent.

Enabled by selecting the Contact Asks To Speak To A Human toggle for all AI Agent Steps.

Failure: AI Unable to Answer

This branch handles the situation when the AI Agent cannot answer a question for any reason.

Enabled by selecting the Failure: AI Unable To Answer toggle for the Answer Questions objective.

Failure: Others

This branch handles the situation when a technical failure occurs, e.g., the Channel is disconnected, Respond AI credits run out, etc.

Enabled by default for all AI Agent Steps and cannot be removed.

Failure: Idle

This branch handles the situation when the contact has not responded for 60 minutes (the default/max value). You can decrease this limit if required

Enabled by selecting the Add Contact Idle Branch toggle for all AI Agent Steps.

Configuration

In this Step, configure the following fields:

Field Name

Description

Launch AI Agent Builder

Click to chat with AI to configure your objective for the AI Agent.

Objective

Select one of the following two Objectives:

  • Answer Questions: Use this objective when you want the AI Agent to answer all incoming questions while referring to the assigned Knowledge Source. This Objective is highly suitable for FAQs and low-effort conversations.

  • Collect Information: Use this objective when you want the AI Agent to ask specific questions and save the responses as variables. This Objective is highly suitable for data collection, updating Contact fields, qualifying leads, and updating Third-party apps.

AI Persona

Provide a description of how the AI Agent should communicate i.e., the personality of your AI Agent, by defining the distinct characteristics you want your AI Agent to have.

Collect Information Objective

Variable Configuration

Expand the toggle to manage the variables used to gather information from the Contact.

Required

The toggle is enabled by default and indicates that the field is mandatory i.e., the AI Agent must ask the Contact for this information.

Variable name

Enter the variable name. You can use this variable in other steps of the Workflow following this Step.

For example, you asked the Contact a qualifying question such as their age and save the information as a variable called contact_age. After this AI Agent Step, you can use this variable in any other Step of the Workflow after this Step. When adding a variable, you can view the list of variables within the Workflow, by entering the $ sign and selected the desired variable.

Variable type

Select the variable type from the dropdown list.

Variable description

Provide a brief description of the variable. This gives the AI Agent an insight into what the variable is used for. You can also define any rules that you want to imply to the variables, e.g., the phone number should start with +601 and should either be 11 or 12 digit long without the considering the + sign a digit.

Add Another Variable

Click this button to add another variable

Answer Questions Objective

Suggest New Objectives

Click the link to suggest other objectives that suit your business needs. You are directed to a Feature Request on Canny, where you can upvote the request and provide the objective in the comments section.

Knowledge Source

Select an existing Knowledge Source AI uses to answer the Contact’s queries. These Knowledge Sources can either be added from the Add Knowledge Source proceeding this field or from Settings > Respond AI > AI Agent tab, selecting Manage Knowledge Source button.

Add Knowledge Source

Reply outside of added Knowledge Source

Enable this toggle by sliding it to the right. Once enabled, AI may also respond using external sources of information, i.e., ChatGPT.

Use Snippets as a Knowledge Source

Enable the toggle by sliding it to the right. Once enabled, AI can use your snippets as a knowledge source to draft responses to your conversations.

Advanced Setting

Add Contact Idle Branch

Enable the toggle by sliding it to the right. Once enabled, the conversation is automatically closed if it remains idle for a maximum of 15 minutes. You can alter the value if required.

AI Agent You can use both Objectives in one workflow using different AI Agent Steps

AI Agent Builder

You can chat with AI using the AI Agent Builder to simplify the process of creating an AI Agent. Using AI Agent Builder, you can chat with AI to figure out and select the objective that suits your requirements. The AI asks you more questions after the Objective has been set to configure the Objective.

A preview of the AI Agent, along with the variable settings including which fields are mandatory is displayed, if you are satisfied with the settings, click Proceed to continue. You can change the AI Agent configurations later as well.

How It Works

Always close conversations properly for optimal performance. Improperly closed conversations confuse the AI Agent, leading to inaccurate context understanding and undesired outcomes

You can understand the AI Agent’s behavior by clicking the Show AI Instructions button. The button opens a dialog explaining the expected behavior of the AI Agent as configured by you.

In the Messages module, you can recognize a conversation between AI and a Contact by the icons.

Best Practices

Here are some best practices for this Step you can follow to optimize your Workflow:

  • Adopting a focused approach while selecting the Knowledge Sources for your AI Agent Step is the key to good responses from AI. AI does not respond well when a broad spectrum of information is provided for reference.

  • While creating workflows featuring multiple AI Agent Steps, ensure the Contact is engaged in talks with more than one AI at no point.

  • You should enable the Add Contact Idle Branch toggle so that the conversation is automatically closed after it has been left idle for the specified time (maximum 15 min). The conversation can be opened again when the Contact sends a message.

Suggested Use Cases

Here are some ways you can use the Branch Step:

  • Maximise Customer Service Potential with AI Agent: The AI Agent enables businesses to engage with customers instantly by providing quick responses to low-level conversations involving basic product information (e.g., FAQ’s), policies (e.g., return policy), basic troubleshooting steps for common technical issues or errors, etc. By taking over such routine conversations, the AI Agents free up human agents for more complex conversations and tasks.

FAQ and Troubleshooting

Can my workflow have more than one AI Agents Steps?

Yes, your workflows can include more than one AI Agents Steps, and each Step can have its own set of knowledge sources and other configurations that define how AI responds to the Contact.

Is AI Agent Step available on my plan?

Yes, this Step is available for every pricing plan on our platform.

For the Answer Questions objective, i.e., the AI Agent answers incoming questions using the added , the condition for this branch is fulfilled after all questions from the Contact are successfully answered.

For example, create a background of the persona by identifying the purpose/role it has in a conversation, define the personality (skillset, speaking style, etc.) and any other qualities that help Respond AI craft the behavior of AI Assist. However, a default persona has been provided for convenience which adheres to professional yet courteous conduct. Design the AI Assist persona carefully so that it can draft responses that best suit your business requirements. Learn more

Add a new from here if the existing knowledge sources do not meet your requirements. It is recommended that the Knowledge Sources be focused on one subject for better responses and response time.

With the AI Agent Step, the workflow automatically enables to respond to the Contact’s queries. The AI Agent Step configurations define the kind of responses AI Agent generates. The Knowledge Source, Snippets, and ability to reply outside of the Knowledge Sources determine the quality of the responses. The conversation continues until the Contact’s queries are satisfied.

You can only view a conversation between AI and Contact on the Messages module and currently cannot intervene in the conversation. However, you can and take over the conversation if necessary.

⚙️
AI Agent
stop the workflow
Knowledge Sources
here
Knowledge Source
Icon for AI Agent in a conversation
AI Agent Branches
AI Agent interacting with Contact