All Products
Search
Document Center

Chat App Message Service:Configure the Send a Messenger Message component

Last Updated:Dec 10, 2024

This topic describes how to configure the Send a Messenger Message component. This component is used to send a Messenger message to a user. The user can reply to the message by using the specific features of Messenger.

Component information

Component icon

lQDPKHZ5IwjY-z9kZLAtIU8fzjNVMgcB_LdSn6sA_100_100

Component name

Send a Messenger Message

Prerequisites

You can use an existing flow or create a new flow to go to the canvas page of the flow.

  • Go to the existing flow canvas page.

    Yes Chat App Message Service Console > Process Editor > Process Management. Click the name of the flow that you want to edit. The canvas page of the flow appears.

    image

  • Create a new flow to go to the canvas orchestration page. For more information, see Create a flow.

Configuration items

Available Variable

By default, commonly used variables are displayed in the Available Variable section. You can use these variables when you orchestrate a chat flow. When you configure a component, you can click Insert Variable to add custom variables. After a custom variable is added, the variable is displayed in the Available Variable section. For more information about how to use available variables, see Use available variables.

Message Sending Settings

You can select From/To or Reply from the Action drop-down list.

From/To

Send Type

Description

Example

Sender Account

If you select Sender Account for the Send Type parameter, you must configure the Channel and Sender Account parameters. You must select a channel that is approved and a sender account that can send messages as expected. You can enter a phone number in the Recipient field. You can also click Insert Variable to insert defined variables or create variables.

image

Variable

If you select Variable for the Send Type parameter, you must select a phone number of the message sender from the Sender Account drop-down list. You can enter a phone number in the Recipient field. You can also click Insert Variable to insert defined variables or create variables.

image

Message Settings

The Message Type parameter specifies the type of the message that is sent. Valid values: Text, Media, Quick Reply, and Template Message.

Text

Text specifies text messages. If you select Text from the Message Type drop-down list, you must configure the Content parameter. You can click Insert Variable to insert variables into the message content.

Media

If you select Media from the Message Type drop-down list, you can set the Media Type parameter to Image, Audio, Video, or File. Enter the URL of an image, an audio file, a video, or a file in the Media URL field. You can also click Insert Variable to insert variables into the URL.

image

Quick Reply

If you select Quick Reply from the Message Type drop-down list, you can set the Reply Type parameter to Text and Quick Reply or Media and Quick Reply.

Text and Quick Reply

You can manually configure the Content, Button Name, and Image URL parameters. You can also click Insert Variable to insert variables into the values. Valid values of the Button Type parameter are Text Button and Button with Image.

image

Media and Quick Reply

You can select Image, Video, or Audio from the Media Type drop-down list. You can manually configure the Media URL, Button Name, and Image URL parameters. You can also click Insert Variable to insert variables into the values. Valid values of the Button Type parameter are Text Button and Button with Image.

image

Note

To specify a button name, you must turn on Interactive Reply-based Branch in the Interactive Reply Settings section.

Template Message

If you select Template Message from the Message Type drop-down list, you can set the Template Type parameter to Regular Template or Media Template.

Regular Template

You can manually configure the parameters such as Image URL, Message Title, and Subtitle. You can also click Insert Variable to insert variables into the values. Valid values of the Button Type parameter are Reply Button, Call Button, and URL Button. If you select Call Button, you must configure the Mobile Number parameter. If you select URL Button, you must configure the Button URL parameter. After you configure Template 1, you can click AddTemplate to configure Template 2 based on your business requirements.

image

Media Template

If you select Media Template from the Template Type drop-down list, you can set the Media Type parameter to Image or Video. If you select Image, you must manually configure the Media URL parameter or click Insert Variable to insert variables into the URL. Valid values of the Button Type parameter are Reply Button, Call Button, and URL Button. If you select Call Button, you must configure the Mobile Number parameter. If you select URL Button, you must configure the Button URL parameter.

image

Timeout Settings

You can turn on or off Undelivery Branch based on your business requirements. If you turn on this switch, you can configure a custom timeout period and configure another component in the branch to resolve issues such as unread messages. For example, if a Messenger message fails to be delivered within the specified timeout period, you can add the Send an SMS Message component to send the message over Short Message Service (SMS).

Interactive Reply Settings

Note

Parameters in this section are displayed only when the Message Type parameter is set to Quick Reply or Template Message.

Parameter

Description

Example

Interactive Reply-based Branch

After you turn on this switch, branches are created based on the buttons or items specified in the Message Settings section. You can add components to configure the branches.

image

Branch for Interactive Reply Wait Timeout

After you turn on this switch, the not Replied branch is created to handle timeout issues. You must configure a custom timeout period by configuring the Waiting Time for Interactive Reply parameter. If this switch is turned on but no component is added to the branch, the system continues with subsequent steps after a timeout.

image

Waiting Time for Interactive Reply

You can specify a timeout period in units of seconds, minutes, or hours. After the specified timeout period is reached, the configurations in the not Replied branch take effect.

-

Custom Output Variable Name

You can specify a custom variable that is used to capture user choices. The custom variable is displayed in the Available Variable section and can be referenced at any time in the subsequent steps of the chat flow.

-

Advanced Settings

Parameter

Description

Status Report

After you turn on this switch, you must specify a URL for receiving a status report.

Track ID

The track ID is used to mark and track specific messages.