npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-relaystack

v0.2.3

Published

n8n community node package for RelayStack API - messaging automation platform

Downloads

1,157

Readme

n8n-nodes-relaystack

n8n community node package for RelayStack API — messaging automation platform.

Installation

Option 1: n8n Community Nodes (n8n >= 1.x)

  1. Go to Settings > Community Nodes in your n8n instance
  2. Enter the npm package name: n8n-nodes-relaystack
  3. Click Install

Option 2: Local Development

# Clone the repository
git clone <repo-url>
cd n8n-nodes-relaystack

# Install dependencies
npm install

# Build the package
npm run build

# Link to your local n8n
npm link
# Then in your n8n directory:
npm link n8n-nodes-relaystack

Option 3: Custom Nodes Directory

Copy the dist/ folder contents to your n8n custom nodes directory:

cp -r dist/* ~/.n8n/custom/nodes/

Credential Setup

  1. In n8n, create a new RelayStack API credential
  2. Enter your RelayStack server Base URL (e.g., https://relaystack.example.com)
  3. Enter your API Key (provided by your RelayStack instance)
  4. The API key is sent as a Bearer token in the Authorization header

Nodes

RelayStack Node

Action node with four resources:

| Resource | Operations | |----------|-----------| | Instance | Create, List, Get, Delete, Connect, Disconnect, Get Status, Send Login Code, Verify Code, Verify 2FA Password | | Message | Send Text | | Chat | List Chats, Get Chat Messages | | Event | Set Webhook, Get Webhook, Delete Webhook, Test Webhook |

RelayStack Trigger Node

Receives events from RelayStack via webhook. Supports filtering by event type:

  • All Events — receive everything
  • Message Received — new incoming messages
  • Message Sent — outgoing message confirmations
  • Connection Status Changed — instance connection state changes
  • Authentication Required — when re-authentication is needed

Usage Examples

Send a Message

  1. Add a RelayStack node to your workflow
  2. Select resource Instance > operation Create and set an instance name
  3. Add another RelayStack node with Instance > Send Login Code with your phone number
  4. Add Instance > Verify Code with the OTP you received
  5. (Optional) Add Instance > Verify Password if 2FA is enabled
  6. Add a RelayStack node with resource Message > Send Text, set the chat ID and message

Trigger Workflow on Incoming Message

  1. Add a RelayStack Trigger node as the workflow trigger
  2. Select the instance name and event type
  3. Connect downstream nodes to process the event data
  4. Activate the workflow — n8n automatically registers the webhook URL with RelayStack

Known MVP Limitations

  • Text messages only — media, files, and location messages are not supported in MVP
  • No batch operations — each message is sent individually
  • No npm publishing — install via local methods or community node settings
  • Webhook secret validation — optional HMAC validation is not yet exposed in the UI

Development

# Build TypeScript
npm run build

# Run linter
npm run lint

# Run tests
npm test

# Run unit tests only
npm run test:unit

# Run integration tests only
npm run test:integration

License

MIT