Is my Repeater going nuts?

I tried adding a second “Google Docs: Add Paragraph on to Document” to the right of the Repeater to INSERT ONE LINE of text to the created document and I wind up getting multiple documents with multiple lines repeating (that were only supposed to appear once) … is the Repeater repeating operations to the right of it? How to I tell the Repeater , “You’re done now little Repeater: Stand down!”

Thank you and Stay Cool,

:dark_sunglasses: S.

UPDATE: I still don’t know what was up with the Repeater, but I switched to an Iterator, and it worked!

What do you think a repeater does?

It repeats.

This is not a trick question. :grin:


Links

Here are some useful links and guides to help you get started and learn more on how to use the Make platform, apps, and app modules —

General

Help Center Basics

Articles & Videos

2 Likes

Yeah, I guess I was expecting it to repeat ONLY the one nodule to the left of it … I’m having trouble understanding the flow of everything, I guess … yes, even when I hit the little flow button :smile:

I guess what I’m asking is: How do I tell ITERATOR or REPEATER to stop iterating and/or repeating … like, I don’t get it :smile:

You add filters. So the bundles you don’t want to use won’t go through.

2 Likes

So, once I have used a Repeater, it repeats until the end of the chain? There’s no “stop repeating” tool? Like, I get bundles that I add to my document, and then, once those are added, I want to add one last line to my document: I don’t want that line to appear three times-which it is, currently :frowning:

I want …

Create a document->Get the bundles->Add all bundles to the document->Add one line to the end of the document

My test case has three bundles.

It seems that using an iterator causes “add one line to the end of the document” to happen three times-once for each bundlle.

Using a repeator causes things to go nuts: The bundles are added, but then, the last line is added to the document infinitely and I have to manually hit the stop button.

I very much appreciate your time and help, by the way: Mea culpa if I am frustrating you!

Depends how many bundles are going into the repeater, and how many times the repeater is set to repeat.

Usually, you do NOT need a repeater module. More often than not, it’s just Iterators and Aggregators.

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:

Links

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

2 Likes

Hi Mr. Liew,

I’m getting the impression that you work for Make?

Like I said:

Create a document->Get the bundles->Add all bundles to the document->Add one line to the end of the document

Is there any hint you can give me that would keep me from having to read ALL of the documentation? I understand if that’s too much of a PITA request.

Thanks for the docs!

If I understand, you want to add all the bundles (3 of them) to the document,

Then, you want to add a newline to the document?

So like this?

bundle1{{newline}}
bundle2{{newline}}
bundle3{{newline}}

If you need further assistance, please provide the following:

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, Output bundles

Please provide the output bundles of the Airtable “Search” module [1] by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.
Screenshot_2023-10-06_141025

A.

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

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle 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 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!

1 Like

Hi Sam,

Each bundle is intended to be a line in the Google Doc … so what I would like is to add each line …

Bundle 1

Bundle 2

Bundle 3

And then I want to end the Google Doc with one more (static) line insertion:

Everybody remember to say Hi to Sam Liew and let him know that we APPRECIATE HIM!

So the final document would look like this:

Bundle 1

Bundle 2

Bundle 3

Everybody remember to say Hi to Sam Liew and let him know that we APPRECIATE HIM!

Make sense?

Also, this is probably super pro mode and I need to REMOVE newlines/carriage returns from the Google Doc … is there a way to do that?!

THANK YOU SAM!

This is the scenario that you literally need:

If your modules aren’t looking like this, you’re likely doing it wrong.

Like I said earlier,

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.

2 Likes

Sam, you big, sexy, super genius! That is exactly the solution for which I was looking! --S.