Trigger every other email

How could I setup a workflow that triggers every other email received or filters then does an action upon every email received? I’m willing to use AI for this.

Hi there @helpdesk …its really simple, 2 ways either:

  • keep a tiny counter in workflow static data. Each time an email arrives, increment; only proceed when the counter is even.

Nodes (minimal):

  1. Trigger: Gmail Trigger (or IMAP Email)

  2. Function (Counter - Need to make custom code)

  3. IF (even? → yes branch = do action; no branch = exit)

  4. (Your Action): HTTP Request, Slack, Set, etc.

    OR

    • Filter then act on every email (rules by From/Subject/Has Attachments)

    Nodes:

    1. Trigger: Gmail Trigger (or IMAP Email)

    2. IF: add any combination of rules (From contains, Subject regex, Has attachments)

    3. Action: make the conditions only on true branch

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