Webhooks In Slack

Webhooks In Slack

Incoming Webhooks in Slack:

In Slack you can configure webhook url, and you can post message( JSON payload) to Slack from your app.

You can also customise information which you will send to slack from your app.
This customization can be text format, adding button for interaction etc.

We just have to follow these 3 step process:
  1. Create a slack app.

  • Enter App Name( eg: Brobot)
  • Select Workspace .
  • Press create app.
     
  2. Enable Incoming Webhook.
  • Select Incoming webhook on left side menu.
  • Enable Activate Incoming Webhooks toggle bar

  • You can now create  webhook for your bot, just click Add New Webhook to Workspace.
                         
  • Select Your workspace for Brobot.

  • Click Authorize, boom! You got your Webhook url.Congrats!!
3. Make a first Post Request .( i will use postman for REST Client)
 **  Use Webhook Url As Post Request


Slack Chat:
           



Comments

Popular posts from this blog

What is advertised.listeners in Kafka?