# Make

> Install the Leal app on Make, connect it with an API token and your Account ID, and use Leal modules in your scenarios.

Make (formerly Integromat) builds automations as visual scenarios. The Leal app on Make has the same triggers and actions as Zapier, plus a module for calling any part of the Leal API. You need a Pro plan, because Make connects with an API token.

## Connect Leal to Make

1. In Leal, create an API token named "Make" on the [API page](https://app.getleal.com/api_tokens). See [API tokens](https://docs.getleal.com/integrations/api-tokens).
2. Copy **Your Account ID** from the top of the [Integrations page](https://app.getleal.com/integrations).
3. Click **Install on Make** on the Make card in Leal, and install the Leal app.
4. Add a Leal module to a scenario. When Make asks for a connection, paste your API token and Account ID.

## Triggers

These are instant triggers: Leal sends the event to Make the moment it happens.

| Module | Fires when |
| --- | --- |
| **Watch new customers** | A new customer joins your loyalty programme. |
| **Watch stamps earned** | A customer earns stamps. |
| **Watch rewards redeemed** | A customer redeems a reward. |

## Actions and searches

| Module | What it does |
| --- | --- |
| **Create a customer** | Adds a customer. Needs an email or phone number. You can choose a **Loyalty card** to give them, turn on **Send card links** to email or text them their card, and add a **Referral code** to record who invited them. |
| **Add stamps** | Adds stamps to a customer's loyalty card. |
| **Search customers** | Finds customers by name, email, phone, card code or their ID in another system. |
| **Make an API call** | Sends your own request to the Leal API, for anything the other modules don't cover. |

Dates such as **Birthday** use the `YYYY-MM-DD` format, for example `1990-05-21`.

## Managing scenarios

Each Leal trigger adds an endpoint on Leal's **Webhooks** page, labelled **Make**. Manage it from Make: deleting the webhook on Make's Webhooks page removes it from Leal too.

## Gotchas

- **Changes in Make go live straight away.** Test a scenario with your own details before switching it on.
- **Phone numbers work best in international format**, such as `+353861234567`.
- **Make an API call is for developers.** It can change anything your login can. See the API reference at [getleal.com/developers](https://www.getleal.com/developers).

## Read more

[getleal.com/integrations/make](https://www.getleal.com/integrations/make)
