I want to auto label if label does not exist create and add label accordingly. This workflow is working for that but the problem is its only taking one mail if i want to fetch 20 emails and process the same its not working. I have tried taking gmail all messages with limit of 20 but further process is not working . Can anyone please suggest how can i achieve that.
Hi @Niharika_Tiwari,
the trigger should only trigger for the new emails. If you’d need to batch process N number of emails you could implement it with a schedule trigger and a regular Gmail node. You could also do some pre-filtering after getting the message, to only pass to the LLM the emails which do not have the specified labels.
I have tried that to still this is not working
Have you tried using Loop node to feed one email into LLM at a time (if I understood the problem right)?
1 Like
Thankyou so much its working now when i used loop
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.