I am planning to start using n8n as my main tool to create workflows.
Currently I am programing in Python with CrewAI.
I have a solution which needs to create a flow where the qty of agents are variable and the LLMs to be accessed as well. I want to have way I could pass these two parameters and the flow is built automatically.
**n8n version: 1.56.2
**Database (default: SQLite):I don´t know this answer
Technically you can do that through n8n’s own API:
I do wonder thought if it wouldn’t be a lot (and I mean a LOT!) easier to just create a workflow with a number of LLMs/agents set up that are controlled through If or Switch statements?