Is it possible to create a websocket connection within n8n?

Hi all,

I’m just learning about websockets, so I dont necesserily have an idea what I am talking about in that perspective lol.

But before I go deep in the rabbithole, is it at all possible to achieve this within N8N? I know it will need to be on a self-hosted instance, and when I have installed the dependencies would it be possible to create a websocket connection within a code-node?

Thanks in advance!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

I can already answer this, yes you can! Here is a nice test:

Beautiful

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.