Slack Trigger - I want to trigger a workflow when a message is posted to a channel

This is more of a general question about the Slack trigger itself… but from the testing I’ve done so far, it doesn’t look like the n8n Slack trigger node is built to use the socket mode provided by the Slack API?

Is the only way to configure the Slack trigger via the provided web hook URL?

If so, does that mean that the only way to use the web hook URL provided by the Slack trigger node is by exposing my locally hosted instance of n8n to the internet?

Information on your n8n setup

  • n8n version: 1.62.3
  • Database: SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): ?
  • Running n8n: Docker
  • Operating system: Docker container runs Alpine Linux

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:

Hey @dmoore44 , to my knowledge that is how Slack event subscription works.

That’s what I was getting at… when you create a new Slack app, Socket mode is enabled by default - you have to disable it in order to specify an HTTP endpoint for it to POST data to.

Since I’m using a self-host n8n instance, I was hoping to be able to use Socket mode to interact with n8n so I don’t need to expose my private instance to the internet.

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