Check Folders , if Folder not exist create the Folder

Hello everyone!
I would like to do the following.

When a product is added to my store, a folder should be created automatically in canva. The folder that is created contains the name of the product category.

So when a new product comes in, it should be checked in canva whether a folder already exists or not. If the folder does not exist, a new folder with the name of the product category should be created. I think it has to do with the filter. I have tried to set the filters correctly but I can’t get it right. I get 7 new Folders in my Canva folder

1.For testing purposes is used get Product Module for now.
2. Then i list all my folders in canva. There are 7 Bundles
3. [FILTER] Check if a folder with this category name exists. If not → create one. If yes ->skip
4. Create Folder with Product Categories Names at that path

Here are the screenshots.




Welcome to the Make community!

Yes, that is possible. You’ll need an array aggregator and a router with filters:

This is just an example. Your final solution may or may not look like this depending on your requirements.

Aggregators

Every result (item/record) from iterator/list/search/match modules will output a bundle. This can result in multiple bundles, which then trigger multiple operations in future modules (one operation per bundle). To “combine” multiple bundles into a single variable, 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 can apply to many use-cases like building of JSON, CSV, HTML.

There are other types of aggregator modules, click the below links to find out more:

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

— @samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

1 Like

It works. Thank you again :slight_smile:
see u in the next thread :grinning:

No problem, glad I could help!

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

— @samliew