⚡ Create a secure personal AI assistant with OpenAI and Signal Messenger

921 views · ⚡ Personal Productivity

Description

image.png

Overview

This workflow streamlines the process of setting up a chat-bot using the Signal Messager API.

What this is for

Chat-bot applications have become very popular on Whatsapp and Telegram. However, security conscious people may be hesitant to connect their AI agents to these applications. Compared to Whatsapp and Telegram, the Signal messaging app is more secure and end-to-end encrypted by default. In part because of this, it is more difficult to create a chat-bot application in this app. However, this is still possible to do if you host your own Signal API endpoint.

This workflow requires the installation of a community-node package. Some additional setup for the locally hosted Signal API endpoint is also necessary. As such, it will only work with self-hosted instances of n8n.

You may use any AI model you wish for this chat-bot, and connect different tools and APIs depending on your use-case.

How to setup

Step 1: Setup Rest API

Before implementing this workflow, you must setup a local Signal Client Rest API.

version: "3"
services:
  signal-cli-rest-api:
    image: bbernhard/signal-cli-rest-api:latest
    environment:
      - MODE=normal #supported modes: json-rpc, native, normal
      #- AUTO_RECEIVE_SCHEDULE=0 22 * * * #enable this parameter on demand (see description below)
    ports:
      - "8080:8080" #map docker port 8080 to host port 8080.
    volumes:
      - "./signal-cli-config:/home/.local/share/signal-cli" #map "signal-cli-config" folder on host system into docker container. the folder contains the password and cryptographic keys when a new number is registered

Step 2: Install Node Package

image.png

image.png

Step 3: Register and Verify Account

image.png

Screenshot 20251109 174810.png

image.png

Step 4: Optional

image.png

🔗 Nodes Used

HTTP Request, AI Agent, OpenAI Chat Model, Simple Memory, n8n Form Trigger, n8n Form

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup