An event is an external signal with data that is sent to the required SendPulse URL. When you create an event, you receive a link to send a POST request with the required parameters, and Sendpulse will track and process all the requests you send.
Thus, you can transfer from your site, for example, information about a customer and the product that the customer has chosen at different stages, as well as other other information that you create.
With events you can launch email, sms, push automations, and chatbot flows for a specific contact. The recipient is identified by their
phone for email, sms, and push automations;
сhatbots_channel to launch a chatbot flow.
To configure an event, go to the "Automations> "Event manager" and click "Add new event."
There are 4 premade types of events:
- Abandoned cart
- Custom event
In each of the events, you can add, remove and edit fields to use in the body of the email or in the “Filter” element as variables.
You can choose the following data types:
- sting - used for text values, up to 255 characters;
- number - used for any numeric values;
- date - used for date, you need to transfer it in the YYYY-MM-DD format
After you have configured the variables and added the event, you will get:
- a unique URL - the address to which you want to send data;
- an Event ID;
- a format for the request body in JSON that Sendpulse expects to receive.
Last Updated: 03.12.2020