Skip to main content

EasyWeek

EasyWeek is an online booking system. Its webhooks call an address when an appointment is created, changed or cancelled. Pointed at the Flows address, they start your flows: a reminder the day before the visit, a message after a cancellation.

EasyWeek already has the platform as a built-in SMS provider, so a simple reminder can be sent by EasyWeek itself. Flows are for what a single reminder cannot do: chains, a Viber-then-SMS cascade, a review request after the visit.

Written from EasyWeek documentation

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

The format is not confirmed

EasyWeek does not publish the body of its webhook: its documentation lists only the variables of message templates (:customer_phone, :booking_status and others). The field names on this page are taken from these variables and are not confirmed by the documentation. Until they are checked on a live request, the connection may need Other system — see Step 3.

What you need​

  • The PRO plan: webhooks are available only on it.
  • Access to Settings → Developer menu → Webhooks.
  • One webhook. EasyWeek allows up to 5 of them by its help centre, or up to 10 by its developer portal; more through EasyWeek support.

Step 1. Create a connection​

  1. Open Flows → Connections, press Connect a system and choose EasyWeek. If it is not in the list, choose Other system — see Other system.
  2. Press Copy address. It looks like https://events.alphasms.net/hooks/<TOKEN> — keep it secret.

Step 2. Set up EasyWeek​

  1. Open Settings → Developer menu → Webhooks and press +Add.
  2. The method — POST: it sends the full data. GET sends a short message without a body.
  3. The URL — the address from the cabinet, exactly as copied: EasyWeek does not follow redirects.
  4. Response codes — 200.
  5. Description — AlphaFlow.
  6. On the right choose the triggers: an appointment created, changed and cancelled — or all of them.
  7. The number of attempts and the interval are up to you. Switch on automatic disabling and give an email: EasyWeek writes to it when it disables the webhook.
  8. Custom parameters are not needed: the secret of the connection is already in the address.

Step 3. Send a test​

Create a test appointment with your own phone number. EasyWeek keeps a log of every webhook: open the webhook in Settings → Developer menu → Webhooks — the log shows each request with its body and the button Resend. The event appears in Flows → Connections → Event journal within seconds.

  • The connection shows Recognised: EasyWeek, and the event has the phone and the time of the visit — the connection works.
  • Otherwise the body differs from what the connection expects. Connect EasyWeek as Other system and show AlphaFlow the fields on the request you have just sent — and tell support what came: the page will be corrected.

Events​

Whether AlphaFlow reads EasyWeek by itself or you map the fields as Other system, name the events this way. The values of the status and the names of the fields are not confirmed by the documentation.

EasyWeek appointmentAlphaFlow eventProperties
createdappointment_scheduledappointment_id, visit_at, service, master
changedappointment_scheduled with rescheduled: trueappointment_id, visit_at, service, master
cancelledappointment_cancelledappointment_id
closedvisit_completedappointment_id, review_url
  • The event comes from the status of the appointment (:booking_status, for example "New appointment" or "Closed").
  • appointment_id is the number of the appointment shown in the calendar (:booking_hash_id); visit_at — its start with the time zone (:booking_date_start_tz); service — :services_description; master — :user_name. Also location (:location_name), booking_page and review_url (:review_url).
  • The contact is the customer's phone (:customer_phone), email (:customer_email) and EasyWeek id (:customer_id); the first name comes from :customer_first_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.

Good to know​

  • You set the number of attempts and the interval yourself; after failures EasyWeek can disable the webhook and write to the email you gave.
  • A signature is not described in the EasyWeek documentation; the secret in the address is enough.
  • An appointment without the customer's phone, email and id is refused with no_contact and shown in the journal.
  • 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 webhook in EasyWeek stays on.

EasyWeek documentation​