Skip to main content

Make

Make builds scenarios from modules: a source module and the modules after it. Add the HTTP module Make a request, and the scenario becomes a bridge to flows: whatever starts it — a new order in a shop, a lead in a CRM, a new row in Google Sheets — sends an event to the Flows address, and the customer gets the right message in Viber or SMS.

A system that already sends webhooks does not need Make in between (Custom webhook → HTTP): connect it to flows directly — see Connecting systems.

Written from Make documentation

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

What you need​

  • Any plan of Make: HTTP is a regular Make app, and Make's pages tie it to no plan. The Free plan limits credits and the number of active scenarios.
  • One address for all scenarios: the event is named in the body of each request.

Step 1. Create a connection​

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

Step 2. Add the HTTP module in Make​

  1. Open the scenario. After the source module — a shop, a CRM, Custom webhook, Google Sheets — press + and choose HTTP → Make a request.
  2. URL — the address from the cabinet. Make accepts only https addresses.
  3. Method — POST. Headers are not needed: the token is already in the address.
  4. Body content type — application/JSON.
  5. Body input method — JSON string, and paste into Body the body below. Replace the values in angle brackets with the fields of the source module from the mapping panel.
  6. Parse response — No; Return error if HTTP request fails — Yes.
  7. Press Run once, then switch the scenario on.
{
"event": "order_paid",
"message_id": "make:order_paid:<order id>",
"contact": {
"phone": "<phone>",
"email": "<email>",
"external_id": "<customer id>"
},
"traits": { "first_name": "<first name>" },
"properties": { "order_id": "<order id>", "total": <total> },
"context": { "source": "make" }
}
  • event — fixed text, the name of the AlphaFlow event for this scenario (see Events).
  • message_id makes the event unique: a request with an id AlphaFlow already has is not recorded twice. For a scenario that runs on every status change, add the status: make:order_status_changed:<order id>:<status>.
  • contact needs at least one of the phone, the email or the customer id. The phone may come in any notation.
  • <total> stays without quotes — it is a number. context.source stays as it is: by it the connection shows Recognised: Make.

In JSON string mode the values are inserted as they are: a quote inside a name breaks the JSON. For such fields choose Data structure instead — then Make escapes the values itself. The body is already in the AlphaFlow format, so nothing has to be mapped in the cabinet — see Event format.

Step 3. Send a test​

Press Run once in the scenario editor. The event appears in Flows → Connections → Event journal within seconds. The connection shows Recognised: Make.

Events​

One scenario sends one event. Put into event the name that matches the source module:

What starts the scenarioAlphaFlow eventProperties
A new orderorder_createdorder_id, total
An order is paidorder_paidorder_id, total
The status of an order changesorder_status_changedorder_id, status
A new form entryform_submittedform
A new leadlead_submitted—
An appointment is madeappointment_scheduledvisit_at

Put a name like order_paid or order_shipped only into a scenario whose source module means exactly that, or set a filter on the link before the HTTP module that lets through only that status, for example "Paid". A scenario 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 contact.phone, contact.email and contact.external_id; traits.first_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​

  • The page of the module does not describe repeats. How long Make waits for the answer is set in Timeout, from 1 to 300 seconds.
  • 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 scenario keeps running.

Make documentation​