Registry / messaging / n8n-nodes-websocket-ws-prueba

n8n-nodes-websocket-ws-prueba

JSON →
library1.7.2jsnpmunverified

n8n community node (v1.7.2) that connects to any WebSocket server and triggers n8n workflows on incoming messages. Supports authentication via headers or query parameters (stored as n8n credentials), configurable auto-reconnect with interval and max attempts, extra query parameters, and sending an initial message on connect. Outputs events: open, message, close, error. Published as an n8n community node package; requires n8n-workflow peer dep. Active development on GitHub (santi648).

npm install n8n-nodes-websocket-ws-prueba
INSTALL
IMPORT
SIG · N8N-NODES-WEBSOCKE
N
n8n-nodes-websocket-ws-prueba
messagingjavascriptv1.7.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WebSocketTrigger
import { WebSocketTrigger } from 'n8n-nodes-websocket-ws-prueba'
const WebSocketTrigger = require('n8n-nodes-websocket-ws-prueba')
Package exports node class; ESM only (n8n community nodes are loaded as ESM).
WebSocketHeaderAuth
import { WebSocketHeaderAuth } from 'n8n-nodes-websocket-ws-prueba'
Credential class for header-based auth; exported from the same package.
WebSocketQueryAuth
import { WebSocketQueryAuth } from 'n8n-nodes-websocket-ws-prueba'
Credential class for query-parameter-based auth.

Shows import of WebSocketTrigger class and note on how n8n triggers work.

import { WebSocketTrigger } from 'n8n-nodes-websocket-ws-prueba'; // Example n8n node class usage (inside a workflow) const trigger = new WebSocketTrigger(); // Access description for n8n UI console.log(trigger.description); // In n8n, parameters are set via UI, then trigger.execute is called with workflow data. // This node triggers on events; typical response shape: // { event: 'message', message: { data: '...' } }
Debug
Known issues
gotchaNode only works inside n8n runtime; cannot be used standalone outside n8n.
fix
Install as n8n community node via Settings > Community Nodes > Install.
affects: >=1.0
gotchaAuto-reconnect with Max Reconnect Attempts = 0 means unlimited reconnection; may cause unintended resource usage.
fix
Set a finite max attempts (e.g., 10) or use a webhook to stop the workflow after failure.
affects: >=1.0
breakingBreaking change in v1.0: credential names changed from 'wsHeaderAuth' to 'webSocketHeaderAuth' (and similarly for query). Old credentials will fail.
fix
Reconfigure credentials in n8n with new names: 'WebSocket Header Auth' and 'WebSocket Query Auth'.
affects: >=1.0
Errors
Common errors & fixes
Cannot find module 'n8n-nodes-websocket-ws-prueba'
Package not installed as n8n community node; cannot require/import directly.
fix
Install via n8n UI: Settings → Community Nodes → Install, enter 'n8n-nodes-websocket-ws-prueba'.
TypeError: Cannot read properties of undefined (reading 'execute')
Trigger is not properly initialized by n8n runtime environment.
fix
Ensure node is installed correctly and used inside an n8n workflow.
Upgrade
Version history
1.7.2latest on npm
Audit
Dependencies
n8n-workflowrequiredPeer dependency required for n8n node interface types and runtime.
Agent activity
12 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
n8n-nodes-websocket-ws-prueba — npm install n8n-nodes-websocket-ws-prueba · libregistry