When I add the aggregator, I can't select data from the previous module

Scenario: I have an Airtable database that I’m using to create line items on Freeagent accountancy software.

Currently: All working fine unless there’s more than one line item.

Problem: To map multiple line items to one invoice, I am attempting to use the Aggregator tool. However, when I add it, I can no longer reference all the data from the 1st Airtable module - only those fields which i’ve referenced in the array aggregator module.

Video here: (https://www.loom.com/share/27c22b58e125404fa61345190076044d?sid=54b83d6a-6ca6-4c58-b916-a5ac51ea58f8)

This is working as it should, any modules within an aggregator “loop” has to be aggregated, otherwise you wouldn’t be able to further access the variables from the output array.

If you don’t want to aggregate the variables, then make sure you store it in a variable outside of the loop.

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!

Hey @samliew thanks for taking the time to reply :smile:

Honestly I don’t 100% understand what you’re saying, and I’ve looked up using variables in a scenario here but it doesn’t mention taking them out of the loop.

If I would like to aggregate the line items from my first airtable module, but still access the other data fields from it, would you – or someone else who’s reading :smile: – mind breaking down your explanation?

If you need further assistance, please provide the following:

1. 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.


(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)

2. And most importantly, Output bundles

Please provide the output bundles of the trigger 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.

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-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:

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!

samliewrequest private consultation

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

Hey @emurobot , you can try mapping from the array aggregator, also let me know why are you using array aggregator module in the first place. And please share what are you mapping in the array aggregator module.

Please let me know if you need something else.

I tried this way also like in this thread:

But still the same result. Last airtable module can’t reach the first.
I appreciate any help :slightly_smiling_face: