connections

Send WhatsApp messages and work with message history through the Connections API in n8n

Package Information

Released: this month
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.0
Author: DeepLogic Inteligência

Documentation

Connections for n8n

This community node connects n8n workflows to the Connections API. It supports sending WhatsApp text and media, reading message history, and downloading attachments as n8n binary data.

Install from npm

In an n8n 2.x self-hosted instance that allows unverified community nodes, an owner or admin can open Settings → Community Nodes → Install, enter n8n-nodes-connections, and select Install after reviewing the confirmation. Search for Connections in the workflow editor after installation. For self-hosted deployments with separate workers, follow n8n's instructions for making community nodes available to the workers. Community Nodes installation in the n8n interface · Manual community node installation

Install a local build

Use an n8n 2.x self-hosted instance. Build the package with Node.js 24.

npm ci
npm run lint
npm pack

Transfer n8n-nodes-connections-0.1.0.tgz to the n8n server. Run these commands as the user that runs n8n, using the actual path to its data directory.

mkdir -p ~/.n8n/nodes
cd ~/.n8n/nodes
npm install /absolute/path/n8n-nodes-connections-0.1.0.tgz

Restart n8n and search for Connections in the node picker. If n8n runs in Docker, install into the persistent data volume. Install the same build in each worker that executes these workflows. Manual community node installation

Configure the credential

Create a Connections API credential. Use https://connection-api.deeplogic.cloud for API URL or enter your own deployment URL. Copy the instance ID and its API key from the instance overview in Connections. The credential test checks access to that instance.

Use the node

Resource Operation Parameters and output
Message Send Text Enter the recipient and text. The result contains the message ID and its history reference when available.
Media Send Choose a media type and a public URL or binary input. A URL requires a MIME type. Binary inputs can use the existing MIME type. Files can be up to 8 MiB.
Message List History Optionally filter by chat. Use nextBefore as Before to fetch the next page.
Media Download Enter the message ref from history or data.ref from a webhook. The result includes metadata and binary data in the selected field, data by default. The WhatsApp instance must be connected.

Import the Send Text example, select a Connections credential, and replace the example recipient with your test number.

For incoming messages, add an n8n Webhook node with method POST. In Connections, enable the instance webhook and select MESSAGES_UPSERT. Use the event payload from the Webhook node in subsequent steps. Connections integration guide

Release a version

Push the release commit and a tag matching the package version, such as v0.1.0. The GitHub Actions workflow checks the tag, runs the n8n linter, builds the package, and publishes it to npm with provenance. It accepts the repository's NPM_TOKEN secret for the first release and supports npm trusted publishing once configured. npm provenance requirements · npm trusted publishing

Discussion