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 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-signal-cli-rest-api

v0.8.1

Published

Signal Node for n8n using signal-cli-rest-api

Readme

n8n Signal Node


📋 Table of Contents

🚀 Features

  • Send Messages: Send text messages to individuals or groups
  • Send Media: Send images, files, and attachments
  • Group Management: Manage Signal groups
  • Message Reception: Trigger workflows based on incoming messages
  • Secure Communication: Leverages Signal's end-to-end encryption
  • REST API Integration: Uses signal-cli-rest-api for reliable communication
  • JSON-RPC Support: Optimized for performance with JSON-RPC mode

🛠 Prerequisites

Before using this n8n Signal node, you need to set up the Signal CLI REST API service:

1. Signal CLI REST API Setup

Create a docker-compose.yml file with the following configuration:

version: '3'
services:
  signal-cli-rest-api:
    image: bbernhard/signal-cli-rest-api:latest  # Or specific version, e.g., v0.10.5
    container_name: signal-cli-rest-api
    restart: unless-stopped  # Auto-restart except manual stop
    ports:
      - "8085:8080"  # Change 8085 to available port if needed (e.g., 8003:8080)
    volumes:
      - /mnt/your-pool/signal-data:/home/.local/share/signal-cli  # Replace /mnt/your-pool with your path to signal data
      # Additionally, for config: - /mnt/your-pool/signal-config:/etc/signal-cli-rest-api (if custom settings)
    environment:
      - MODE=json-rpc  # Recommended for speed and resolves group reception issues
      - AUTHENTICATION_API_TOKEN=your-secret-token  # Optional, for basic auth (save this token for n8n credentials)
      - MAX_DB_CONNECTIONS=10  # Optimize as needed

2. Signal Account Registration

  1. Start the Docker container:

    docker-compose up -d
  2. Register your phone number:

    curl -X POST -H "Content-Type: application/json" \
         -d '{"number": "+1234567890"}' \
         http://localhost:8085/v1/register/+1234567890
  3. Verify with the received SMS code:

    curl -X POST -H "Content-Type: application/json" \
         -d '{"number": "+1234567890", "captcha": "signal-hcaptcha-token"}' \
         http://localhost:8085/v1/register/+1234567890/verify/123456
  4. Alternative: Link with existing Signal app using QR code:

    http://localhost:8085/v1/qrcodelink?device_name=n8n-signal

📦 Installation

Method 1: n8n Community Package Manager

  1. In your n8n instance, go to SettingsCommunity Nodes
  2. Click Install a community node
  3. Enter the package name: n8n-nodes-signal-cli-rest-api
  4. Click Install

Method 2: Manual Installation

  1. Navigate to your n8n installation directory
  2. Install the package:
    npm install n8n-nodes-signal-cli-rest-api
  3. Restart n8n

Method 3: Development Setup

  1. Clone this repository:

    git clone https://github.com/zblaze/n8n-nodes-signal.git
    cd n8n-nodes-signal
  2. Install dependencies:

    npm install
  3. Build the node:

    npm run build
  4. Link to your n8n installation:

    npm link
    cd /path/to/n8n
    npm link n8n-nodes-signal

⚙️ Configuration

Credentials Setup

  1. In n8n, create new credentials for Signal API
  2. Configure the following fields:
    • API URL: http://localhost:8085 (or your signal-cli-rest-api URL)
    • Phone Number: Your registered Signal phone number (e.g., +1234567890)
    • API Token: (Optional) The authentication token you set in docker-compose
    • Mode: json-rpc (recommended for better performance)

Node Configuration

The Signal node supports multiple operations and can be configured through the n8n interface:

  • Operation: Choose from Send Message, Send Media, Create Group, etc.
  • Recipient: Phone number or group ID
  • Message: Text content to send
  • Attachments: Files to send with the message

📚 Usage

Basic Message Sending

  1. Add the Signal node to your workflow
  2. Select Send Message operation
  3. Configure recipient and message content
  4. Connect your Signal credentials
  5. Execute the workflow

Receiving Messages (Trigger)

  1. Add the Signal Trigger node to start your workflow
  2. Configure the phone number to monitor
  3. Set up webhook or polling mechanism
  4. Connect subsequent nodes to process incoming messages

🔧 Operations

Trigger Operations

  • Receive Message: Receive text messages from Send text messages to contacts or groups

Send Operations

  • Send Message: Send text messages to contacts or groups
  • Send Media: Send images, documents, and other files
  • Send Reaction: React to messages with emoji
  • Remove Reaction: Remoce reaction from the message

Group Operations

  • Update Group: Modify group name
  • List Groups: Get all groups for the account

Debug Mode

Enable debug logging in your docker-compose.yml:

environment:
  - MODE=json-rpc
  - LOG_LEVEL=debug
  - AUTHENTICATION_API_TOKEN=your-secret-token

Health Check

Test your signal-cli-rest-api setup:

# Health check
curl http://localhost:8085/v1/health

# List registered numbers  
curl http://localhost:8085/v1/accounts

🤝 Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Guidelines

  • Follow TypeScript best practices
  • Add tests for new features
  • Update documentation
  • Follow n8n node development standards
  • Ensure compatibility with latest n8n version

Code Style

# Run linter
npm run lint

# Run tests
npm run test

# Build for production
npm run build

💖 Support the Developer

If you find this node helpful, consider supporting the developer:

Ko-Fi

Coinbase Commerce

Donation Links:

Your support helps maintain and improve this project! 🙏

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🔗 Related Links