Hello everyone
I tried to create my first AI Email Agent, but I am having some problem. When I communicate with the AI agent and ask it to send an email, the Ai agent can’t find the email address to send the email to.
From the screenshots you shared, it looks like the subworkflow isn’t receiving any email address (send to), message content, or other required data.
In my opinion, you should improve the system prompt where you call the other workflow. For example, mention the tool name like send_email, and clearly specify what values need to be passed when calling that tool. Then test it properly.
Also, just wondering — what’s the reason for using a subworkflow to send emails? Why not just use the Gmail tool directly instead?
Thanks Ahzem for your suggestion, to be honest this is my first AI agent. When I created it, I used Nate Herc’s video where he shows how to create an AI mail agent. I repeated everything, I thought so, but something is not working right. I’m trying to figure out what’s wrong, it’s been three days now, I’ve watched the video 5 times, everything is correct. After that I decided to ask for advice from the profesionals.