Using Scripts
A script is a pre-planned and sequential chain of interrelated steps that automatically responds to events. An event is considered to be the fulfillment of the conditions or actions specified in the script.
Purpose and Possibilities of Scripts
- Automate and speed up audience interaction processes.
- Prepare the optimal set of steps for effective audience communication and script delivery.
- Schedule and configure automatic execution of standard, predictable, or frequent tasks in response to audience actions.
Script Elements
Elements used to create a sequential chain of steps for a script in edna Pulse:
- Start block
- Action
- Condition
The first step of the script and defines a start condition that automatically starts the script and moves it to the second step in the chain.
For example, the script start condition can be to receive an incoming message in the specified WhatsApp account.
A script step that defines an action to be performed automatically after a specific event.
A script step that defines a requirement that should be met in order to automatically proceed to the next step in the chain.
The start block is a mandatory element of the script, and the number of conditions and actions is unlimited.
Limitations
-
To run the script, you should configure the start block and add at least one action.
-
In one WhatsApp account, you can simultaneously schedule and run an unlimited number of scripts with the Recipients with tags and External trigger launch conditions and only one script with the Incoming message received condition. Each scheduled script will have the status Scheduled, and the running one will have the status Active.
infoThere can be any number of scripts in one WhatsApp account with the status Draft, Completed, Stopped.
-
The time limit for an action by the recipient from the script audience is 48 hours.
-
If the same recipient meets the conditions of several active scripts added to the same WhatsApp account, these scripts will be executed sequentially for them. First, edna Pulse takes into account the priority of the script in the queue, and then the start time. The priority of a script depends on its launch condition:
- Incoming message received — first priority;
- External trigger — second priority;
- Recipients with tags — third priority.
If a script audience recipient is inactive for more than 48 hours after the initial start condition is triggered, the script will automatically terminate for them.