Gmail (watch email) to Notion (Create a Database Item) ... not working

HI,
I have a scenario to “watch for emails” in Gmail, it shows SUCESS nine times, so I believe it’s processing nine emails, however in Notion, where scenario is mean to add database items, it shows only three rows. What could be happening? Attached three screenshots. Appreciate any help or thought.

Hi
is there a rule between the gmail module and the notion module ? I see “no attachement”

Welcome to the Make community!

This is because the module is a POLLING trigger, and not an INSTANT (Webhook) trigger.

There are two main types of triggers, Polling (scheduled), and Instant (webhooks). Polling triggers can only run on a schedule. Instant triggers can be run as soon as data is received by the webhook.

Polling means Make checks external service for changes (pull changes to Make).
Webhook (instant) triggers means external service calls Make when there are new changes (push changes to Make).

The module you are using does not push changes — it’s basically a API request that Make has to occasionally “call” to fetch the latest changes/items.

When the scenario runs, and there are NO new items, this is called a “Check Run”. A check run is when the trigger module does not detect any new changes from your external service, and does not run subsequent modules.

You can turn off visibility of check runs in the Scenario “HISTORY” tab found below the scenario title.

To show ALL the scenario runs including those that did not find new data, go to the scenario History tab, and toggle the “Hide check runs” to OFF. ON hides all the check runs.

To find out more on the different types of Trigger modules, see refer to Types of Modules and Webhooks sections of the Make help center.

See if your app has an “Instant” or “Webhook” trigger in Make. If not, check if the third-party service has a feature that can send out a webhooks when content is created/updated - and then you can point it to a “Custom Webhook” trigger in your scenario.

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

Thanks @Imad_M

I just checked on your point of showing "no attachment”. It was actually empty, just the title, it was empty, no actual filter.

The thing is that GMAIL module was giving me an error “exceeding maximum size”, due to email with attachments, so I was trying to filter in Make to not fetch the attachment (was not possible), so I fixed that on GMAIL side are only emails without attachment.

1 Like

Hi @Jose24

Since this scenario is scheduled to run every X (fixed) minutes, one operation is consumed as part of the check - to check for new emails.

Please navigate to the history of the scenario and turn on “Show Check Runs” to see the operations consumed.

1 operation indicates the check run.

Regards,
Msquare Automation - Gold Partner of Make

Book a Free Consultation | Connect Live

Explore our YouTube Channel for valuable insights and updates!

1 Like

Thanks @samliew

I appreciate it. I totally follow your point, on “Polling (scheduled)”, and “Instant (webhooks)”, pull vs push. Also inside Make, History tab, on the toggle “Check Run”."

I also checked on the suggestion, to “see if your app has an “Instant” or “Webhook” trigger in Make”. It does not have. Or there are options, but using code.

That said, the part that I still don’t understand is why if I have 9 emails to feach or process in Make, and therefore to show in Notion database as rows, it only processed one, and there are no errors. In Make supposedly is running every 15 minutes (with a paid plan every 1 minute), but I don’t think its’ really going every 15 minutes and “PULLING” at the emails. I don’t mind waiting the 15 minutes to process, the problem is that is not doing it.

There is a setting called “Maximum number of results” (screenshot below) set to 15, it should sure process the nine emails I currently have.

Any new thought or suggestion, very much appreciate it.

Perhaps you should try using a “Custom Mailhook” trigger instead, I use it for all my scenarios instead of “Watch Emails”. This also means that it runs almost instantly instead of having to poll for new emails.

1 Like