Hwo to Map Json InMappableParameters

I send the following json to a make webhook. The fields are dynamic and can change

{
   "Values": {
    "Nutzer.First_Name": "Vorname",
    "Nutzer.Last_Name": "Name"
  }
}

The webhook parses it as a collection.

image

Now a api That I’m calling expects the exact same property how should I define this in the action?
I tried to define it as a collection without spec but then I can’t map it.

When I define it this way

{
“name”: “Values”,
“type”: “array”,
“spec”: {“type”:“collection”},
“label”: “Values”,
“required”: true
}
can it can be mapped but it creates a array of element instead of a json map
is there any advice on how to achieve this?

Welcome to the Make community!

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

Then, you will be able to “forward” (map) the entire JSON body payload in another module.

samliewrequest private consultation

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

1 Like

This topic was automatically closed after 31 days. New replies are no longer allowed.