Yespo (eSputnik)
Yespo (eSputnik) is a marketing platform with automated workflows. The Webhook block of a workflow sends a request with a body you write yourself. Pointed at the Flows address, it starts your flows: an order from the site is placed or paid, a cart is abandoned, a contact subscribes through a form — and the customer gets the right message in Viber or SMS.
Yespo already has the platform as a built-in SMS provider (Settings → Senders); flows add what a single SMS cannot do: Viber, a cascade of channels, chains with waiting and reminders.
This page is written from the public documentation of Yespo and has not been checked on a live account yet.
What you need
- Access to Automation → Workflows in Yespo. The Yespo documentation does not name the plan of the Webhook block.
- An
httpsaddress: Yespo does not save anhttpone. The Flows address ishttps. - One address for all workflows: the event is written in the body.
Step 1. Create a connection
- Open
Flows → Connections, press Connect a system and choose Yespo (eSputnik). - Press Copy address. It looks like
https://events.alphasms.net/hooks/<TOKEN>— keep it secret.
Step 2. Set up the Webhook block
- Open Automation → Workflows and press New workflow, or open an existing workflow.
- On the Other tab take the Webhook block, press Select webhook → Manage Webhook and create a
webhook:
- Name —
AlphaFlow. The name cannot be changed later. - Request type —
POST. - URL — the address from the cabinet.
- Pass parameters in headers — off.
- Authentication — off: the secret is already in the address.
- Request body — on, format JSON. Paste the body below.
- Name —
- Change
order_paidineventand inmessage_idto the event of this workflow (see Events). - Press Send test, then Done, and put the Webhook block into the workflow after the step that should send the event.
The body (Velocity; $!field gives an empty value when there is none):
{
"event": "order_paid",
"message_id": "yespo:order_paid:$workflowInstanceId",
"contact": {
"phone": "$!phone",
"email": "$!email"
},
"traits": { "first_name": "$!name" },
"properties": {
"order_id": "$!orderId",
"total": "$!totalCost"
},
"context": { "source": "yespo" }
}
$!phone,$!emailand$!nameare the phone, the email and the name of the contact. The names of contact variables do not depend on the letter case.orderIdandtotalCostare an example. The parameters of an event are named by you — by your site or plugin that passes the event to Yespo. Put your own:$<parameter>, or${event.data.parameter}for a nested one.$workflowInstanceIdis the id of the workflow run for the contact. It stays the same in the retries of Yespo, so a retry is not recorded twice. It is case-sensitive.- Do not add
$contact_IDasexternal_id: it is the Yespo id and would not match the ids of your shop.
Step 3. Send a test
Press Send test in the webhook window. The test data is JSON with the variables, written in the same case as in
the body. Then run the workflow on your own contact. The event appears in
Flows → Connections → Event journal within seconds. The
connection shows Recognised: Yespo (eSputnik).
Events
| What starts the workflow | AlphaFlow event | Properties |
|---|---|---|
| An order from the site is placed | order_created | order_id, total |
| An order is paid | order_paid | order_id, total |
| A cart is abandoned | cart_updated | the parameters you add |
| A contact subscribes through a form | form_submitted | — |
Put order_paid only into a workflow that starts on a payment or checks a paid status in a condition. A workflow on
any order sends order_created: otherwise an unpaid order reaches the customer as "paid".
AlphaFlow takes the body as it is: the contact is the phone and the email from contact, the first name comes from
traits, the properties from properties. Nothing has to be mapped. The names of the events are the ones the
ready-made templates expect — see Recommended events.
Good to know
- Yespo retries only on
5xx: every 3 minutes, up to 3 times. It makes one call for every recipient of the step. - There is no signature, and Authentication stays off: the secret in the address is enough.
- Velocity does not escape quotes: a name with
"breaks the JSON of the body. What Yespo does with such a body is not confirmed by its documentation. - A contact with neither a phone nor an email in Yespo gives an empty
contact, and the event is refused withno_contact. - The address always answers
200. Above the daily event limit the event is refused in AlphaFlow withquota_exceededand shown in the journal; the webhook in Yespo stays on.