> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.unicornplatform.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/scr-20221226-kpj_6ylh4k.png)

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](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/scr-20221226-kr8_1wdjy8s.png)

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

![Saving response data globally](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/image_m3zdeh.png)