Hi everyone,
I have this scenario where the goal is to create a doc and a pdf inside a Google Drive.
The flow is “search Gdrive folder > if not found then create it > upload the doc > upload the doc as a pdf”
My problem is the scenario don’t stop by itself as it used to but proceed to generate the same doc multiple times in a row (wasting data as a result and a folder with x times the 2 same doc & pdf)
I upload the json and a screen
Can you help me understand where and what i did wrong ?
03. CGV BR formations.json (454.2 KB)
EDIT : i added a filter before the gdoc module and found it looping with text parser module
the goal was to make it search if the file exist before creating it (the filter works very well)
Welcome to the Make community!
You are using a Search module, which returns multiple bundles. Each bundle will trigger subsequent modules one time each if you do not immediately aggregate the results following the search module.
Every result (item/record) from a search/match module will output a bundle. To “combine” them into a single structure, you’ll need to use an aggregator of some sort.
Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module. The next popular aggregator is the Text Aggregator which is very flexible and has applies to many use-cases.
There are other types of aggregator modules, click the below links to find out more:
I highly recommend going through the Make Academy if you haven’t yet.
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 —
General
Help Center Basics
Articles & Videos
samliew – request private consultation
Join the unofficial Make Discord server to chat with other makers!
2 Likes
Hi @Jessy_Jii
Please check this loom
If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support | Book Live Implementation
Visit us here
Youtube Channel
2 Likes
Thank you I did it and yes know it works perfectly thank you!
Thank you for such a great answer!
I’m effectively doing the make academy, because I’m starting to feel limited. I had my first success badge this week.
Aggregator module are not so easy to understand without the academy. I need to understand more about it.
I noticed it doesn’t loop anymore (thanks a lot) but the output data seems to be the same at each scenario cycle instead of being dynamic as usual.
I’ll go through the course to understand that part.