Articles on: Forms

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:

After submission actions

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:

Logging response data into the console

To access the response data globally, you can add it to the global window object like this:

Saving response data globally

Updated on: 04/01/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!