Incoming Webhooks Slack

Guide to setting up Incoming Webhooks on Slack

  1. Log in to Slack.com via your browser.

Log in to Slack

  1. After successfully logging in, create a new Workspace by clicking Create Another Workspace and naming it aws-lambda-labs.

Create Workspace Name Workspace

  1. In the newly created Workspace, create a new channel:

    • Name: enter notification and click Next
    • Select Public - anyone in aws-lambda-labs
    • Click Create.

Create Channel Name Channel Complete Create Channel

  1. Open a new tab in your browser and go to Slack API - Your Apps.

  2. Click the Create New App button.

Create New App

  1. Select From scratch (or Blank app) and click Continue.

Select Blank app

  1. Fill in the application information:

    • App Name: enter Lambda-Notifier (or any name you prefer).
    • Pick a workspace to develop your app in: select the aws-lambda-labs workspace you just created.
    • Click Create App.

Fill App Info

  1. After the App is created, you will be taken to the configuration page. In the left menu column, find and click on Incoming Webhooks.

  2. At the Activate Incoming Webhooks row, toggle the switch from Off to On.

Activate Incoming Webhooks

  1. Scroll down to the bottom of the page and click the Add New Webhook to Workspace button.

Add Webhook to Workspace

  1. Slack will ask you which channel this App should post to. Select the #notification channel created in the previous step and click Allow.

Select Channel for Webhook

  1. You will be redirected back to the previous page. Now, under the Webhook URLs for Your Workspace section, a link starting with https://hooks.slack.com/services/... will appear.

Click the Copy button and save this Webhook URL. You will need to use it in the next steps to configure AWS Lambda to send notifications to Slack.

Copy Webhook URL