# Receive Slack notifications

This how-to covers how to make use of the Slack Webhook Action Type to receive slack message notifications when someone interacts with one of your apps.

# Create the action

Follow the steps below to create an action for sending email notifications.

# 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 press the + New Action button. This will launch a dialog for creating new actions.

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

# Step 3: Select the Slack action type

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

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

# Step 4: Configure the action

Enter the URL for your Slack Outgoing Webhook you wish to use, and click on + Create action to complete the process.

TIP

Create or view your Slack webhook integrations here (opens new window).

The completed Slack 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 send Slack notifications.

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 Slack 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 receive a Slack message that looks something like this.

A Slack message cfreated by an interaction with a Routegy app named 'Coffee machine' using the Slack action and associated template defined earlier in this tutorial