I want n8n to trigger a workflow once an email has been labeled. is this possible, I only see the “new email trigger”.
My process requires a phone call. After calling the client, I will label the email with the right label. After labeling the email, I want to trigger the process.
This feature is available on Zapier, but I cannot find it on n8n.automatically
I tried to use “new email received” and labels as filters but I cannot get the workflow to trigger.
Hi, in the n8n node you can’t. But I can give you a workaround workflow which would work.
Add a “On a schedule” trigger then a get emails node with the label filter. You can then add another gmail node to remove the label so the same mail dosen’t get picked up, ore add a time filter so it picks up mails that are sent - 14.59 seconds
I think the issue is, it’s expecting a message to be received with the label already attached, I just tested and it seems if I got the email to inbox then I add the label, it doesn’t process, it only processes when I send an email with the label attached already, then it processes.
Like this, if I send email with label attached, it works. Maybe you need a workflow to forward / reply to the email but send it to yourself with a label, so the workflow will pick it up then, so have another workflow which forwards email to yourself and adds a label maybe, not just add label.