Email trigger from an email folder

Hello n8n community,

I would like to trigger my workflow when an email is placed inside a folder or subfolder of my imap email inbox, is this possible ? If so, how ?

Thank you.

Hello @jber95, welcome to the community.

In the IMAP trigger you can see the mailbox name to watch, this is where you would put the name of the folder / tag.

Hello @jabbson

what is the syntax when it comes to this field ? I cannot find any documentation regarding this.

thank you for your reply.

I think I was wrong, that wouldn’t be the field you play with, instead I think you need to create a filter using Custom Email Rule:

There are some examples for how to construct this filter, but i’ve never tried it myself.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.