Output using Google Docs

:bullseye: What is your goal?

Hi! I am trying to make an automated system that sorts the data from my Shopify into a list.

:thinking: What is the problem?

I am trying to use the iterators and aggregator tool and have made it into JSON. i am now converting the JSON data into google docs, but I am having multiple errors when I convert it.

:test_tube: What have you tried so far?

I tried to change the format of my google docs content into different styles. I also tried to double bracket the blocks but it is still not having the output I want

:camera_with_flash: Screenshots: scenario setup, module configuration, errors


Welcome to the Make community!

There is no such thing as repeating tags.

Instead of an Array Aggregator, try using a Text Aggregator, and use HTML tags like this:

<h2>title</h2>
<p><b>variant title</b> - quantity</p>

Combining Bundles Using Aggregators

Every result (item/record) from trigger/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.

You can find out more about the other types of aggregator modules here:

Question: Which is the best aggregator do you think you’ll need for your use-case?

Example

Here is an example of how your scenario could look like:

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

You can learn more about aggregators in these Make Academy units:

An introduction to aggregators

  • Introducing Aggregators
  • Numeric Aggregators in action
  • Text Aggregators in action

Hope this helps! If you are still having trouble, please provide more details.

@samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!