Community node package for n8n (v2.0.9) that provides standalone WebSocket trigger and response nodes, enabling real-time WebSocket server creation without relying on n8n's HTTP server. Supports custom port/path configuration, connection persistence between trigger and response nodes, automatic ping/pong keep-alive, and JSON/plain text messaging. Updated irregularly on GitHub. Differentiator: fully independent WebSocket server mode vs n8n's built-in WebSocket node.
npm install n8n-nodes-websocket-standaloneNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import and configure both WebSocket Trigger and Response nodes with typical parameters for an n8n workflow.
Use different ports for different workflows, or use connection ID to differentiate.
Implement reconnection logic in clients or handle workflow lifecycle gracefully.
Update workflows using the trigger node output to reference 'serverId' instead of 'connectionId'.
Use 'fromInput' with a serverId property or 'custom' with explicit server ID.
Encode binary data as base64 string in JSON or use a separate endpoint.
Change the port in the trigger node configuration to an available port.
Verify clientId is valid and client is still connected; use connection persistence with fromInput method.
Check workflow execution timing; ensure response node executes before timeout/close.