# Make

> Watch events instantly and act in the apps from any Make scenario, with the Zenhalab app for Make.

The **Zenhalab** app for Make has an instant trigger per event, an action per action, a search, and *Make an API Call* for anything else in the [API](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/api).

## Connect your account {#connect}

1. [Create an API key](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/api-keys#create) with **Full access** (or just the scopes your scenarios need).
2. In a scenario, add a **Zenhalab** module and choose **Create a connection**.
3. Paste the key. Make checks it; the key is hidden from the scenario's logs.

## Instant triggers {#triggers}

Add a *Watch …* module and create its webhook: Make subscribes it to that event for you, and deleting the webhook in Make removes the subscription. Each delivery runs the scenario with the event as it arrives, its fields mapped from the [event catalog](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events).

### Instant triggers {#make-triggers}

| Module in Make | Event | App |
| --- | --- | --- |
| Watch Conversations Started | [`nomongeta.conversation.started`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#nomongeta-conversation-started) | Ñomongeta |
| Watch Conversations Closed | [`nomongeta.conversation.closed`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#nomongeta-conversation-closed) | Ñomongeta |
| Watch Incoming Messages | [`nomongeta.message.received`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#nomongeta-message-received) | Ñomongeta |
| Watch Outgoing Messages | [`nomongeta.message.sent`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#nomongeta-message-sent) | Ñomongeta |
| Watch Handoffs | [`nomongeta.handoff.requested`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#nomongeta-handoff-requested) | Ñomongeta |
| Watch Handoff Assignments | [`nomongeta.handoff.assigned`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#nomongeta-handoff-assigned) | Ñomongeta |
| Watch Completed Flow Runs | [`nomongeta.flow.run.completed`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#nomongeta-flow-run-completed) | Ñomongeta |
| Watch Failed Flow Runs | [`nomongeta.flow.run.failed`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#nomongeta-flow-run-failed) | Ñomongeta |
| Watch Contacts Created | [`nomongeta.contact.created`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#nomongeta-contact-created) | Ñomongeta |
| Watch Contacts Updated | [`nomongeta.contact.updated`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#nomongeta-contact-updated) | Ñomongeta |
| Watch Captured Leads | [`nomongeta.lead.captured`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#nomongeta-lead-captured) | Ñomongeta |
| Watch Subscriptions Created | [`account.subscription.created`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#account-subscription-created) | Ñomongeta |
| Watch Subscriptions Updated | [`account.subscription.updated`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#account-subscription-updated) | Ñomongeta |
| Watch Subscriptions Canceled | [`account.subscription.canceled`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#account-subscription-canceled) | Ñomongeta |
| Watch Payments | [`account.payment.succeeded`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#account-payment-succeeded) | Ñomongeta |
| Watch Failed Payments | [`account.payment.failed`](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/events#account-payment-failed) | Ñomongeta |

### Actions and searches {#make-actions}

| Module in Make | What it does | Scope |
| --- | --- | --- |
| Create or Update Contact | Adds a contact, or updates the one with that address (fields are the workspace's contact variables). | `nomongeta:write` |
| Find Contact (search) | Finds a contact by address (phone number or e-mail). | `nomongeta:read` |
| Start WhatsApp Conversation | Starts a WhatsApp conversation with an approved template, to a contact who opted in. | `nomongeta:write` |
| Send Message | Sends a message in a conversation (free text inside WhatsApp's 24-hour window, a template any time). | `nomongeta:write` |
| Start Flow | Starts an active flow in a conversation. | `nomongeta:write` |
| Add Knowledge Document | Adds a document to an agent's knowledge. | `nomongeta:write` |

The lists you pick from (invitations, QR codes, flows, agents, WhatsApp templates) are filled from your account.

## Good to know {#good-to-know}

- Each Make webhook is one [REST hook](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/rest-hooks): it shows on the Integrations page and counts toward the endpoint limit.
- If deliveries fail for 72 hours, the hook is turned off: delete the module's webhook in Make and create it again.
- Errors map to Make's types: a revoked key is a connection error, `429` a rate limit, the rest data errors with the reason.

## Without the app {#custom-webhook}

A **Webhooks → Custom webhook** module works too: copy its address, [add it as a webhook](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/webhooks#add) and pick the events. For actions, use the **HTTP** module against the [API](https://nomongeta.zenhalab.com/www/nomongeta/en/docs/integrations/api) with your key in the `Authorization` header.
