Proto AICX Docs
  • Getting Started
    • Glossary
    • Signing-in
    • Main Dashboard
    • Platform Bot
    • Data Privacy
  • AICX Modules
    • AI Assistants
      • Manage Assistants
      • Actions
        • Send Message
        • Send File
        • Show Carousel
        • Show Survey
        • Collect Feedback
        • Create Ticket
        • Human Handoff
        • External Handoff
        • Jump to Trigger/Action
        • If/Else
        • Set Chat Variable
        • Send API Request
      • LLMs
        • Cloudflare Training
      • Publishing
        • Webchat
          • Proactive Messages
        • Facebook Messenger
        • WhatsApp
        • Telegram
        • LINE
        • Africa's Talking
        • Bitrix24
        • Zendesk
    • Inbox
      • Find & View Conversations
      • Message Editor
      • Transfers & Takeovers
    • Livechats
    • Tickets
    • People
    • Analytics
      • Winnow
  • General
    • Settings
      • Company
        • Plan & Billing
          • Interactions Amount
        • Roles & Permissions
        • Users
        • Teams
        • IP Allowlist
        • Whitelabelling
      • Sub-Company
        • Banning
        • Tags
        • Chat Assignment
        • Email Domains
        • Email Templates
        • Exports
        • Canned Replies
        • Custom Fields
        • Custom Profiles
        • Custom Analytics
      • User Account
        • User Aliases
        • Online Status
    • Plans & Pricing
    • Enterprise Max
  • Developers
    • Developer Tools
      • Chat Variables
      • Chat Scripts
      • Webchat Script
      • Developer API
      • On-Premise & Hybrid Hosting
Powered by GitBook
On this page
  1. AICX Modules
  2. AI Assistants
  3. Actions

Set Chat Variable

Leverage dynamic data in a chat session.

PreviousIf/ElseNextSend API Request

Last updated 2 months ago

See for details on how variables operate within a chat.

The Set Chat Variable action creates or modifies a variable, which can be useful to other subsequent actions referencing them.


Select a Set Chat Variable action from the tree to open its settings:

  • Variable name — the name of a new or existing variable, including default .

  • — the Python expression setting the variable's value.

Press Save to confirm edits.

Chat Variables
Chat script
system variables