> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notifique.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# n8n + Notifique

> Automate WhatsApp, SMS, email, and push in n8n with the official node.

<Tip>
  n8n is automation **Lego**: connect boxes with arrows to build WhatsApp, SMS, email, and push flows without writing code.
</Tip>

## What is n8n + Notifique?

**n8n** is a tool to build automations by **drawing flows**: boxes connected by arrows. The **`n8n-nodes-notifique`** package adds Notifique as a block inside n8n.

Think of Lego: each piece does one thing (receive webhook, format data, send message) and you assemble the full flow visually.

Install on **self-hosted n8n**. You will need an [API Key](/guides/api-key/index) with the right scopes.

## What is it for?

With the official node you can:

* **WhatsApp:** send, groups, instances, QR
* **SMS and email:** send, check status, cancel scheduled
* **Templates:** multichannel send
* **Contacts and tags**
* **Email domains**
* **Push:** apps, devices, messages

## When to use it?

| Situation                                     | Use n8n?                                     |
| --------------------------------------------- | -------------------------------------------- |
| Visual flow without programming               | **Yes**                                      |
| Connect CRM, spreadsheet, or external webhook | **Yes**                                      |
| Integration in code in your backend           | No (use API + LLMs.txt)                      |
| Quick send test from IDE chat                 | No (use [MCP](/build-with-ai/mcp-notifique)) |

## How to set up

### 1. Install the package

On your self-hosted n8n:

```bash theme={null}
npm install n8n-nodes-notifique
```

npm package: [n8n-nodes-notifique](https://www.npmjs.com/package/n8n-nodes-notifique)

### 2. Create credentials

Create a **Notifique API** credential:

| Field                   | What to enter                           |
| ----------------------- | --------------------------------------- |
| **API Key**             | Your `sk_live_...` or `sk_test_...` key |
| **Base URL** (optional) | Default: `https://api.notifique.dev/v1` |

Tip: use one key per environment (test and production).

### 3. Build the flow

Simple example:

1. Something happens (webhook, schedule, queue…)
2. You organize the data
3. **Notifique** block sends the message
4. If it fails, retry or notify someone
5. Save to CRM or spreadsheet if you want

## Reliability

* Use **Idempotency Key** on sends for safe retries
* `cancel` and `delete` ask for explicit confirmation
* Check HTTP `status` + `code` field to know if you retry or fix the request. See [Error responses](/guides/conceitos/resposta-de-erros)

## Ready-made templates

The package includes examples in `templates/`:

* `whatsapp-from-webhook.json`
* `payment-failure-multichannel.json`

## Good practices

* Give **only the scopes** the flow needs
* Different keys for dev and production
* Test first with `sk_test_` in the [Sandbox](/guides/sandbox/index)

***

## Next steps

* [Build with AI](/build-with-ai): overview
* [API Keys](/guides/api-key/index): scopes and best practices
* [Webhooks](/guides/webhooks/index): receive events in real time
* [Error responses](/guides/conceitos/resposta-de-erros): handle failures in the flow
