How to extract data from a collection of collections without any arrays

:bullseye: What is your goal?

Extract the data from the collection that i get in the webhook and send it to my CRM

:thinking: What is the problem & what have you tried?

The data i recive is storred as a collection of collections and i tried to parse it as an array but it didnt work

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hey there,

check whatever service is sending this webhook cause its configured wrong. Its putting the value of the variable inside the name, and then the next collection inside the value of the previous one.

Welcome to the Make community!

To help us see if the JSON is encoded incorrectly, please provide the raw request.

You can do that by setting the Webhook โ€œJSON Pass-throughโ€ to YES (it is โ€œNoโ€ by default), when creating or editing a webhook.

Alternatively, click on the download output bundle icon and format it correctly when pasting here.

Please provide the input/output bundles of each of the relevant modules by running the scenario, or get the bundles from a previous run from the Scenario โ€œHistoryโ€ tab.

Providing the bundles from a scenario run will allow others to replicate what is going on, especially if there are complex data structures (nested arrays and collections) and external services. This helps mapping the correct raw variable names from collections (instead of the label/display name).

Need helpโ“View instructions โ—€

Click on the white speech bubbles on the top-right of each module and select โ€œDownload output (or input) bundlesโ€.

A. Upload a Text File

Save each bundle contents in a plain text editor as a moduleNumber-output.txt file. Open the file to check if it has not added additional formatting or encoded the plain text.

  • You can upload files and images to this forum by clicking on the upload button:

    Uploading an attachment here will look like this:
    module1-input.txt (1.2 KB)
    module1-output.txt (3.4 KB)

B. Insert a Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the bundles AND format them correctly.

:warning: Formatting IS Important! :warning:

