Share feedback, ideas and get community help

Updated 2 months ago

How to get 2 variables after a Make "trigger scenario"? In Make, 2 variables passed to the webhook

See attached, thanks
Attachments
image.png
image.png
d
I
14 comments
create a array of both the items in the webhook respnse
Plain Text
{
  "data1": [
    { "d1": "{{8.data1}}" }
  ],
  "data2": [
    { "d2": "{{8.data2}}" }
  ]
}

then you can map both the items in the make block
Attachment
image.png
@IAleocoelho
Hi @dhruv , 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!
Attachment
image.png
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
Attachment
image.png
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)
Attachment
image.png
Did you activate the scenario in the Make ?
That's the reason you are seeing Accepted instead of actual data
@dhruv thanks again! Yes, I activated (see attached) ... What's wrong? Should I add something under "advanced configuration"?
Attachment
MAKE_CONNECTION.png
What is it outputting in the make webhook response ?
Plain Text
{
  "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
Add a reply
Sign up and join the conversation on Discord