Socket
Book a DemoInstallSign in
Socket

n8n-nodes-chat-wait

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-nodes-chat-wait

N8n node for branch flow control and multi-turn conversations with context memory

0.1.3
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Banner image

n8n-nodes-chat-wait

A custom n8n node for implementing branch flow control and multi-turn conversations with context memory support.

Features

  • Branch Flow Control: Node can immediately output data from previous nodes while waiting for user input
  • Multi-turn Conversations: Support waiting for user input and continuing workflow
  • Context Memory: Automatically save and manage conversation history
  • Session Management: Support multi-user session isolation
  • Timeout Control: Configurable timeout for waiting user input
  • Webhook Integration: Receive user input through webhooks

Installation

npm install n8n-nodes-chat-wait

Usage

Basic Configuration

  • Prompt Message: Set the message to display to users
  • Timeout: Set timeout for waiting user input (seconds)
  • Enable Context Memory: Turn on conversation history functionality
  • Memory Storage Key: Set the key name for storing conversation history
  • Session ID Field: Specify the field name for distinguishing user sessions

Output Ports

  • Continue: Immediately output data from previous nodes (if immediate output is enabled)
  • User Input: Output user input data and related context

Webhook Usage

The node automatically generates a webhook URL for receiving user input. POST request format:

{
  "chatWaitId": "generated wait ID",
  "userInput": "user input content",
  "sessionId": "session ID (optional)"
}

Conversation History Format

{
  "chatHistory": [
    {
      "type": "user",
      "message": "user message",
      "timestamp": "2025-07-03T10:00:00.000Z"
    }
  ]
}

Workflow Example

  • Trigger NodeData ProcessingChat Wait Node
  • Chat Wait node immediately outputs processed data to Continue port
  • Simultaneously generates webhook waiting for user input
  • User sends message to webhook through chat interface
  • Node receives user input and outputs to User Input port
  • Continue with subsequent workflow

Integration with Simple Memory

Can be used with Simple Memory and other memory nodes:

Previous Node → Chat Wait → Simple Memory → AI Processing → Chat Wait → ...

Prerequisites

You need the following installed on your development machine:

  • git
  • Node.js and npm. Minimum version Node 20. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL here. For Windows users, refer to Microsoft's guide to Install NodeJS on Windows.
  • Install n8n with:
    npm install n8n -g
    
  • Recommended: follow n8n's guide to set up your development environment.

Using this starter

These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the documentation.

  • Generate a new repository from this template repository.
  • Clone your new repo:
    git clone https://github.com/<your organization>/<your-repo-name>.git
    
  • Run npm i to install dependencies.
  • Open the project in your editor.
  • Browse the examples in /nodes and /credentials. Modify the examples, or replace them with your own nodes.
  • Update the package.json to match your details.
  • Run npm run lint to check for errors or npm run lintfix to automatically fix errors when possible.
  • Test your node locally. Refer to Run your node locally for guidance.
  • Replace this README with documentation for your node. Use the README_TEMPLATE to get started.
  • Update the LICENSE file to use your details.
  • Publish your package to npm.

More information

Refer to our documentation on creating nodes for detailed information on building your own nodes.

License

MIT

Keywords

n8n-community-node-package

FAQs

Package last updated on 03 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.