Help with Arrays and Nested Collections

Hi, I am currently in the process of building an automation that is a Christmas Quiz, personalised to each player. I have managed to get to a stage where the players information and personalised questions are in an array:

I would like to put all of this information into one string, or at least have all of the questions and answers in one string… I think I am supposed to use join() and map() functions, but I am not entirely sure (lack of experience with functions within make)

Any help is appreciated, if any more context is needed please tell me and I will provide it.

What do you want to achieve? What is your output format?

If you need further assistance, please provide the following:

1. Scenario Blueprint

Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

2. Output Bundles of Modules

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A. Upload as Text File

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

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/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 Samliew. Thank you for your response. The output I am trying to achieve is the below screenshot, but with all questions and answers filled in.

In the tools module to get this output, I have put inputs like this (for all rounds, questions and answers)

However, as you can see, only question 1 and answer 1 is being filled (this is for all rounds, all players)

Here is the blueprint & output bundles from the iterator and tools module:
ChristmasQuiz-MakeCommunity.json (129.5 KB)
IteratorBundle1.txt (4.9 KB)
IteratorBundle2.txt (5.0 KB)
ToolsBundle.txt (2.4 KB)

Thanks in advance for any help!