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…
If I put the label filter under the Gmail Trigger node like this:
Then it only return the email I sent to the receiver, not the email I receive from the receiver.
Appreciate the help!
WORKFLOW: