CX Genie
  • Introduction
    • 🤖General Features
  • Dashboard
    • Overview
  • Bots
    • General Information
    • Training Data
      • FAQs
      • Articles
      • Documents
      • URLs
      • Connect with database
      • Connect E-Commerce Store
    • Bot's Knowledge
    • Workflow
      • Module Explaination
      • Dynamic Variables Explaination
      • Trigger Workflow Condition
      • Workflow Components
        • Text and Image Button: Create Text and Image message
        • Message with actions
        • Saved flows
        • Collect feedback
        • Notify agent
        • Form submit
        • Turn off auto-reply
        • Close conversation
        • Recap chat message
        • Frequent Questions
        • Capture Customer Info
        • Create Ticket
        • Auto-tagging
        • Queue list
        • Auto-assign Agent
        • Condition
        • AI API
        • API Call
        • Connect to database
        • Route
    • Settings
    • Launch bot
    • Prompt and Models
    • Webhook
    • Platform Integration
      • WordPress
      • Shopify
      • Big Commerce
      • Magneto
      • Discord
      • Slack
      • Telegram
      • Facebook
      • Instagram
      • Zalo
      • WhatsApp
    • Contacts
  • Bot's Learning
    • Bot learns from Conversations
    • Unanswered Questions
    • Connect with previous chat history for the bot to learn
  • Live Chat
    • Overview
    • List of Conversations
    • Tools of the Conversation
    • Tools
    • Chat settings
    • AI Actions
  • Ticket (Subcription Feature)
    • Ticket List
    • Create Ticket(s)
    • Edit / Update the Ticket
    • Merge Ticket
    • Ticket Settings
  • Marketplace
    • Custom Authentication V2.0
    • Product Data Sync-up
      • E-commerce Store
      • Product Data
    • White Label
    • Help Desk
    • Form Builder
  • Main Flow
    • How AI handles incoming messages.
    • Bot Learns from Conversations by Editing Auto Suggestions
    • Bot learns from conversations immediately
  • Create your chatbot by using templates
    • SAAS Template
    • Agency Template
    • F&B Template
    • E-commerce Template
    • From a Scratch
  • Others
    • Chatbot Completion
    • Escalate to a Human Agent
  • Help Desk
    • Chat/tickets
    • Team
    • View
    • Report
    • Settings
  • Categories & Tags
    • Categories
    • Tags
  • Settings
    • General
    • Members & Permission
    • Subscription
    • Activity logs
  • Referal
    • Referal of CX Genie
  • Mailbox
    • How to integrate
Powered by GitBook
On this page
  • I. Introduction
  • II. How to use
  • 1. Dynamic Variables' name
  • 2. Code
  • 3. Determine Returned Result
  • 4. Result Data
  • 5. Type
  • 6. API URL or CURL
  1. Bots
  2. Workflow

Dynamic Variables Explaination

This section will help you to use Dynamic Variable feature in WorkFlow

PreviousModule ExplainationNextTrigger Workflow Condition

Last updated 7 months ago

I. Introduction

The objective of Dynamic variables within CX Genie would be to make their interaction with the chatbot more personalized and flexible, pulling variable data in dynamically upon conversations. It would therefore be able to change responses at will, depending on any specific information at that particular moment through user input, APIs, or other sources of information.

In short, Dynamic Variables enable CX Genie's chatbot to:

Personalize responses: Calling out the user's name or referring to actual data about them, making the conversation appear more personalized.

Data Collection and Usage from Outside Sources: It may fetch and use real-time data from APIs or databases, such as fetching stock availability or order status, or personalized recommendations.

Automate decision-making: The chatbot can change responses dynamically, or execute different sequences of actions based on the variable values, making workflows smarter and context-aware.

This ensures that customer interactions are more accurate, engaging, and relevant, improving overall service quality.

II. How to use

1. Dynamic Variables' name

This is the name of the dynamic variable you are creating. You should enter a clear and descriptive name that reflects the purpose of the variable, such as "CustomerName" or "OrderTotal." This name will be used to reference the variable in the workflow.

2. Code

This field is for the code representation of the dynamic variable. The code must be written in snake_case (all lowercase with words separated by underscores). For example: "customer_name" or "order_total." This is how the system will identify the variable.

3. Determine Returned Result

  • Specified result: Select this option if you want to specify a fixed result that the dynamic variable will return, meaning a specific result that you already know.

  • Random result: Choose this option if you want the system to return a random result, useful for cases where the outcome is unpredictable or for testing scenarios.

4. Result Data

Here you provide the data or information that the system will use to return the variable’s value. For example, if you are pulling information from an API, the returned value might be in JSON format, and you would need to provide the paths to the specific data you want.

5. Type

  • API Information: Choose this option if you want the dynamic variable to pull data from an external API. An API allows the system to connect to external services or databases to retrieve specific information.

  • CURL: Choose this option if you want to use CURL, a command-line tool used for transferring data with URLs. CURL is often used for making more complex HTTP requests.

6. API URL or CURL

If you selected API Information as the Type, this is where you enter the URL of the API you want to pull data from. The URL is the web address that the system will query to retrieve data.

If you selected CURL as the Type, this is where you enter the CURL of the API you want to pull data from. The CURL is the web address that the system will query to retrieve data.