# Example for checking the signature of a Respond.io webhook

**URL:** <https://community.integray.com/t/example-for-checking-the-signature-of-a-respond-io-webhook/288>\
**Category:** Handy solutions\
**Created:** [August 6, 2024, 11:45am UTC](https://community.integray.com/t/example-for-checking-the-signature-of-a-respond-io-webhook/288 "2024-08-06T11:45:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alevtina.toev](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@alevtina.toev](https://community.integray.com/u/alevtina.toev)\
**Post date:** [August 6, 2024, 11:45am UTC](https://community.integray.com/t/example-for-checking-the-signature-of-a-respond-io-webhook/288/1 "2024-08-06T11:45:24Z")

</div>

The **`Respond.io` - Check Webhook Signature** connector is used to receive selected changes (see Signing key) that have occurred on the respondio account. In this example, we’ll show how webhook work and how to use them effectively.

Each of you has a different, special ability to absorb information. That’s why we’ve divided the process of creating our examples into visual and textual. If details are important to you, continue with the text tutorial below, complete with visual examples. If you prefer an audio-visual experience, try the [VIDEO TUTORIAL](https://www.youtube.com/watch?v=xpVaaJfpsWw) from our [YouTube channel](https://www.youtube.com/@Integray-platform). And of course, you can combine reading and watching to fully understand the process of creating an integration between `Integray` and `Respond.io`.

* * *

## Prerequisites

Create an account with an email and password at [Respond.io](https://respond.io/) (a confirmation code will be sent to your email, so you must have access to the email).  
Fill in the necessary information in “Let’s set up your organization”.

You also need to enter a contact. You can enter the contacts manually or use our example [Create, update, or get a contact](https://learn.integray.app/examplelibrary/Respondio/0/).

We did this with an example by creating a task with a contact update on `Integray`.

 ![HELP_ExampleLibrary_Respondio_Webhook_UpdateContact](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/fc041fceca31b11c9d27e8144785a0c7bf1fc934.png)

* * *

Now that we have a configured `Respond.io` account, and we have a task for updating user credentials in `Respond.io`, we can move on to the webhook settings.  
We will focus on the changes in the contacts.  
Create an endpoint. Go to POST, select the input schema - **`Respond.io` - Check Signature Request**.  
In the mapping, edit the input data to placeholders, as shown in screenshot below.

 ![HELP_ExampleLibrary_Respondio_Endpoint_Plaseholders](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/8232c74226ffeeffb503916c028a102fbff6eda8.png)

Save the endpoint.

Let’s go back to `Respond.io` for a moment.  
Go to [Respond.io](https://respond.io/). Create a new signature key.

 ![HELP_ExampleLibrary_RespondioApp_AddWebhookSigningKey](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/99fc3f7d93d26e0050912057771bcc3f132fc692.png)

Add a new webhook, add the endpoint URL and select the action we want to be notified about via webhook - Contact Updated. Confirm by clicking Done.

 ![HELP_ExampleLibrary_RespondioApp_AddWebhookSigningKey1](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/79f6347743a723ea3a1604d69119f32f8e6c9d7c.png)

Copy the newly created signature key.

 ![HELP_ExampleLibrary_RespondioApp_AddWebhookSigningKey2](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/a6b51c2e1b9023880a832a98a1b200f0a212b041.png)

Now we’ll go to `Integray` again.  
Add a new Task and name it **Webhook**.

* * *

## Check Webhook Signature

A webhook in `Respond.io` allows your apps to communicate in real-time. Think of it as a messenger that instantly sends data from `Respond.io` to other applications when certain events happen. For example, if you receive a new message on `Respond.io`, a webhook can instantly send this information to `Integray`.

### Configuration

Add a Task step:

- Step name: Contact updated
- Connector: **`Respond.io` - Check Webhook Signature**

Open the Task step editor.  
Add the copied signing key to the appropriate field in step configuration.

 ![HELP_ExampleLibrary_Respondio_Webhook_Configuration1](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/e4a6588f25f2048b9ea7df0e5b57742b3392f635.png)

Go back to the endpoint, add the created task to it and save.

 ![HELP_ExampleLibrary_Respondio_Webhook_AddedTaskToEndpoint](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/d46890b9e3584ccc515f2c7ef7f4b5dcd204a786.png)

Add the mapping from the endpoint to the task.

 ![HELP_ExampleLibrary_Respondio_Webhook_PinnedInput](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/492bf7782f0aea079b3285c54c5cbece7fd90b6c.png)

Press the **Publish** button.  
In Integray, it looks something like this: we have a task for updating user credentials in `Respond.io`. Here’s the webhook connected to the endpoint.

 ![HELP_ExampleLibrary_Respondio_Webhook_TaskGrid](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/f0eb669f522e366ee2de4039ce2171341ccc0bc2.png)

* * *

### Result - The webhook triggers automatically

When we start the **Update Contact** task, the webhook automatically activates because it detects the changes made to the user credentials. Now, when we click on the webhook, we can see that this task also ran successfully.  
We can open the data snapshot, then click on the body section, and here we can see all the data the webhook captured. This data can be modified and used across `Integray` for further processing and automation.

 ![HELP_ExampleLibrary_Respondio_Webhook_Dataviewer](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/dccd02ed8a5e092ca2dec37cd2ffaa7fa6149692.png)

 ![HELP_ExampleLibrary_Respondio_Webhook_DataviewerBody](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/7f377870e316a9168802c79ea56f8b34d6531fd9.png)

* * *

We hope that you have successfully completed the task following our detailed instructions. Thank you for your attention and we invite you to use our examples in the future.  
​​

​​
