Altegio
Altegio is an online booking system with an appointment journal. Its webhooks report every appointment that is created, changed or deleted in the journal, including the mark that the client came. Pointed at the Flows address, they start your flows: a client books — and gets a reminder the day before the visit; the appointment is cancelled — and the reminder stops; the visit is marked — and a review request follows.
Altegio already has the platform as a built-in SMS provider (Integrations → Notifications), so a simple reminder can be sent by Altegio itself. Flows are for what a single reminder cannot do: chains, a Viber-then-SMS cascade, a review request after the visit.
This page is written from the public documentation of Altegio and has not been checked on a live account yet.
What you need
- Access to the Administration mode of Altegio, Settings → System Settings → For Developers.
- The plan: the Altegio documentation does not say whether webhooks need a particular one.
- Appointment events are enough. Altegio sends the same
create,updateanddeletefor clients, goods and staff; AlphaFlow skips them by itself, but there is no need for extra requests. - Webhooks are set per location (branch). With several branches, repeat the setup in each; the setting can hold several addresses.
Step 1. Create a connection
- Open
Flows → Connections, press Connect a system and choose Altegio. - Press Copy address. It looks like
https://events.alphasms.net/hooks/<TOKEN>— keep it secret.
Step 2. Set up Altegio
- In the Administration mode open Settings → System Settings → For Developers.
- Switch on sending hooks and paste the address from the cabinet.
- Among the events when creating, editing, deleting a booking in the Appointment Calendar is enough. The rest — clients, goods, staff — AlphaFlow skips by itself, so they can stay off.
- Press Save.
There is nothing to write: Altegio sends a body of its own that cannot be changed, and AlphaFlow reads it as it is.
Step 3. Send a test
Altegio has no test button and no delivery log. Create a test appointment in the journal with your own phone number,
then cancel it. Altegio sends a webhook 5 seconds after the change, and both events appear in
Flows → Connections → Event journal within seconds. The
connection shows Recognised: Altegio.
Events
Altegio status | AlphaFlow event | Properties |
|---|---|---|
create — an appointment is created | appointment_scheduled | appointment_id, visit_at, service, master |
update with attendance = 1 — the client is marked as arrived | visit_completed | appointment_id, visit_at, service, master |
update — any other change of an appointment | appointment_scheduled with rescheduled = true | appointment_id, visit_at, service, master, rescheduled |
delete — an appointment is deleted | appointment_cancelled | appointment_id, visit_at, service, master |
Every event also carries location_id (the Altegio location), confirmed, online, attendance (the visit
mark) and short_link. service is the first service of the appointment. master may come empty: the example in
the Altegio documentation has no staff in it.
The contact is found by the client's phone (data.client.phone), email and the id of the client card in Altegio;
the name comes from data.client.name.
visit_at is the time of the visit, so a flow can wait until 24 hours before it — the ready-made "Appointment
reminder" does exactly that. The event names are the ones the templates expect — see
Recommended events.
- Any change is
update— another master, a payment, a confirmation, not only a new time. The first change is recorded; further changes that keep the time of the visit and the visit mark are taken for repeats. The visit mark comes once, asvisit_completed. - A move and the reminder. A change comes as
appointment_scheduledwithrescheduled=trueand the currentvisit_at— after a move, the new time. The ready-made "Appointment reminder" restarts by itself on a moved appointment and reminds about the new time: there is nothing to copy or set up. Altegio does not say what has changed, sorescheduledistrueafter any change; a change that keeps the time brings no second reminder.
Good to know
- Altegio waits 10 seconds for the answer. It repeats only on a connection error,
429or5xx— twice, after 5 and 30 seconds; other4xxand a timeout are not repeated. A repeat carries the current state of the appointment, and the order of webhooks is not guaranteed. - Altegio adds an
Authorizationheader with a token of its own, the same for all its webhooks. It is not your secret, and AlphaFlow does not check it: the secret is in the address. visit_completedis anupdatewithattendance=1— the mark that the client came. The values ofattendanceare not described in the Altegio documentation, so this value is not confirmed. The ready-made "Review request" starts onorder_delivered: for a visit, change its Start tovisit_completed.- An appointment without the client's phone, email and id is refused with
no_contactand shown in the journal. - 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 Altegio stays on.