Hi guys,
I have a webhook payload that looks like this.
But when I want to see the specific field values on the gmail they do not get showed.
How can I fix this?
Hi guys,
I have a webhook payload that looks like this.
But when I want to see the specific field values on the gmail they do not get showed.
How can I fix this?
Welcome to the Make community!
This is because field_values
is an array.
To be able to individually map the values, you’ll need to first convert it to a collection using the toCollection
built-in function.
Here are some useful links and guides to help you get started and learn more on how to use the Make platform, apps, and app modules —
parseDate
| Tokens for formatDate
Hey There @Esben , try using the get() function to extract the name and values out of the “field_values” array .
Example - get(data.field_values;“raw name of the name field”),
let me know if this helps.
The name and value is a plain text string. You do not add any mapped variables.
Please follow my screenshot exactly.
tage one saying “1.data.field_values” right? How do I set that in like you have done?
Only for that variable, you select it from the variables list. The rest has to be typed in manually.
isnt this correct?
this is how it looks when I run the module
You can’t run the module only. Try setting each variable like this
{{first(map(1.field_values; "value"; "name"; "Namen"))}}
{{first(map(1.field_values; "value"; "name"; "Bestellnummer"))}}
{{first(map(1.field_values; "value"; "name"; "Email"))}}
{{join(first(map(1.field_values; "value"; "name"; "Grund")); ", ")}}
How do I add this???
If I want to upload a picture that comes with the webhook output how can I the do it? The output image is a link to the picture. But can I somehow download it and the upload it?
How does the picture get sent over the webhook? Is it binary data or a URL?
If it’s a URL you can use HTTP Get a File module.