How to access webhook response data
This guide will show you how to get access to the contact form response data via the Webhook integration.
First, open After successful submission actions menu and activate Run JavaScript code field:
The code that you enter in this field will be executed once the form has been successfully submitted. The response data will be stored in the built-in responseData constant:
To access the response data globally, you can add it to the global window object like this:
First, open After successful submission actions menu and activate Run JavaScript code field:
The code that you enter in this field will be executed once the form has been successfully submitted. The response data will be stored in the built-in responseData constant:
To access the response data globally, you can add it to the global window object like this:
Updated on: 04/01/2023
Thank you!