Package Information
Available Nodes
Documentation
n8n-nodes-gallabox
An n8n community node package for integrating with the Gallabox WhatsApp Business platform.
Overview
This package provides two nodes:
- Gallabox – Perform actions against the Gallabox REST API (contacts, conversations, messages, templates, users)
- Gallabox Trigger – Listen for webhook events from Gallabox and start workflows automatically
Prerequisites
- n8n >= 0.187.0
- A Gallabox account with API access
- Your Gallabox Account ID, API Key, API Secret, and Channel ID
Installation
Via n8n UI (Recommended)
- In your n8n instance go to Settings → Community Nodes
- Click Install
- Enter
@gallabox/n8n-nodes-gallabox - Click Install and restart n8n when prompted
Manual (Self-hosted)
npm install @gallabox/n8n-nodes-gallabox
Then restart your n8n instance.
Credentials Setup
Step 1 — Find your credentials in Gallabox
- Log in to your Gallabox dashboard
- Go to Settings → API & Webhooks
- Copy your Account ID, API Key, and API Secret
- Go to Settings → Channels and copy your WhatsApp Channel ID
Step 2 — Add credentials in n8n
- In n8n go to Credentials → New Credential
- Search for Gallabox API and select it
- Fill in the fields:
| Field | Where to find it |
|---|---|
| Account ID | Gallabox → Settings → API & Webhooks |
| API Key | Gallabox → Settings → API & Webhooks |
| API Secret | Gallabox → Settings → API & Webhooks |
| Channel ID | Gallabox → Settings → Channels |
- Click Save — n8n will test the connection automatically
Available Operations
Contact
| Operation | Description |
|---|---|
| Create | Create a new contact |
| Get | Get a contact by ID |
| Upsert | Create or update a contact by phone number |
Conversation
| Operation | Description |
|---|---|
| Get | Get a conversation by ID |
| Get All | List conversations with optional status/assignee filters |
| Assign | Assign a conversation to a user |
| Unassign | Remove the current assignee from a conversation |
| Resolve | Mark a conversation as resolved |
| Reopen | Reopen a resolved conversation |
Message
| Operation | Description |
|---|---|
| Send Text | Send a plain text WhatsApp message |
| Send Template | Send an approved WhatsApp template message |
| Send Interactive | Send a button-based interactive message |
| Send Media | Send an image, video, or document |
Template
| Operation | Description |
|---|---|
| Get | Get a template by ID |
| Get All | List all approved templates |
User
| Operation | Description |
|---|---|
| Get Me | Get the currently authenticated user |
| Get All | List all users in the account |
| Update Availability | Set a user's availability (online / offline / busy) |
Gallabox Trigger Node
The Gallabox Trigger node starts a workflow automatically when an event occurs in Gallabox.
Supported Events
Contact: contact.created, contact.updated, contact.mapped, contact.unmapped
Conversation: conversation.created, conversation.updated, conversation.UnAttended, conversation.Tag.mapped, conversation.Tag.unmapped
Message: message.received, message.flow.received, message.WA.status.received, message.WA.status.failed, message.WA.Interaction.Received, message.WA.Cart.received, message.WA.Payment.status.received
Template: template.status
Setting Up the Trigger
- Add a Gallabox Trigger node to your workflow and activate it — a webhook URL will appear
- Copy the webhook URL
- In Gallabox go to Settings → Webhooks
- Click Add Webhook, paste the URL, and select the events you want
- Save — Gallabox will now POST events to your n8n workflow
Example Workflows
1. Send a WhatsApp message when a Google Form is submitted
Nodes: Google Sheets Trigger → Gallabox (Send Template)
Use this to notify a lead or customer on WhatsApp the moment they fill out a form.
2. Auto-reply to incoming WhatsApp messages
Nodes: Gallabox Trigger (message.received) → IF → Gallabox (Send Text)
Use this to send an automated response when a customer messages you outside business hours.
3. Notify your team when a conversation is unattended
Nodes: Gallabox Trigger (conversation.UnAttended) → Slack / Email
Use this to alert your support team when no agent has responded to a conversation within a set time.
4. Create or update a contact from a CRM event
Nodes: HubSpot Trigger → Gallabox (Contact Upsert)
Keep your Gallabox contacts in sync whenever a contact is updated in your CRM.
5. Resolve a conversation after a successful payment
Nodes: Payment Webhook → Gallabox (Conversation Resolve)
Automatically close a conversation once a payment is confirmed.
Troubleshooting
Credential test fails
- Double-check your Account ID, API Key, and API Secret — copy them fresh from Gallabox
- Make sure your Gallabox account has API access enabled
Node not appearing in n8n
- Restart n8n after installing the community node
- Verify the package installed correctly:
npm list @gallabox/n8n-nodes-gallabox
Messages not sending
- Ensure the Channel ID is correct (found under Settings → Channels in Gallabox)
- For template messages, confirm the template is approved in your WhatsApp Business Account
Trigger not receiving events
- Make sure the workflow is active (not just saved)
- Verify the webhook URL is correctly pasted in Gallabox Settings → Webhooks
- Check that the event type in Gallabox matches what the trigger node is listening for
Development
npm install # Install dependencies
npm run build # Compile TypeScript + copy icon to dist/
npm run dev # Watch mode
npm run lint # Lint
npm run lintfix # Auto-fix lint issues
npm run format # Prettier
License
MIT
