Get json webhook and make it string to send HTTP request

Describe the issue/error/question

I am facing a problem that I am getting JSON from webhook successfuly and trying to use few fields to and make them variable to use it in http request

Please share the workflow


trying to use this variables from webhook, I am new at n8n if somone can help I will be thankful

Have you tried dragging and dropping the data onto the parameters in the node where you’re trying to use these variables?

You can hover on the key names (variable names) or column headings, then drag those onto parameters to map variables. Let me know if that helps!

1 Like

perhaps this sample may help …

In Code node:

return {"car_type": $input.all()[0].json.body.contact.variables.car_type}

In Set node:

{{ $json["body"]["contact"]["variables"]["car_type"] }}