Skip to main content

I'm testing AI integration by creating an Inbox Zero assistant. I'm finding the “New Email” Gmail trigger very task-consuming. Is there a better approach? I get hundreds of emails a day.

 

I’ve also tried using a scheduler with “Find Email”, but that only returns one email at a time. I’ve also tried adding a loop, but the execution isn’t quite what I’m looking for.

Hi ​@charlesgoddard 

Perhaps you can explain more about what you are trying to have the AI automation do for you.


The app is/was triggered by a “New Email”, which then formats the email and sends it to a Chatbot that responds with a classification/action (delete, archive, respond, defer, or delegate), and some attributes for drafting an email, if necessary. It then applies the appropriate label, and archives the email (to zero-out the inbox).

 

What I’ve found is that 2 - 15 seconds for this trigger creates a larger number of tasks/day. I’d like to find a solution that allows for several tasks a day, and can process all of the new emails between runs


@charlesgoddard 

If you are trying to run Zaps on a schedule, then you can use the Schedule trigger: https://zapier.com/apps/schedule/integrations#help

 

If you are trying to fetch multiple emails, then you will need to explore using the Gmail API.

 

Depending on how you are trying to handle the multiple fetched emails, it still may require processing each email thru each Zap step, thus not really saving Tasks in Zap Runs.

 

Or if you are trying to do some sort of batch processing of multiple emails, then you would likely need to explore using Code and the Gmail API more.

 

Gmail API: https://developers.google.com/workspace/gmail/api/guides


Hi there, ​@charlesgoddard 👋

Just checking in to see if you had any luck with Troy’s suggestions around using a Schedule trigger or exploring the Gmail API for batch processing.

If you got it solved, we’d love it if you could share how you set it up—it could be really helpful for others looking to build something similar! 🙏

And if you’re still working on it or have more questions, just let us know.