# Receive webhook requests

This how-to covers how to make use of the Webhook Action Type to receive HTTP requests with JSON data when someone interacts with one of your apps.

Webhook actions are extremely powerful as they can be integrated with any existing system that receives HTTP requests.

# Create the action

Follow the steps below to create an action for creating Webhooks.

# Step 1: Choose a workspace

Start by making sure you're in the desired workspace. Hover over the menu bar dropdown to choose.

An expanded dropdown containing a list of available workspaces in the Routegy admin app

# Step 2: Open the new action dialog

Select the Actions tab within the workspace view and click the + New Action button. This will launch a modal for creating new actions.

Highlighting the actions tab and 'New action' button within the Routegy admin app

# Step 3: Select the Webhook action type

From the action creation model, select Webhook from the Action type dropdown list.

An expanded dropdown containing a list of available action types with 'Webhook' highlighted in the Routegy admin app

# Step 4: Configure the action

Enter a name, description (optional), enter the URL for the webhook endpoint you would like to use, and click on + Create action to complete the process.

A configured webhook action in the 'New action' dialog with the 'Create action' button highlighted in the Routegy admin app

# Attach the action to an app

Follow the steps below to attach the Webhook action created above to one or more apps.

# Step 1: Choose an app

Select the Apps tab within the workspace view and select the app you wish to make webhook requests.

Highlighting the Apps tab and selection of a 'Coffee machine' app within the Routegy admin app

# Step 2: Open the app editor

From the app model, click on the Edit button.

A 'Coffee machine' app in the app editor with the Edit button highlighted in the Routegy admin app

# Step 3: Add your new action

From the app edit model, type in the name of your action in Actions list. The name will autocomplete as you type.

The webhook action being added to a 'Coffee machine' app using the app editor in the Routegy admin app

# Step 4: Save your changes

Click on the Save changes button and you're done!

Highlighting the 'Save changes' button in the app editor in the Routegy admin app

# Step 5: Wait for app interactions

Now that your app is configured, you just wait until someone interacts with it. Once they do, you'll automatically receive an HTTP request that looks something like this.

A JSON payload POSTed by an interaction with a Routegy app named 'Coffee machine' using the webhook action defined earlier in this tutorial