Send Bulk

Use this feature to message in bulk your customers. The API will handle the delivery to the recipients from a column-based file. Send bulk is useful to take a dynamic config from a specific source.

Sending bulk messages is used to send a preset template with different values related to each customer so that you can select dynamic information from a source like a file in order to automatize and send your campaign easily. Review the code below for more instructions.

Send outbound message from file

Send outbound message to Whatsapp users.

Create a New Campaign

Click on "Create." A modal will open where you must enter the campaign name.

Select Company and Template

Choose the company and template to use, along with the bot. If using a master company with access to other companies, you will see a company selector.

Attach Images

If the template includes images, click on the image section to attach one. Browse and select the desired image.

Upload CSV File

Select the CSV file containing the customer numbers to send the templates to. Click "Search File" and upload your CSV.

Template guidelines

The source (file) must be created following the next specification:

  • Support files only with the "CSV" extension.

  • You must define a header on the first row of the file

  • The first column defines the phone number destination

  • The remaining columns are used for parameter values

  • Microsoft Excel application must have only one sheet

Your order {{1}} for a total of {{2}} is confirmed. The expected delivery is {{3}}.

phone number

param 1

param 2

param 3

18632557992

0001

5 chunks

December 9th

1865323999

0002

1 bottle

January 5th

1225468999

0003

3 boxes

March 3rd

The CSV file must be UTF-8 encoded

Configure Template Parameters

Match template parameters with CSV columns. For example, replace the "client" parameter with the "customer name" column from the CSV.

Configure Buttons (if applicable)

If the template includes buttons, configure them. Flow buttons trigger specific flows within WhatsApp.

Configure CRM Parameters

If your bot or company has CRM parameters, match these with CSV columns. For example, map the "Cedula" and "Surname" fields.

Schedule or Send Now

Review the configuration and schedule the campaign for a specific date and time, or send it immediately.

On the code:

POST https://api.jelou.ai/v2/hsm/file

Request Body

NameTypeDescription

file

string

Source file File extension should be csv.

fileUrl

string

Source file url File extension should be csv.

campaignName

string

Campaign name.

elementName

string

Element name.

params

object

Parameters.

botId

string

Array of strings containing the values to replace in the hsm template.

date

string

UTC date where campaign will be sent.

{
  "message": [
    "Campaign has been created."
  ],
  "status": "success"

Last updated