Can only access the first item in Google Drive search array

Hi All,

I feel there’s probably super simple answer to my problem but spent hours trying to resolve this.

Here’s my scenario. I’m running a search query which searches a google drive but the issue is when there is more than one result I can only access the first result?

I added an aggregator which helped isolate the results I want but I still can’t access more than one result?

Not sure why this is happening, any help would be much appreciated!

Thanks

Steve

1 Like

Hi @Steven_Becket and welcome to the Make Community!

What are you trying to do?

You can find a lot of information on working with arrays in the Make Academy:

https://academy.make.com/courses/BasicsC02

L

1 Like

Welcome to the Make community!

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

Getting Started

Help Centre Basics

Articles & Videos

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

Hi @Steven_Becket

While mapping in your next module, every module shows only first bundle from the previous module. However, once you will map, the next module will process each result one by one. Hence, you do not need to have aggregator here.

Regards,

Msquare Automation - Platinum Partner of Make
@Msquare_Automation

Hello @Steven_Becket,
As @Msquare_Automation said in that mapping window you can see only the first bundle data.
Another proof that after the Array Aggregator, there are multiple bundles is that the “Total number of bundles” = 3.


:bulb:P.S.: Always search first, Check Make Academy. If this is helpful, mark it as a solution and :+1:
Need expert help or have questions? Contact or comment below! :point_down:

1 Like

Hi Guys, Thanks for all your replies!

Sorry if I didn’t explain myself properly, I recorded this quick loom to help clarify what i’m trying to acheive.

Thanks,

Steve

1 Like

Hey @Steven_Becket

To do this:

  1. please replace “array aggregator” with “text aggregator”.
  2. Then copy the code (without parenthesis {}) from webhook and paste in text aggregator.
  3. Select row separator as “new row”.
  4. Map the variable in text aggregator from “google drive” module.

  1. Paste the text from aggregator in “webhook response” module within parenthesis {}

Regards,

Msquare Automation - Platinum Partner of Make
@Msquare_Automation

1 Like

Thank you so much @Msquare_Automation !!!

Exactly what I need. :grinning:

1 Like