ReplyCX Documentation
Login
  • ⛩️Welcome to ReplyCX Knowledge Base! 📚
    • ReplyCX Basics
  • ▶️GETTING STARTED
    • Building a Chatbot
    • Testing a Chatbot
    • Channel Configurations
    • Deploying a Chatbot
    • Utility Tools
  • 🧩ACTION BLOCKS
    • Overview
    • Trigger
    • Send Message
    • Collect Input
    • Buttons
    • Carousel
    • Calendar
    • Send an Email
    • Condition
    • Image Carousel
    • Human Handover
    • Slider
    • Collect File
    • Delay
    • Form
    • Flow
    • Code-block
    • Options
    • Jump
    • List
    • Reply Button
    • AI Model
    • SET AI
    • Answer AI
    • AI AGENT
    • Webhook
    • Javascript
    • Send Status
    • Http Request
    • Dynamic data
    • Whatsapp flow
  • 🦾AI Studio
    • Building a GPT Chatbot
    • Knowledge Base
    • Training on historical live chat to generate response
    • Retrain frequency for URL data source
    • Custom Answers
    • Function Call
    • Prompts
    • Tokens
    • Setting up retrain
    • Advanced Crawling Criteria
  • ⛓️Integrations
    • Types of Integrations
    • Service Call
    • Google Sheets
      • Support for “Update Record” in Google Sheets
    • Codeblock
    • Google Calendar
    • Calendly
    • Zoho CRM
    • Hubspot
    • Dialog Flow
    • Events
    • Google Analytics
    • Freshdesk
    • Salesforce
    • Zapier
    • Airtable
    • Public API's
  • 🟢WhatsApp Business API
    • Prerequisites
    • WhatsApp Business API - Meta
    • Using a test WhatsApp Business API account
    • Product catalog on WhatsApp
    • Sync WhatsApp Template
    • Support for Carousel template message
  • Instagram
    • Using the Instagram Channel
  • 💬Live Chat
    • Overview
    • Saved Replies
    • Manage Saved Replies
    • Message status on live chat
    • Generating Response Using AI.
    • Rewriting existing response with AI
    • Labels
    • Managing Labels
    • Qualification details covered during a conversation
    • Settings
    • Filter conversations
    • Conversation History
    • Close a conversation
    • Related / Past Conversations
    • Elements on conversation card
    • Kind of Conversation Status
    • Copy Chat Transcript of a Conversation
    • Customize Live Chat Screen
    • Restart Conversation
    • Blocking Contacts
    • Agent status on live chat
  • ⚙️Troubleshooting
    • Variable Manager
    • Fallback Variables
    • Human Handover Configuration
    • Clone a bot
    • Preffered Image Dimensions
    • Working of Link Tracking
    • Setting up variables using trigger block
    • Availability of agents in Human Handover
    • Creating loop in the conversational flow
    • Requesting Edit Access
    • Cookies
  • 📢Outbound Bots
    • Outbound Action Blocks
      • Delay
      • Send WhatsApp
      • Send SMS
      • Send Email
    • Building a One-Off Campaign
    • Building a Ongoing Campaign
    • Creating WhatsApp Templates
  • 📱Chat Widget Customization
    • Embedding Chat Widgets
    • Customize Chat Widget UI using CSS
    • Display Chat Widget in iFrame
    • Change Appearance
    • Chat widget 3.0
  • 🏦Account Management
    • Manage Teams
    • Manage Teammates
    • Manage Roles
      • Channel configuration Permission
    • Opt Out Management
  • 📊Reporting
    • Custom Reports
    • Contacts Feature Recap
    • Scheduling Contact Report
    • Weekly Reports and Interactions
    • Export a contact list
    • Tracking link clicks on chatbot messages
  • 🧑‍💻 Support
    • Forget Password
Powered by GitBook
On this page
  • Prompt:
  • Function:
  • Path:
  • Path Examples:
  • LLM Settings:

Was this helpful?

  1. ACTION BLOCKS

AI AGENT

Executes your AI agent using prompts and functions to produce a response.

PreviousAnswer AINextWebhook

Last updated 2 days ago

Was this helpful?

ReplyCX's "Agent" action block is its most powerful feature for building intelligent, conversational AI agents. This guide will walk you through how to leverage it to handle complex user interactions, access knowledge bases, follow custom logic flows, and execute functions—all within a single, streamlined step.

The Agent block in ReplyCX empowers you to:

  • Provide intelligent, context-aware responses to user queries

  • Retrieve relevant information from connected knowledge bases

  • Navigate dynamic conversation flows based on user intent

  • Run backend functions to interact with external systems and services

To Use AI Agent block, go to Bot builder and in blocks select AI Agent block.

When using an "Agent" step, we need to configure the following:

Prompt:

Crafting effective prompts is essential for developing a high-performing AI agent. The prompt we provide serves as the agent’s “brain,” influencing how it interacts with users in various scenarios.

Here’s what defines a well-crafted prompt:

  • Clear Instructions: Clearly state the agent’s role and expected behaviour in different situations.

  • Defined Personality: Establish the tone, level of formality, and communication style the agent should use.

  • Knowledge Boundaries: Specify what information the agent should rely on and when to reference external data.

  • Context Awareness: Offer guidance on handling sensitive topics and when to escalate the conversation to a human agent.

Effective prompting keeps our agent focused—ensuring it knows what to prioritize, when to access the knowledge base, and how to maintain consistent responses. Taking the time to write clear, detailed instructions enhances both performance and simplifies your overall conversation flow.

Function:

Functions enable your agent to interact with external services to fetch or update data seamlessly.

You can either select an existing function from the dropdown menu or create a new one by going to AI Studio > Functions.

Path:

Paths help your agent manage targeted conversation flows and respond with the right actions at the right time.

Here’s what Paths make possible:

  • Automatic Routing: The agent detects user intent and seamlessly guides the conversation down the appropriate path.

  • Data Collection: Define specific variables that must be captured before a path can be activated.

  • Natural Flow: Paths integrate naturally into the dialogue, eliminating the need for users to give precise commands.

To set up a Path:

  1. Open the Agent step editor.

  2. Click “Add Path” and assign it a clear, descriptive name.

  3. Write a short description explaining when this path should be triggered.

  4. (Optional) Specify any required variables that must be collected before activation.

  5. Link the path to the appropriate next steps in your chatbot flow.

Path Examples:

Human Handoff Path

  • Path Name: Transfer to Human Agent

  • Description: Activate this path when the user clearly requests to speak with a real person. Common triggers include phrases like “I want to talk to a human,” “Can I speak to an agent?” or “I need help from a real person.”

  • Required Variable: None

  • LLM Description: This path enables the AI agent to transfer the conversation to a human representative. Ensure the system accurately detects requests for human assistance and initiates the handoff promptly.

LLM Settings:

The LLM Settings section allows you to customize how the language model behaves:

  • AI Model: Choose which AI model (e.g., GPT-3, GPT-4) you want to use for generating responses. Each model has different capabilities, with newer models generally offering more advanced features.

  • Max Tokens: This setting controls the maximum length of the response. A higher token limit allows the model to generate longer responses, while a lower limit results in shorter replies.

  • Temperature: This adjusts the randomness of the model’s responses. A higher temperature (e.g., 0.7) makes responses more creative and varied, while a lower temperature (e.g., 0.2) makes them more deterministic and focused.

These settings help fine-tune how the AI interacts with users based on your desired response style and length.

You can learn to create a prompt .

Learn about creating a function .

🧩
here
here
Select the AI Agent acton block
“Prompt section when creating an Agent”
Select the function
Define the path for Agent to carry forward the conversation.
Set LLM model settings