Hi! I have set up of a simple ai-agent customer success email replier. It uses different tools to form its response which works great.
But somehow now it is replying to itself!! (super weird haha - alive?
)
It replies to its own responses and seems to take those as new message triggers by the gmail trigger.
How can I only trigger the workflow when the emails received in gmail are not sent from the agent?
Here’s my setup:
Would be super greatful for your help!
1 Like
Hey @jemma12,
That sounds interesting haha, maybe it’s alive after all!
If it’s only monitoring one folder, maybe you could move the email to a different folder or tag after it’s processed. Alternatively, you could add a filter after the first node trigger to check the sender’s address for example, ignore emails from yourself and only process replies from other people using an if node.
Hope that helps!
Best regards,
Samuel
1 Like
Thanks! the filter worked perfectly.
Now i have another issue, it keeps sending off two gmails even though i only ask it to reply once, have you faced this before or know how one could fix it?
1 Like
the problem is definitely either on your trigger node or your end node
can you provide screenshot of the configuration of those 2?
most likely it’s on the sending email
is it possible that you are sending the email to the same email account that you setup the trigger to listen for message received?
as in you are replying your own email
i saw you have a sub agent, what does that do? i hope its not to send email as well, xd
Hey @jemma12
Good glad that fixed first part, so when you mentioned, can you share the executions screen please? It could be because you have two items being returned so it processes each item.
Happy to help further,
Samuel