Skip to main content

 

What I want to achieve is when I manually add a custom label to an email it triggers my zap.

So I setup the Trigger - New labelled email 

Then for configure, I assigned the mailbox/label to INBOX

However this was triggering on every new email I received the same way as the other trigger receiving a new email. My understanding is all emails are assigned some default labels so the every time a new email is received it sees it has some default labels assigned and triggers the zap.

So I changed the configure mailbox/label to a custom label named ‘Projects’. Under the label projects i have subfolders for separate projects, ie “001 project 1” “002 project 2” etc

I thought that when I assigned an email a label eg “001 project 1” which is saved under the label “Projects” the Zap would be searching the “projects” label for new emails with new labels. 

However the issue I'm facing is I cant get it to trigger when I manually add a new project label to an email.

I’m thinking the issue is I have to assign the email with the label ‘Projects’ but I don't want to do this, I want it to trigger when I assign the label with the project number. The reason for this is the action is to save any attachments to google drive with the same project number as the label.  

How would I solve this?

 

 

 

Hi ​@nathannz 

In Gmail, you can see which Labels are assigned to an email to help you troubleshoot.

You may need to configure a Gmail Rule to also assign the Projects Label for any nested Label.

 

Help links for using Gmail in Zaps: https://zapier.com/apps/gmail/integrations#help

 

Zap trigger: Gmail - New Labeled Email

Description: Triggers when you label an email.

 

Not all my emails are triggering my Zap

Each Gmail trigger has a specific length of time in the past that it can "see" emails in your Gmail account.
If the email in question is older than the time limit, the trigger won't be able to detect that email.

These limits are as follows:

  • New Labeled Email - Unlimited
  • New Starred Email - 2 days
  • New Email - 1 hour
  • New Email Matching Search - 1 hour
  • New Thread - 1 hour
  • New Attachment - 1 hour

Please note that if you would like to trigger a Zap for starred emails that entered your inbox more than two days ago, you can use the New Labeled Email trigger and specify the STARRED label from the dropdown when setting up your Zap.

 

 


Hi ​@Troy Tessalone,

Thanks for response. Unfortunately it looks like I am going to have to find a work around.

I’m thinking I will assign the project number label as I always have eg “001 project 1” 

Then star the email.

I will change the configure to STARRED label. So it triggers when I star the email. 

My Zap then searches for the label with the numbers to find the project number and uses this number to find the corresponding google drive project file.


Hi ​@nathannz,
 
We just wanted to see how everything is going with your Zap. Feel free to reach out if you need further assistance with your Zap. We're glad to address any concerns and assist you.
 
We're looking forward to your response.


@JammerS 

Still not happy with it. 

My next problem is, if I assign a project number label to an email then STAR the email. The project number label I assign is recognized as a label ID (see screenshot) but the the title is blank (see 2nd screenshot). I thought maybe there is a time delay in gathering the information, frustrating.

Next, I received a reply email (different email) that already had a project number label assigned. I STARRED the email, this triggered my ZAP, however this time it failed to run because the project number label wasn't even recognized (3rd screenshot). I think it is because the reply email I never assigned the project number label, because you don’t need to in gmail, gmail groups your emails threads as one email, but maybe the zap doesnt know this…

I don't know how to fix.

 

 

 

 


Hi ​@nathannz,

 

The issue stems from a timing problem between Gmail's label processing and Zapier's recognition of starred emails. Zapier triggers based on the email's state when starred, so if the label isn't fully processed, it may not work as expected. Zapier treats each email separately for email threads, so labels must be assigned to each reply individually. Possible solutions include waiting a few moments after assigning the label before starring the email or ensuring each relevant email in a thread is labeled.

 

If these solutions don't work, or if you need further assistance, please let me know. I'm here to help!


Reply