How to Create a Script

Step 1. Specify script settings

  1. Go to the Scripts section of your personal edna Pulse account.
  2. Click Create chain.
  3. Enter a name in the Script name field.
  4. From the drop-down list, select one of the available WhatsApp accounts to use as the sender’s signature when sending messages in the script.
Only use the selected WhatsApp account to send messages in this script. Don’t use it to send broadcasts.
  1. If necessary, enable the Do not run for same recipients option to prevent the added recipients from re-entering the script after it has finished.
  2. Select Run after saving to start the script automatically after clicking on the start button, or Set date and time to set a future start date for the script.
  3. Click Save and continue to go to the builder with a workspace for configuring the start block and adding actions and script conditions. Read more about script builder.

Step 2. Configure start block

  1. Click Select a condition in the start block of the script to set the start condition at which the script should automatically start for the audience.
  2. Select and configure one of the startup conditions described below, and continue to create the following script steps.

Incoming message received

Select the Incoming message received start condition and click Save.

Once launched, the script will only run for those recipients who send an incoming message to the WhatsApp account selected in the script settings. This condition is useful, for example, if you want to run an FAQ script to reduce the workload of managers.

Recipients with tags

  1. Select the Recipients with tags start condition.
  2. Make sure that the tags you want to select have already been assigned to the recipients in the Audience section of your personal edna Pulse account. Otherwise, the condition won’t work.
  3. Select a group of recipients in the appropriate section and click Tag tree. Sections:
    • Include recipients with these tags. Select the required tags from the available categories that are only assigned to the recipients you want to run the script for, and click Continue.
    • Exclude recipients with these tags. Select the required tags from the available categories, assign them only to the recipients you don’t want to run the script for, and click Continue.
  4. If there is no matching tag in the list, click New tag in the required section and add the tag manually by selecting a category for it.
  5. If necessary, click Add another group to add additional recipient groups to each section.
  6. Click Save.

Once launched, the script will only run for those recipients who have already been assigned the selected tags. This condition is useful, for example, if you want to send a series of automated messages inviting people to a webinar.

External trigger

  1. Select the External trigger start condition.
  2. Click Save.
  3. Follow step 3 described below.
  4. Go to the Audience section of your personal edna Pulse account.
  5. Click Add to database → Add list.
  6. Upload a pre-prepared list of clients in the .xlsx format for which you want to run the script with the External trigger start condition and click Next.
    Read more about preparing a list of clients.
  7. Activate the Run a script for the clients in this list, starting with an external trigger switch.
This switch is only available for activation if the script has the Active status with the External trigger start condition.
  1. In the drop-down list, select one or more created scripts with the External trigger start condition.
  2. Specify other settings and save the list of clients.
    Read more about uploading a list of clients.

Once launched, the script will only run for those recipients for whom an external trigger has been triggered. This condition is useful, for example, if you want to run a script for onboarding or warming up the audience.

Step 3. Add actions and conditions

  1. Add a script action:
    • Select the Action block.
    • Hold down the left mouse button and drag it into the builder’s workspace.
    • Click Select an action and configure one of the script actions. Read more about available actions.
  2. Add a script condition:
    • Select the Condition block.
    • Hold down the left mouse button and drag it into the builder’s workspace.
    • Click Select a condition and configure one of the script conditions. Read more about available conditions.
  3. Add and configure the required number of actions and conditions, placing them in sequential order.
  4. Point to the gray dot below the configured action or condition, and drag the connecting arrow to the next step in the script to connect to it. Drag the required number of arrows to connect to the steps in the sequential script chain.
The arrow from the Yes point in the Condition block means that the specified condition should be met in order to complete the next step of the script, and from the No point means that it shouldn’t be met.
  1. Click Save.

Once saved, the script is added to the general list with the status Draft.

To run a script, go to the general list of scripts, open the action menu in the script line, and click Start script.