augusto-wa-gateway

n8n community node for Augusto WA Gateway

Package Information

Released: this month
Downloads: 0 weekly / 0 monthly
Latest Version: 0.2.0

Documentation

n8n-nodes-augusto-wa-gateway

Community nodes for integrating n8n with Augusto WA Gateway, a self-hosted WhatsApp Web gateway.

Features

  • Send WhatsApp text messages
  • Automatic phone number to WhatsApp LID resolution
  • Optional Wait Until Sent
  • Multiple WhatsApp sessions
  • Start and inspect sessions
  • Retrieve QR codes
  • Trigger n8n workflows from incoming WhatsApp events
  • Persistent webhook subscriptions

Nodes

Augusto WA Gateway

Action node for interacting with the Gateway.

Supported operations include:

  • Send Text
  • Start Session
  • Session Status
  • Get QR
  • Logout / Delete Session

Send Text

Fields:

  • Session
  • Chat ID
  • Text
  • Wait Until Sent

Example Chat ID:

5554999999999@c.us

The Gateway can automatically resolve a phone number to the corresponding WhatsApp LID when required.

Augusto WA Trigger

Starts an n8n workflow automatically when a supported event occurs.

Supported events:

  • Message Received
  • Message Created
  • Session Ready
  • Session Disconnected
  • QR Updated
  • Authenticated
  • Authentication Failure

Use a specific session:

default

Or listen to all sessions:

*

Installation

Install through n8n Community Nodes using:

n8n-nodes-augusto-wa-gateway

Or install with npm:

npm install n8n-nodes-augusto-wa-gateway

Credentials

Create an Augusto WA Gateway API credential.

Base URL

Same host:

http://localhost:3000

Docker network:

http://augusto-wa-gateway:3000

API Key

Use the same API key configured in Augusto WA Gateway.

Send Text example

{
  "session": "default",
  "chatId": "5554999999999@c.us",
  "text": "Hello from n8n",
  "waitUntilSent": true
}

Example response:

{
  "ok": true,
  "sent": true,
  "to": "167327647707177@lid",
  "waitUntilSent": true
}

Trigger payload example

{
  "event": "message",
  "session": "default",
  "timestamp": 1791123456789,
  "data": {
    "id": "message-id",
    "from": "167327647707177@lid",
    "body": "Hello",
    "fromMe": false,
    "hasMedia": false,
    "type": "chat"
  }
}

Gateway health check

curl http://localhost:3000/health

Start a session

curl -X POST -H "X-API-Key: YOUR_API_KEY" http://localhost:3000/api/sessions/default/start

Session status

curl -H "X-API-Key: YOUR_API_KEY" http://localhost:3000/api/sessions/default/status

QR Code

The QR code is only available while the session status is qr.

curl -H "X-API-Key: YOUR_API_KEY" http://localhost:3000/api/sessions/default/qr

If the session is already connected and the status is ready, qr_not_available is expected.

Webhooks

When an n8n workflow using Augusto WA Trigger is activated, the Trigger registers a webhook in Augusto WA Gateway.

When the workflow is deactivated, the webhook registration is removed.

Security

Use a strong API key.

Do not expose Augusto WA Gateway directly to the public internet without authentication, HTTPS, and appropriate network protections.

Important

This project uses WhatsApp Web automation.

It is not the official Meta WhatsApp Cloud API.

Changes to WhatsApp Web can affect compatibility.

License

MIT

Discussion