Branching by Date/Time

更新时间:
复制 MD 格式

The Branching by Date/Time component changes the execution path of a chat flow based on specified dates and times.

Component information

Icon

Name

日期时间分支@1x

Branching by Date/Time

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. On the canvas, click the Branching by Date/Time component icon to open its configuration panel on the right.

    In the configuration panel on the right, available variables include incomingMessage, wabaId, wabaPhoneNumber, customerPhoneNumber, and customerName. Set the time zone to Asia/Shanghai, the time range to 09:00 - 17:00, and the applicable days to Monday to Friday. Time periods outside this range are handled by the Else branch. You can click + Add Branch to add more conditional branches. When you are finished, click the Save button at the top.

  2. Configure the component based on your business requirements. For details on each setting, see Configurations.

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

Configurations

Click Add Branch to create additional branches. The following table describes each setting.

Parameter

Description

Time zone

The branch triggers based on the time in the selected time zone.

Time range

Multiple branches with different time ranges are supported.

  • Click the Edit buttonimage to modify the effective time range and date.

  • Set the condition to Include or Exclude a specified time range.

  • Click Add OR Rule to add another time range to the rule. The branch triggers if the time meets the conditions of any specified range.