Using webhook responses

Webhooks in scenarios can return responses in JSON or TEXT format. You can access these responses using Jinja in any node that follows the webhook in your scenario.

Webhooks can process responses up to 64 KB of raw unparsed data.

Access a single webhook response

If your scenario has one webhook, or you want to reference the last webhook in the path, use:

{{ webhook.json_response_property_name }}
{{ webhook.data }}

Access multiple webhook responses

If your scenario has multiple webhooks, reference each one individually using one of the following methods.

By position: Use x to specify the webhook's position counted from the start of the flow. The first webhook is 0, the second is 1, and so on.

{{ webhook(x).json_response_property_name }}
{{ webhook(x).data }}

By action ID: Use the action ID of the webhook node that generated the response.

{{ webhook.by_action_id(x).json_response_property_name }}
{{ webhook.by_action_id(x).data }}


Did this page help you?

© Bloomreach, Inc. All rights reserved.