Hello,
I have not seen a single video or template or tutorial where people are building agents to handle multiple accounts. Real-world use cases are generally going to include numerous email accounts, or calendars, or even Notion Databases.
Take this image as an example. My calendar agent can be simplified only because I am using a Master Calendar which aggregates ALL my calendars, making this much easier. As it is, the MCP setup seems to be a total regression and I am having trouble getting my agent to follow the proper steps, so I intend to revert back from the MCP strategy.
That doesn’t work so well with other things, like email, however. Say I need to search all my emails. Say I have 7 accounts. And say that I’m not simply interested in inbound messages received, but also sent and draft messages.
So, the workflow would look like this:
Master Agent > Email Agent > Search Tool x7 for Each Email Account
Let’s say this command begins with “Reply to my last email from Heather and let her know I’ll call her tomorrow morning.” The email agent will first have to search the 7 inboxes, find the right email, and then create the response in the proper thread from the proper account.
I am wondering if a better flow would be:
Master Agent > Email Agent > Email Search Agent > Search Tool x7 > Email Send Agent
Basically, this would be adding a sub, sub-workflow.
I just cannot wrap my head around making this work with one sub-workflow; I’ve tried, and it isn’t. And MCP seems far worse than using an AI Agent node and giving it explicit instructions.
It must be considered that the Master Agent may be given a more complex prompt, too, such as “Search my calendar for a free spot, add a task for this to Notion, then reply to my last email from Heather and let her know I’ll call her tomorrow morning.”
I am hoping someone who has built real-world, complex agents can advise here, as most of the tutorials and templates are quite basic that I’ve seen.
TYIA