Trying to search for unread emails in Gmail Inbox/Promotions category 1+ day old

I am trying to search for my Gmails that are unread AND in Gmail promotions category AND are 1+ day old so that I can filter specific marketing emails out and send them to Trash.

I have the search module set up and the Query as “category:promotions AND is:unread AND older_than:1d”. I am a business user so I asked Perplexity for the query and this is what it said to put in the Query field.

I am getting an error and the bundle is not outputting the correct data, I should see several marketing email bundles that are Unread and in my Promotions Category.

Does anyone know how I can write this so that this module will work? After this step I have a filter for the specific marketing emails and then moving them to Trash (the filter and the Delete Email module seem to be working).

It works for me.

So what is your error?

What is being output? Why is it incorrect?

To allow others to assist you with your scenario, please provide the following:

Relevant Screenshots

Please share screenshots of your scenario, any error messages, relevant module fields, and relevant filter settings. It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:

Scenario Blueprint

Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Output Bundles of Modules

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A. Upload as Text File

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

By providing these details, it will allow others to assist you better.