#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)

rancid kestrel
#

See attached, thanks

kind brook
#

This post has been pushed to the community knowledgebase. Any replies in this thread will be synced to the community site.

atomic raptor
#

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

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!

rancid kestrel
# atomic raptor 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

atomic raptor
rancid kestrel
atomic raptor
#

That's the reason you are seeing Accepted instead of actual data

rancid kestrel
atomic raptor
atomic raptor
#
  "d1": "{{8.data[1]}}",
  "d2": "{{8.data[2]}}"
}```

try this in webhook response module
atomic raptor
#

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