#How to get 2 variables after a Make "trigger scenario"? In Make, 2 variables passed to the webhook
1 messages · Page 1 of 1 (latest)
This post has been pushed to the community knowledgebase. Any replies in this thread will be synced to the community site.
create a array of both the items in the webhook respnse
{
"data1": [
{ "d1": "{{8.data1}}" }
],
"data2": [
{ "d2": "{{8.data2}}" }
]
}
then you can map both the items in the make block
@rancid kestrel
Hi @atomic raptor , amazing! The second part of your response is very clear (Make block in TypeBot) ... Where exactly should I place: "
{
"data1": [
{ "d1": "{{8.data1}}" }
],
"data2": [
{ "d2": "{{8.data2}}" }
]
}"
in the Make Webhook? (see attached) Thanks!
In the webhook response
@dhruv , like that? Please see attached ... The problem might be that d1 and d2 have different format? ... data2 is a GPT generated image (URL) while data1 is a GPT text output
Yes like this only. You will now get these key value in the Make Trigger in Typebot which then can be pass further in the flow
Dear @dhruv The structure specified in the webhook does not reappear when testing the Make "trigger scenario" in TypeBot (see attached)
Did you activate the scenario in the Make ?
That's the reason you are seeing Accepted instead of actual data
@atomic raptor thanks again! Yes, I activated (see attached) ... What's wrong? Should I add something under "advanced configuration"?
What is it outputting in the make webhook response ?
"d1": "{{8.data[1]}}",
"d2": "{{8.data[2]}}"
}```
try this in webhook response module
It's working for me so it should for you. If this doesn't work then I think you need to figure out what's wrong