Gmail Watch module Not Retrieving the Data from Inbox

:bullseye: What is your goal?

I want to read the Gmail inbox text and thread ID and feed it to the AI agent to create an answer

:thinking: What is the problem?

As a trigger, I have Watch Emails: Gmail, but when I click on run once or run this module, it doesn’t retrieve the actual data from the inbox for me to map.

Previously, I had connected to Watch Gmail, and it is easily used to retrieve the data after connection

:test_tube: What have you tried so far?

I disconnected all connections from Make and Gmail and reconnected them

:camera_with_flash: Screenshots: scenario setup, module configuration, errors




2 Likes

Hey there,

The module retrieves new emails. Are you sure you aren’t meant to use search emails for this flow? Cause it looks like you are querying for specific emails.

2 Likes

Welcome to the Make community!

Two issues:

  • You are using a polling trigger.
  • Your schedule is set to Manual.

Polling Triggers & Empty “Check Runs”

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

If you don’t see any bundles from the trigger module and operations on the rest of the modules, it means there are no new responses (empty output bundle) when the scenario ran to check for new items. This is called a “Check run”.

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.

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

If you want your scenario to only run when there is new data (and not on a schedule or timed interval), 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 webhook when content is created/updated - and then you can point it to a “Custom Webhook” trigger in your scenario.

If you want to re-run your scenario on older data,

Polling Triggers: Selecting Older Data Using Epoch Panel

Go to the Epoch Panel, by right-clicking on the trigger module (polling triggers only), and select “Choose where to start” from the list of options in the context menu.

If you select “From now on”, the next time the scenario runs it will only return new data (or nothing if there is no new data).


Above: A screenshot of a polling trigger module’s Epoch Panel

You can also select other old data to re-run your scenario with next using the “Choose manually” option. This will then show you a list of previous historical items you can select to process the next time the scenario is triggered.

For more information, see


May I suggest using the Webhooks “Custom mailhook” module? —

Triggers when mailhook receives data.

For more information about the “Custom mailhook” module and the Webhooks app, see the corresponding Integrations page and the Help Centre documentation.

— @samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!

2 Likes

Hi @Kushalmake26 ,

The reason the Watch Emails (Gmail) module is not returning any data when you run it once is most likely because there are no emails matching the filter or search query you’ve configured. In such cases, the module does not output any bundles, so there’s nothing available to map.

To fetch existing emails for testing and mapping, you can right-click on the Gmail module and select Choose where to start. From there, select one of the available options, such as Choose manually, Since a specific date, All, or From now on, depending on your requirement. Make sure to select an option that allows the module to retrieve existing emails.


Additionally, we’ve attached a sample scenario blueprint based on your requirement for reference. Please review it, and if you face any issues or have further questions, feel free to reach out.
[COMMUNITY] -TEST.blueprint(1).json (26.3 KB)

Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation

Thanks for sharing the info. I will check the out

1 Like

This is a goldmine, thanks, man!

1 Like

No problem, glad I could help with your question:
"Gmail Watch module Not Retrieving the Data from Inbox"   :tada:

1. Which was the most helpful post in this thread?

The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep this forum organised. :folded_hands:

This marks the topic as solved, so that others can:

  • save time when browsing the latest activity on the forum, and
  • quickly jump to the solution in this topic (from the top)

To do this, simply click the checkbox at the bottom of the post that is the most helpful in answering your question.

a screenshot of post menu options at the bottom of each post
:link: Here’s a magic link to a list of your other “unsolved” topics— status:unsolved

2. Have you learnt something new?

Do bookmark this topic so you can easily find and return to this topic in future.
a screenshot of bookmark link at the bottom of the topic

:link: Here’s a magic link to a list of your bookmarks— /my/activity/bookmarks

3. Have a different question? Start a new topic.

Do you have a question that is not about "Gmail Watch module Not Retrieving the Data from Inbox"? Please start a new topic.

Creating a separate topic for each question makes it easier for others with the same problem to search for answers. You are also more likely to receive help sooner as new topics are displayed first on the forum’s “new” page!

If you have a follow-up question, please start a new thread. Thanks!

— @samliew