Here are some ways to provide text content in a way that it wonโ€™t be modified by the forum.

  • Method 1: Type code fence manually โ€”
    Manually type three backticks ``` in a separate line before and after the content, like this,

    ```
    text goes here
    ```
    
  • Method 2: Highlight the pasted content, then click the preformatted text/code button โ€”

  • Method 3: Upload your file elsewhere and share the public link โ€”
    This method is only advised for large files exceeding the forum upload limit.

This will allow others to better assist you. Thanks!

โ€” @samliew

Hi thanks for the answer.
I did what you suggested and this is the output im getting in the webhook:

[
{
โ€œ{\โ€œquiz_name\โ€:\โ€œื”ืชืืžืช ืžืืžืŸ\โ€,\โ€œquiz_id\โ€:\โ€œVzHYbRb\โ€,\โ€œresponse_id\โ€:\โ€œDQTGo9aO\โ€,\โ€œfirst_name\โ€:\โ€œื‘ืจ\โ€,\โ€œlast_name\โ€:\โ€œืื•ืกื˜ืจื™ ื›ื”ืŸ\โ€,\โ€œfull_name\โ€:\โ€œื‘ืจ ืื•ืกื˜ืจื™ ื›ื”ืŸ\โ€,\โ€œemail\โ€:\โ€œbarostry1204@gmail.com\โ€,\โ€œemails\โ€:โ€: {
โ€œ\โ€œbarostry1204@gmail.com\โ€โ€: {
โ€œ\โ€ 972543011331\โ€œโ€: {
โ€œ{\โ€œname\โ€:\โ€œื˜ืœื™ื”\โ€,\โ€œscore\โ€:17.100384999999996,\โ€œurl\โ€:\โ€œhttps://ronishe.co.il/product/ื˜ืœื™ื”/\\",\\โ€œprice\\โ€:\\โ€œ0.0\\โ€,\\โ€œprice_with_currency\\โ€:\\"0.00 ILS\โ€,\โ€œimage_url\โ€:\โ€œhttps://ronishe.co.il/wp-content/uploads/2025/01/RONI.png\\โ€œ,\\โ€œposition\\โ€:0,\\โ€œsku\\โ€:\\โ€\\",\\โ€œid\\โ€:19093,\\โ€œvariant_id\\โ€:null,\\โ€œdescription\\โ€:\\"ืžื™ื™ืกื“ืช ืฉื™ื˜ืช \\\โ€œื–ื” ื”ื–ืžืŸ ืฉืœืš\\\โ€ โ€“ ืื™ืžื•ืŸ ืžื•ื›ื•ื•ืŸ ืคืชืจื•ืŸ \\\โ€œื‘ื ื™ืชื™ ืืช ื”ืฉื™ื˜ื” ื‘ืžื˜ืจื” ืœื”ื•ื‘ื™ืœ ืื ืฉื™ื ืœืฉืœื™ื˜ื” ืžืœืื” ื‘ื—ื™ื™ื”ื, ืœืฆืžื™ื—ื” ืื™ืฉื™ืช ื•ืœืฉื™ืคื•ืจ ืžืขืจื›ื•ืช ื™ื—ืกื™ื ื‘ืืžืฆืขื•ืช ืฉื™ื˜ื” ืžื•ื›ื•ื•ื ืช ืคืชืจื•ืŸ ื•ืชื”ืœื™ื›ื™ื ืžืขืฆื™ืžื™ื\\\โ€.\\nื ืฉื•ืื” ืœื‘ืจืง ื•ืืžื ืœืฉื ื™ื™ื.\\nืจื•ื ื™ ืฉื™ื ืงืžืŸ ื”ื™ื ื”ืจื‘ื” ืžืขื‘ืจ ืœืžืืžื ืช โ€“ ื”ื™ื ืžื™ื™ืกื“ืช ืฉื™ื˜ืช \\\โ€œื–ื” ื”ื–ืžืŸ ืฉืœืš\\\โ€, ืฉื™ื˜ื” ืžื•ื›ื•ื•ื ืช ืคืชืจื•ืŸ ืฉืžืžื•ืงื“ืช ื‘ื™ืฆื™ืจืช ืฉื™ื ื•ื™ ืืžื™ืชื™ ื•ืžื“ื•ื™ืง ื‘ื—ื™ื™ื”ื ืฉืœ ืžืชืืžื ื™ื. ื‘ื ื•ืกืฃ, ืจื•ื ื™ ื”ื™ื ื”ืžื™ื™ืกื“ืช ืฉืœ ืžื™ื–ื \\\โ€œืจื•ื ื™ืก ืกื™ื ื’ืœืก\\\โ€, ืฉื”ื•ื‘ื™ืœ ืœื™ื•ืชืจ ืž-1,000 ืฉื™ื“ื•ื›ื™ื ืžื•ืฆืœื—ื™ื, ื•ืžืจืฆื” ืžื‘ื•ืงืฉืช ื•ืžื•ื‘ื™ืœื” ื‘ืชื”ืœื™ื›ื™ ื”ืขืฆืžื” ืื™ืฉื™ืช ื•ื–ื•ื’ื™ืช. ืขื ื ื™ืกื™ื•ืŸ ืขืฉื™ืจ, ื—ื•ื›ืžื” ื™ื™ืฉื•ืžื™ืช ื•ืชืฉื•ืงื” ืœืฉื™ื ื•ื™, ืจื•ื ื™ ืชืขื–ื•ืจ ืœื›ื ืœื”ืฉืชืœื˜ ืขืœ ื—ื™ื™ื›ื ื•ืœืฆืืช ืœื“ืจืš ื—ื“ืฉื” ื•ืžืœืืช ืžืฉืžืขื•ืช. ืจื•ื ื™ ืžืชืžื—ื” ื‘ื”ืชืคืชื—ื•ืช ืื™ืฉื™ืช, ื”ืขืฆืžื” ื–ื•ื’ื™ืช, ืฉื™ืคื•ืจ ืžืขืจื›ื•ืช ื™ื—ืกื™ื, ืชื”ืœื™ื›ื™ื ืื™ืฉื™ื™ื ืžืžื•ืงื“ื™ ืคืชืจื•ืŸ.\\nื”ื›ืฉืจื” ืžืงืฆื•ืขื™ืช\\nืชืขื•ื“ืช ืื™ืžื•ืŸ ืื™ืฉื™ ื•ื–ื•ื’ื™ ืžืื•ื ื™ื‘ืจืกื™ื˜ืช ื‘ืจ ืื™ืœืŸ, ื•ืงื•ืจืก ืžืืกื˜ืจ ืงื•ืื•ืฆื™ื ื’ ืžืžื›ืœืœืช ืจื™ื“ืžืŸ.\\nืžื™ืงื•ื\\nื—ื•ืœื•ืŸ, ืชืœ ืื‘ื™ื‘ ืื• ื‘ื–ื•ื.\โ€},{\โ€œname\โ€:\โ€œืขื“ื™\โ€,\โ€œscore\โ€:17.099519,\โ€œurl\โ€:\โ€œhttps://ronishe.co.il/product/ืขื“ื™/\\",\\โ€œprice\\โ€:\\โ€œ0.0\\โ€,\\โ€œprice_with_currency\\โ€:\\"0.00 ILS\โ€,\โ€œimage_url\โ€:\โ€œhttps://ronishe.co.il/wp-content/uploads/2025/01/4.png\\โ€œ,\\โ€œposition\\โ€:1,\\โ€œsku\\โ€:\\โ€\\",\\โ€œid\\โ€:19095,\\โ€œvariant_id\\โ€:null,\\โ€œdescription\\โ€:\\"ืžื™ื™ืกื“ืช ืฉื™ื˜ืช \\\โ€œื–ื” ื”ื–ืžืŸ ืฉืœืš\\\โ€ โ€“ ืื™ืžื•ืŸ ืžื•ื›ื•ื•ืŸ ืคืชืจื•ืŸ \\\โ€œื‘ื ื™ืชื™ ืืช ื”ืฉื™ื˜ื” ื‘ืžื˜ืจื” ืœื”ื•ื‘ื™ืœ ืื ืฉื™ื ืœืฉืœื™ื˜ื” ืžืœืื” ื‘ื—ื™ื™ื”ื, ืœืฆืžื™ื—ื” ืื™ืฉื™ืช ื•ืœืฉื™ืคื•ืจ ืžืขืจื›ื•ืช ื™ื—ืกื™ื ื‘ืืžืฆืขื•ืช ืฉื™ื˜ื” ืžื•ื›ื•ื•ื ืช ืคืชืจื•ืŸ ื•ืชื”ืœื™ื›ื™ื ืžืขืฆื™ืžื™ื\\\โ€.\\nื ืฉื•ืื” ืœื‘ืจืง ื•ืืžื ืœืฉื ื™ื™ื.\\nืจื•ื ื™ ืฉื™ื ืงืžืŸ ื”ื™ื ื”ืจื‘ื” ืžืขื‘ืจ ืœืžืืžื ืช โ€“ ื”ื™ื ืžื™ื™ืกื“ืช ืฉื™ื˜ืช \\\โ€œื–ื” ื”ื–ืžืŸ ืฉืœืš\\\โ€, ืฉื™ื˜ื” ืžื•ื›ื•ื•ื ืช ืคืชืจื•ืŸ ืฉืžืžื•ืงื“ืช ื‘ื™ืฆื™ืจืช ืฉื™ื ื•ื™ ืืžื™ืชื™ ื•ืžื“ื•ื™ืง ื‘ื—ื™ื™ื”ื ืฉืœ ืžืชืืžื ื™ื. ื‘ื ื•ืกืฃ, ืจื•ื ื™ ื”ื™ื ื”ืžื™ื™ืกื“ืช ืฉืœ ืžื™ื–ื \\\โ€œืจื•ื ื™ืก ืกื™ื ื’ืœืก\\\โ€, ืฉื”ื•ื‘ื™ืœ ืœื™ื•ืชืจ ืž-1,000 ืฉื™ื“ื•ื›ื™ื ืžื•ืฆืœื—ื™ื, ื•ืžืจืฆื” ืžื‘ื•ืงืฉืช ื•ืžื•ื‘ื™ืœื” ื‘ืชื”ืœื™ื›ื™ ื”ืขืฆืžื” ืื™ืฉื™ืช ื•ื–ื•ื’ื™ืช. ืขื ื ื™ืกื™ื•ืŸ ืขืฉื™ืจ, ื—ื•ื›ืžื” ื™ื™ืฉื•ืžื™ืช ื•ืชืฉื•ืงื” ืœืฉื™ื ื•ื™, ืจื•ื ื™ ืชืขื–ื•ืจ ืœื›ื ืœื”ืฉืชืœื˜ ืขืœ ื—ื™ื™ื›ื ื•ืœืฆืืช ืœื“ืจืš ื—ื“ืฉื” ื•ืžืœืืช ืžืฉืžืขื•ืช. ืจื•ื ื™ ืžืชืžื—ื” ื‘ื”ืชืคืชื—ื•ืช ืื™ืฉื™ืช, ื”ืขืฆืžื” ื–ื•ื’ื™ืช, ืฉื™ืคื•ืจ ืžืขืจื›ื•ืช ื™ื—ืกื™ื, ืชื”ืœื™ื›ื™ื ืื™ืฉื™ื™ื ืžืžื•ืงื“ื™ ืคืชืจื•ืŸ.\\nื”ื›ืฉืจื” ืžืงืฆื•ืขื™ืช\\nืชืขื•ื“ืช ืื™ืžื•ืŸ ืื™ืฉื™ ื•ื–ื•ื’ื™ ืžืื•ื ื™ื‘ืจืกื™ื˜ืช ื‘ืจ ืื™ืœืŸ, ื•ืงื•ืจืก ืžืืกื˜ืจ ืงื•ืื•ืฆื™ื ื’ ืžืžื›ืœืœืช ืจื™ื“ืžืŸ.\\nืžื™ืงื•ื\\nื—ื•ืœื•ืŸ, ืชืœ ืื‘ื™ื‘ ืื• ื‘ื–ื•ื.\โ€}โ€: {
โ€œ{\โ€œname\โ€:\โ€œื˜ืœื™ื”\โ€,\โ€œid\โ€:19093,\โ€œurl\โ€:\โ€œhttps://ronishe.co.il/product/ื˜ืœื™ื”/\\",\\โ€œprice\\โ€:\\โ€œ0.0\\โ€,\\โ€œimage_url\\โ€:\\โ€œhttps://ronishe.co.il/wp-content/uploads/2025/01/RONI.png\\โ€,\\โ€œposition\\โ€:0,\\โ€œscore\\โ€:17.100384999999996,\\โ€œprice_with_currency\\โ€:\\"0.00 ILS\โ€},{\โ€œname\โ€:\โ€œืขื“ื™\โ€,\โ€œid\โ€:19095,\โ€œurl\โ€:\โ€œhttps://ronishe.co.il/product/ืขื“ื™/\\",\\โ€œprice\\โ€:\\โ€œ0.0\\โ€,\\โ€œimage_url\\โ€:\\โ€œhttps://ronishe.co.il/wp-content/uploads/2025/01/4.png\\โ€,\\โ€œposition\\โ€:1,\\โ€œscore\\โ€:17.099519,\\โ€œprice_with_currency\\โ€:\\"0.00 ILS\โ€}โ€: {
โ€œ\โ€œื‘ืจ ืื•ืกื˜ืจื™ ื›ื”ืŸ\โ€โ€: {
โ€œ\โ€œbarostry1204@gmail.com\โ€โ€: {
โ€œ\โ€ 972543011331\โ€œโ€: {
โ€œ\โ€œืขืจื‘\โ€,\โ€œื–ื•ื\โ€,\โ€œืœื™ื•ื•ื™ ืื™ืฉื™\โ€โ€: โ€œโ€
}
}
}
}
}
}
}
}
}
]

The JSON you have provided is incorrect.

You can check if a JSON is valid by copy-pasting into jsonformatter.org and click โ€œFormat / Beautifyโ€ and/or โ€œValidateโ€.

If your JSON is invalid, this tool will help point out where you need to look at!

Please expand the " Need helpโ€‹:red_question_mark:View instructions" section in my previous post on how to provide it in the correct format.

โ€” @samliew