Raw Webhook => Google Sheet

Hey,
I have a raw webhook that returns things like this:

      • {“values”:{“check_187_strassenbande_vape_600”:true,“187_strassenbande_o4o_hamburg”:10,“187_strassenbande_babba_huppa”:10,“187_strassenbande_beach_vibez”:10,“187_strassenbande_black_ize”:0}

How can I put this data in my google sheet?
It´s from an order form and the orders will differ every time.
I thought of chatgpt to structure the data but I can still not input it into my sheet.

Can you please help me?

Welcome to the Make community!

How are you putting it into your Sheet?

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 modules 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!

2 Likes

Hey @Max_Mustermann
you can put this data inside a Parse JSON module
and it will give you the independent fields then you can you assign them to the sheets module as you like

Here’s a picture for your understanding:

you will get values like these
but there is a problem in how your data is arriving from the web hook

It’s format is not proper
here’s how your provided data looks

  • {“values”:{“check_187_strassenbande_vape_600”:true,“187_strassenbande_o4o_hamburg”:10,“187_strassenbande_babba_huppa”:10,“187_strassenbande_beach_vibez”:10,“187_strassenbande_black_ize”:0}

here’s the correct way
{“values”:{“check_187_strassenbande_vape_600”:true,“187_strassenbande_o4o_hamburg”:10,“187_strassenbande_babba_huppa”:10,“187_strassenbande_beach_vibez”:10,“187_strassenbande_black_ize”:0}}

as you might have noticed the indentations are a little different

and the correct way when multiple data is arriving would look like this
[
{“values”:
{ “check_187_strassenbande_vape_600”:true,
“187_strassenbande_o4o_hamburg”:10,
“187_strassenbande_babba_huppa”:10,
“187_strassenbande_beach_vibez”:10,
“187_strassenbande_black_ize”:0
}
},
{“values”:
{ “check_187_strassenbande_vape_600”:true,
“187_strassenbande_o4o_hamburg”:10,
“187_strassenbande_babba_huppa”:10,
“187_strassenbande_beach_vibez”:10,
“187_strassenbande_black_ize”:0
}
},
{“values”:
{ “check_187_strassenbande_vape_600”:true,
“187_strassenbande_o4o_hamburg”:10,
“187_strassenbande_babba_huppa”:10,
“187_strassenbande_beach_vibez”:10,
“187_strassenbande_black_ize”:0
}
}
]

you can iterate over the array of values in this case

2 Likes