Add raw body value to the output of Webhook node

I figured out the workaround meanwhile, which implies adding an extra node to have rawBody added to the JSON output.

To summarize,

  1. Enable Raw Body option. This will add binary file containing the raw body alongside the standard JSON output
  2. Use Extract from File node with operation “Extract From Text File” and Keep Source option set to “JSON”

The output of the latter node will have both the standard JSON output of Webhook node plus the string value representing of the original raw body.

3 Likes