Setting labels on gmail

i’m setting a label on gmail

when a mail get sent with a certain title then it gets labelled

my gmail philtre is searching for mail throughout the last day
but that means the same mail will get found and set with label again and again throughout the day?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @bally,

Could you share the workflow json so we can take a look at how you’re setting up the parameters here?

You can do so by following these steps - Export and import workflows | n8n Docs - and pasting it here between the </> option :slight_smile:

Thank you for sharing!

Given that your wf triggers every 15 minutes, you could only search for emails that have come in between that time, instead of emails that have come in in the last 24h, which have already been sorted through.

Alternativelly, you can also set up a conditional logic to check, of the emails polled, if there is already a label, don’t do anything. If there isn’t, move on to the Add Label node.