CircleCI Orb for sending Slack messages via webhooks.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Adam Millerchip 2f3f9af3ba Prepare 1.0.0 release. 2 years ago Prepare 1.0.0 release. 2 years ago
LICENSE Add initial orb config. 2 years ago Fix typo. 2 years ago
slack-webhook-orb.yml Prepare 1.0.0 release. 2 years ago

Slack Webhook CircleCI Orb CircleCI Orb Version


  1. Create a webhook.
  2. Generate a JSON payload.
  3. Place the webhook in a CircleCI environment variable (SLACK_WEBHOOK by default, but customizable).
  4. Call the orb:
      json-payload: |
          "blocks": [
              "type": "section",
              "text": {
                "type": "mrkdwn",
                "text": "Hello from <|@adamu>'s `slack-webhook` CircleCi orb! 👋"


The json-payload argument must always be provided.

There are three ways to provide the webhook URL:

  1. Via the SLACK_WEBHOOK environment variable.
  2. Via a custom environment variable. Provide the name with the webhook-url-env-var parameter.
  3. Directly to the send-message command with the webhook-url parameter.

See the full examples on the orb's CircleCI Orb Repository listing.