The goal is for my AI agent to ONLY create a reply draft to a reply to an email I’ve sent that I have put a certain label on it.
How to make n8n detect the custom label I’ve created in a reply email that is in the labelled thread?
Context:
I’ve send an email to a receiver.
I labeled this email as “Availability”
I want that if this email thread got a reply from the receiver, my AI will help me create a reply draft.
AI will not create a draft for incoming emails that has no label.
Apprarently, the gmail trigger doesn’t detect he custome label, only these 4 default label…
Well that makes sense, becaue the email that the customer is sending to you, won’t be tagged. I would implement a step in front of this that determines if an email needs response, passes it to the next step, and applies the tag.