Need help with workflow

Hi @Alex6

Instead of using multiple agents in your main workflow, set it up with sub workflows. Use a system prompt to tell the main agent when to use each sub workflow tool. Here’s an example.

The solution in this post uses a sub workflow as a tool. How to Pass Subflow Outputs Back to the Main Flow: Resolving Return Value Issues - #2 by rbreen

If this answer solves your question, please mark it as the solution so others can benifit as well.