Assigning Workflows to Specific Workers in n8n Queue Mode

Describe the problem/error/question

I’m running n8n in queue mode with multiple workers using Docker, and I would like to route specific executions to specific workers based on the workflow or some custom condition.

For example, I might need:

  • A workflow to be executed on a worker inside a corporate network (e.g., to access internal resources).
  • A specific workflow to always run on a worker with a fixed IP.

Is there a way to configure this kind of routing logic for executions in queue mode?
Ideally, I’d like to tag or label workers and then direct certain workflows (or executions with specific metadata) to those workers.

What is the error message (if any)?

N/A

Please share your workflow

N/A

Share the output returned by the last node

N/A

Information on your n8n setup

  • n8n version: 1.103.2
  • Database: PostgreSQL
  • n8n EXECUTIONS_PROCESS setting: queue
  • Running n8n via: Docker (Docker Compose / Stack)
  • Operating system: Ubuntu 22.04

HI @d3gnil

You would need to create a separate instance that does certain things the other does not.
For the routing you can do that with your network setup of the workers so they all route through the same IP to the outside world

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