> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack Command Webhook

> Slack Slash Commands allow users to trigger Blink workflows by typing a command into the Slack message composer. Instead of interacting with Blink through the UI, users can run workflows on demand directly from any Slack conversation.

## Implementing Slash Commands

To get Slack Slash Commands up and running with Blink, create the command in your Slack app and configure Blink to receive and handle the incoming requests.

### Creating a Slash Command

You need two things to create a command:

* A Slack app
* The name of your new command

**How to create a slash command:**

* Go to your [App Management dashboard](https://api.slack.com/apps). If you don't already have a Slack app, [create one](https://docs.blinkops.com/docs/integrations/slack.md#connecting-using-a-new-application).
* Select the app you want to configure.
* In the navigation menu, under **Features** click **Slash Commands**.
* Click **Create New Command**.
* Define your new slash command in the configuration screen that appears.

  ![slackCommands](https://mintcdn.com/blinkops-2/cubQFVLj0tfmFufk/img/Slack/slack-commands.png?fit=max\&auto=format\&n=cubQFVLj0tfmFufk\&q=85\&s=4593636062120a8a565517f7e5466964)

You must fill the **Command**, **Request URL** and **Short Description** details.

> [!NOTE]
>
> **A reminder**: The Request URL is taken from the Slack Command webhook setup in Blink. For further information on webhooks, please refer to [Blink's Webhooks documentation](https://docs.blinkops.com/docs/workflows/building-workflows/triggers/event-based-triggers/webhooks.md).
>
> ![Slack\_webhook\_url](https://mintcdn.com/blinkops-2/cubQFVLj0tfmFufk/img/Slack/slack_command_webhook.png?fit=max\&auto=format\&n=cubQFVLj0tfmFufk\&q=85\&s=89007a3092c638a37fd5ea8b2dbf7c3b)

### Receiving Commands

When a slash command is invoked, Slack sends an HTTP POST to the Request URL you specified. This request contains a data payload describing the source command and who invoked it. Blink sends an **empty** response back to Slack that confirms the message has arrived.

> [!NOTE]
>
> For more information regarding Slack Slash Commands, refer to [Slack's documentation](https://docs.slack.dev/interactivity/implementing-slash-commands/?utm_source=chatgpt.com).
