Skip to main content

Albato

Albato links apps into automations: a trigger step and the steps after it. Add the HTTP Request tool, and the automation becomes a bridge to flows: whatever starts it — a new order in a shop, a status in a CRM, an order in SalesDrive — sends an event to the Flows address, and the customer gets the right message in Viber or SMS.

Albato also has the platform's own app for SMS and Viber. It sends a single message by itself and sends no AlphaFlow events: for flows, use HTTP Request. If your system can send webhooks by itself, connect it directly, without Albato — see Connecting systems.

Written from Albato documentation

This page is written from the public documentation of Albato and has not been checked on a live account yet.

What you need​

  • A paid plan of Albato: the Free plan has no custom webhooks and API. Whether HTTP Request itself is available on Free is not confirmed by the documentation.
  • A trigger of a system that sends no webhooks is polled — on Free, every 15 minutes, so such events come with a delay.
  • One address for all automations: the event is named in the event field of each request.

Step 1. Create a connection​

  1. Open Flows → Connections, press Connect a system and choose Albato.
  2. Press Copy address. It looks like https://events.alphasms.net/hooks/<TOKEN> — keep it secret.

Choose Albato by name, not Other system / detect automatically: Albato's documentation names no headers of its own, so AlphaFlow cannot recognise its requests and reads the flat fields below only in an Albato connection.

Step 2. Add an HTTP request in Albato​

  1. Open the automation. After the trigger step add a new step: HTTP Request → Send Request.
  2. Method — POST; URL — the address from the cabinet.
  3. Headers — Content-Type with the value application/json. No authorisation: the token is already in the address.
  4. Request Parameters — the pairs below. Type the name on the left; on the right type a fixed value or choose a field of the previous step from the list.
  5. Save the automation and run it on test data.
NameValue
eventorder_paid — fixed text, the name of the AlphaFlow event (see Events)
message_idalbato:order_paid: followed by the order id
phonethe phone
emailthe email
external_idthe customer id
namethe first name
order_idthe order id
totalthe total
statusthe status
ttn, carrier, payment_url, tracking_url, visit_at, stagewhere the event has them

Albato's article shows nested parameters only for arrays of objects, so the parameters are flat: AlphaFlow assembles the event from these names itself. Use the names exactly as in the table — a parameter with another name is not read. At least one of phone, email or external_id is needed; the phone may come in any notation.

Step 3. Send a test​

Run the automation on test data. The event appears in Flows → Connections → Event journal within seconds.

Events​

One automation sends one event. Put into event the name that matches the trigger:

What starts the automationAlphaFlow eventProperties
A new orderorder_createdorder_id, total
An order is paidorder_paidorder_id, total
The status of an order changesorder_status_changedorder_id, status
An order is shippedorder_shippedorder_id, ttn, carrier
An appointment is madeappointment_scheduledvisit_at
A deal moves to a stagedeal_stage_changedstage

Put a name like order_paid or order_shipped only into an automation whose trigger means exactly that (for example, "order paid" in your shop), or after a filter that lets through only that status, for example "Paid". An automation on any change of an order sends order_status_changed with the status property: otherwise a partly paid or returned order reaches the customer as "paid".

The contact is found by phone, email and external_id; name is the name the texts greet with. The names of the events are the ones the ready-made templates expect — see Recommended events.

Good to know​

  • Albato's article does not describe repeats. Without message_id AlphaFlow builds the id from the content of the request — the order id and the status are in it — so the same data sent again is not recorded twice.
  • The tracking number is passed as the ttn property, like any other property: AlphaFlow does not track the parcel itself.
  • A request with no phone, no email and no customer id cannot reach a person: the event is refused with no_contact, and the journal shows it.
  • The address always answers 200. Above the daily event limit the event is refused in AlphaFlow with quota_exceeded and shown in the journal; the automation keeps running.

Albato documentation​