How to create 10 records from an iterator

I want to know how I can pass those 5 bundles that contain 10 values ​​to 10 records in a google sheet

You’ll need to use a second Iterator to “split” the value of the first Iterator.

Module Export

You can copy and paste this module export into your scenario. This will paste the modules shown in my screenshots above.

  1. Copy the JSON code below by clicking the copy button when you mouseover the top-right of the code block
    Screenshot_2024-01-17_200117

  2. Enter your scenario editor. Press ESC to close any dialogs. Press CTRLV (paste keyboard shortcut for Windows) to paste directly in the canvas.

  3. Click on each imported module and save it for validation. You may be prompted to remap some variables and connections.

Click to Expand Module Export Code

JSON - Copy and Paste this directly in the scenario editor

{
    "subflows": [
        {
            "flow": [
                {
                    "id": 4,
                    "module": "builtin:BasicFeeder",
                    "version": 1,
                    "parameters": {},
                    "mapper": {
                        "array": "{{split(10.value; newline)}}"
                    },
                    "metadata": {
                        "designer": {
                            "x": 505,
                            "y": 197,
                            "messages": [
                                {
                                    "category": "last",
                                    "severity": "warning",
                                    "message": "A transformer should not be the last module in the route."
                                },
                                {
                                    "category": "reference",
                                    "severity": "error",
                                    "message": "Module references non-existing module '10'."
                                }
                            ]
                        },
                        "restore": {
                            "expect": {
                                "array": {
                                    "mode": "edit"
                                }
                            }
                        },
                        "expect": [
                            {
                                "name": "array",
                                "type": "array",
                                "label": "Array",
                                "mode": "edit",
                                "spec": []
                            }
                        ]
                    }
                }
            ]
        }
    ],
    "metadata": {
        "version": 1
    }
}

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

It gives me empty results


Please provide the screenshot of your module’s settings as well.

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!

blueprint (34).json (75.4 KB)

This doesn’t look right.

Screenshot_2024-07-21_160748

You should just iterate the reviews array

Then you’ll have 10 bundles

Screenshot_2024-07-21_160756

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

Yeah but I need to map those too

Then just iterate the whole reviews array and you’ll get each review in it’s own bundle.

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

And then what do I have to do because it would give me a value, with many bundles and then I would have to map them again and obtain the 10 values ​​of each array

I have this result, I just need to know how I can make 10 records created

Put the Rating array variable in an Iterator module.

Map the value of that iterator in your create record module.