How to isolate specific data in bundles

Hello, First, I love Make. I have created many things with it that have saved me time, money, and headaches. I have automated so many processes that I have conservatively saved myself about 8 hours of work a week!

I need a little help on my next project, though, as I am unsure what I am doing incorrectly. First, I have a database, and one of the columns in my database has countries in it.

1.5

In my scenario, I first run a search and pull up the data. in this table, I aggregate the data and then set a variable that I pass on to other modules.

My intent was to create the following information: Search table, aggregate only the Country Column into a list, and pass this list of the countries only on to the next module.

Instead, I get everything in the table on my search, random selections from different attributes in my aggregate, and that turns into a mess of a variable.

My goal was to pull the last 30 countries added to the database and have a list that can be compared further, saying NOT to create more entries in the database for any of the currently listed countries in the “X” variable.

Is there a more accurate way to aggregate the data I want and only the data I want?

Here are some images



Welcome to the Make community!

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? 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:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Input/Output bundles

a6b613c9ac51263287f3ac8ea1fced53469fb34f

Please provide the output bundles of the search module [70] 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”.
Screenshot_2023-10-06_141025

A.

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

Uploading them here will look like this:

module-1-input-bundle.txt (12.3 KB)
module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

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.

Following these steps will allow others to assist you here. Thanks!

2 Likes