Skip to main content

Slack Component

Send messages to Slack channels and users

Component key: slack


The Slack component allows you to post messages to a Slack channel.

Messages are sent using Slack incoming webhooks.

Generate a webhook URL#

In order to use the Slack component, you will need to generate a webhook URL:

  1. Navigate to
  2. Click Create New App, adding an app to your workspace.
  3. Under Add features and functionality select Incoming Webhooks
  4. Activate Incoming Webhooks and then Add New Webhook to Workspace
  5. Take note of the Webhook URL. It should be of the form


Slack Message#

Post a message to a Slack channel | key: postSlackMessage



/ Required
messageThe message to send the Slack channel.Hello from Prismatic!

Webhook URL

/ Required
webhookUrlThe Slack webhook URL. Instructions for generating a Slack webhook are available on the Slack component docs page.

Output Example Payload#

{  "data": {    "text": "ok"  }}