All Products
Search
Document Center

Chat App Message Service:Set Variables

Last Updated:Jun 22, 2026

Configure the Set Variables component to define custom variables for use in subsequent flow steps.

Component information

Component icon

Component name

设置变量@1x

Set Variables

Prerequisites

To configure this component, access the flow canvas by using an existing flow or creating a new one.

  • Go to the canvas of an existing flow

    In the Chat Flow > Flow Management > Flow Name

  • Create a new flow to open its canvas. For more information, see Create a flow.

Procedure

  1. Click the Set Variables component icon on the canvas to view its configuration panel on the right.

    In the Set Variables configuration panel, the Available Variables section lists five variables: incomingMessage, wabaId, wabaPhoneNumber, customerPhoneNumber, and customerName. In the Variable Configuration section, enter the key and value for a variable. You can click + Insert Variable to reference an available variable, or click + Add Variable to add a new variable entry. When finished, click Save at the top.

  2. Configure the component parameters. For parameter details, see Parameters.

  3. After you finish the configuration, click Save. In the dialog box that appears, click Save.

Parameters

In the Variable Configuration section, configure the following parameters:

Parameter

Description

key

The name of the variable.

value

Optional. The value to assign to the variable. You can enter a static value or insert an existing variable.

Click AddVariable to add another variable entry.