Unable to properly pass the webhook JSON

Thank you, I understand the situation.

In this case, the following points are important as prerequisites:

  • _webhook_raw is a variable of type Object.
  • Inside the HTTP Request node, variables of type Object cannot be referenced.

Therefore, if you want to use the Body received from the Webhook within the HTTP Request node, you need to convert it into another form, such as a string (String type), using some method.

When you only need the value of specific keys (string or numeric type) from the received JSON

In this case, you can specify the key and its type in the Request Body Parameters of the Trigger node, allowing subsequent nodes to reference it as a variable of that type. However, if the expected type is Object, you will still hit the limitation that Object variables cannot be referenced within the HTTP Request node.

When you need the entire received JSON

My personal recommendation is to convert the Object to a String via a Template node.

Place a Template node (roughly like this) between the Trigger node and the HTTP Request node, passing _webhook_raw as input.

image

Then, within the HTTP Request node, simply reference the output of the Template node above :backhand_index_pointing_up:.

image

I hope this helps.