whatsapp-bridge-xyz

n8n community nodes for WhatsApp Bridge service

Package Information

Released: 7 mo ago
Downloads: 9 weeklyΒ /Β 68 monthly
Latest Version: 1.0.11
Author: WhatsApp Bridge Team

Documentation

WhatsApp Bridge n8n Node Package

npm version
License: MIT

A professional n8n community node package for integrating WhatsApp messaging capabilities directly into your n8n workflows.

πŸš€ Quick Start

Prerequisites

Before installing this package, you MUST have the WhatsApp Bridge service running:

The package requires a backend service running locally or remotely. You have two options:

Option 1: Docker (Recommended)

Download and run the Docker container:

git clone https://github.com/jonathanicq/whatsapp-n8n-bridge.git
cd whatsapp-n8n-bridge
docker compose up -d

Docker Details:

  • Service runs on http://localhost:4000
  • Includes MySQL, Redis, and Node.js services
  • Requires: 512MB RAM, 1 core CPU (1GB/2 cores recommended)
  • Chromium/Puppeteer included for WhatsApp automation

GitHub Repository: https://github.com/jonathanicq/whatsapp-n8n-bridge

Option 2: Local Installation

npm install
npm run dev  # Starts on http://localhost:4000

Installing the n8n Node Package

Method 1: Via n8n UI (Recommended)

  1. Open n8n: http://your-n8n-address:5678
  2. Go to Settings β†’ Community Nodes
  3. Click Install
  4. Search for n8n-nodes-whatsapp-bridge-xyz
  5. Click Install
  6. n8n will restart automatically

Method 2: Via npm

cd /path/to/your/n8n
npm install n8n-nodes-whatsapp-bridge-xyz

Method 3: Docker Mount

docker run -v ~/.n8n:/home/node/.n8n \
  -e NODE_PATH=/home/node/.n8n/node_modules \
  n8n/n8n

Then inside the container:

npm install n8n-nodes-whatsapp-bridge-xyz

πŸ”§ Configuration

Step 1: Create Credentials

  1. Open any n8n workflow

  2. Add a WhatsApp Bridge node

  3. Click Create Credentials β†’ WhatsApp Bridge API

  4. Fill in the fields:

    Field Value Example
    Base URL Your Bridge service URL http://localhost:4000
    API Key (Optional) API key if configured Leave empty if not required
  5. Save credentials

Step 2: Use in Workflows

Now you can use the WhatsApp Bridge nodes in your workflows!


πŸ“‹ Available Nodes

1. WhatsApp Bridge (Action Node)

Perform operations on the WhatsApp service.

Operations:

Send Message

Send an immediate WhatsApp message.

  • To: Phone number in E.164 format (e.g., +351999888777)
  • Text: Message content
{
  "to": "+351999888777",
  "text": "Hello there!"
}

Queue Message

Queue a message for reliable delivery with automatic retries.

  • To: Phone number
  • Text: Message content

Get Status

Check the WhatsApp connection status.

Response:

{
  "connected": true,
  "authenticated": true,
  "phoneNumber": "351999888777"
}

Get Webhooks

List all registered webhooks.

2. WhatsApp Bridge Trigger (Webhook Node)

Trigger workflows when WhatsApp messages are received.

How it works:

  1. Activate the trigger
  2. Service automatically registers webhook
  3. When message arrives, workflow is triggered
  4. Deactivate to unregister webhook

Received Message Format:

{
  "id": "msg-123456",
  "from": "+351999888777",
  "text": "Hello from WhatsApp",
  "timestamp": "2026-03-08T12:00:00Z",
  "type": "text"
}

πŸ’‘ Workflow Examples

Example 1: Send a Message on Demand

Manual Trigger
  ↓
WhatsApp Bridge (Send Message)
  - To: +351999888777
  - Text: "Hello There"
  ↓
Notification Node (Success)

Example 2: Auto-Reply to Messages

WhatsApp Bridge Trigger (Webhook)
  ↓
Extract Sender: {{ $json.from }}
  ↓
WhatsApp Bridge (Send Message)
  - To: {{ $json.from }}
  - Text: "Thanks for your message! We'll respond soon."

Example 3: Forward to External API

WhatsApp Bridge Trigger
  ↓
HTTP Request (POST to your API)
  ↓
Process Response
  ↓
WhatsApp Bridge (Send Message - Reply)

⚠️ Troubleshooting

"Connection refused"

Problem: Can't connect to Bridge service
Solution:

  • Verify Bridge is running: curl http://localhost:4000/health
  • Check firewall settings
  • Ensure correct Base URL in credentials

"Credentials not found"

Problem: Node says credentials missing
Solution:

  • Create new credentials (Settings β†’ Community Nodes β†’ Manage)
  • Verify credentials are selected in the node
  • Test connection by clicking node settings

"Phone number format error"

Problem: Message failed to send
Solution:

  • Use E.164 format: +[country-code][number]
  • Example: +351999888777 (Portugal)
  • Remove spaces or dashes

"Webhook registration failed"

Problem: Trigger won't activate
Solution:

  • Check Bridge service logs
  • Verify n8n instance is reachable
  • Ensure API Key (if required) is correct
  • Check network connectivity

"Message says queued but not sent"

Problem: Messages not being delivered
Solution:

  • Check WhatsApp authentication: Use "Get Status" operation
  • Verify phone number format
  • Check Bridge service logs for errors
  • Ensure message text is not empty

πŸ› Getting Help & Reporting Issues

Found a Bug?

Create an issue on GitHub:

Steps:

  1. Go to: https://github.com/jonathanicq/whatsapp-n8n-bridge/issues
  2. Click New Issue
  3. Provide:
    • Description of the problem
    • Steps to reproduce
    • Expected vs actual behavior
    • Environment (n8n version, OS, Docker version)
    • Error logs (if available)

Feature Requests

Open a GitHub Discussion or Issue with:

  • Use case
  • Expected behavior
  • Why it would be useful

Need Help?

  1. Check existing issues: https://github.com/jonathanicq/whatsapp-n8n-bridge/issues
  2. Read the documentation: https://github.com/jonathanicq/whatsapp-n8n-bridge#documentation
  3. Create an issue with the [help] tag for guidance

πŸ” Security

  • βœ… API credentials stored securely in n8n
  • βœ… Webhook signatures verified with HMAC-SHA256
  • βœ… No sensitive data logged
  • βœ… HTTPS support in production
  • βœ… Secrets never exposed in logs

πŸ“¦ What's Included

  • WhatsApp Bridge Node - Action node for sending messages
  • WhatsApp Bridge Trigger - Webhook trigger for incoming messages
  • WhatsApp Bridge API Credentials - Secure credential management
  • Full TypeScript support - Type definitions included
  • Complete documentation - Inline help and examples

πŸ“‹ Requirements

Component Version Notes
n8n 1.0+ Works with n8n 1.0 and later
Node.js 20+ For bridge service
Docker Latest For running bridge service
RAM 512MB Minimum (1GB recommended)
Storage 500MB For dependencies and session

πŸ“„ License

MIT License - See LICENSE for details


πŸ”— Useful Links


πŸ’¬ Questions?

  • πŸ“ Issues & Bugs: GitHub Issues
  • πŸ“š Documentation: Repository README
  • πŸ†˜ Help: Create an issue with [help] tag

Made with ❀️ for the n8n community

Discussion