Send Starred Gmail messages to ClickUp

I would like to send GMail messages which I star to ClickUp.
Is there a Label ID for starred messages?
I don’t see it when I get all labels.
is it possible to create this automation?

Hey @Josh_Fialkoff!

To get the Gmail messages that you starred, you have to use the Query field. Click on Additional Options and select ‘Query’. Enter is:starred in the Query field. This will return all the messages that you have starred.

Once you have this data, you can connect the ClickUp node and design your workflow.

Hope this helps! :slightly_smiling_face:

1 Like

Brilliant @harshil1712! Thanks!

1 Like

Happy that I could help. I have also updated the documentation that will help you with such queries in the future. :slightly_smiling_face:

1 Like

Hi again, @harshil1712.
How do I only check new starred messages?
I tried:
is:starred is:new
but that doesn’t seem to work.
I looked in https://docs.n8n.io/nodes/n8n-nodes-base.gmail/#example-usage, but I don’t see how to combine queries.
Thanks for all of your help!
Josh

@Josh_Fialkoff What do you mean with only new starred messages? It seems to me that you want a trigger that reacts every time a message is starred in Gmail. Is that the case?

The query field supports the same query format as the Gmail search box.

1 Like

Fantastic @RicardoE105. For the record, the correct search criteria is:

in:unread is:starred

(I had is:unread is:starred)

2 Likes

Hey @Josh_Fialkoff!

Glad you got your answer! We haven’t published the the updated docs yet. But I have included the link that Ricardo shared. Hope that would help the community :slightly_smiling_face: