9/10/2023 0 Comments Slack webhook icon![]() An incoming webhook is a method for Slack to receive incoming messages to be posted to your Slack team from external services. In this example Unleash will post updates to the #notifications and #random channel.Notify Slack when a new post is published so everyone knows when new content goes live and your team stays in sync Create a new incoming webhook in Slackįirst, you’ll need to set up a new incoming webhook in your team’s Slack configuration. In the picture you can see we have defined two slack tags for the "new-payment-system" toggle. You may use this tag to override which Slack channel Unleash should post updates to for this feature toggle. The Slack addon also defined the Tag type "slack". This can be set using the UNLEASH_URL environment variable or the server.unleashUrl property when starting the server from node. Unleash URL - The slack plugin uses the server.unleashUrl property to create the link back to Unleash in the posts.Default channel - Where to post the message if the feature toggles has not overridden the channel via the slack tags.Emoji Icon - Used to override the emoji icon used to post the update to a Slack channel.Username - Used to override the username used to post the update to a Slack channel.If you are using a Slack Application you must also make sure your application is allowed to post to the channel you want to post to. Slack Webhook URL - This is the only required property.Unleash Slack addon takes the following parameters. *) Deprecated, and will not be used after transition to environments in Unleash v4.3 Parameters You can choose to trigger updates for the following events: You should never assume events always comes in order. The Slack addon will perform a single retry if the HTTP POST against the Slack Webhook URL fails (either a 50x or network error). ![]() You can also choose to create a slack app for Unleash, which will provide you with additional functionality to control how Unleash communicates messages on your Slack workspace. You can follow Sending messages using Incoming Webhooks on how to do that. To set up Slack, you need to configure an incoming Slack webhook URL. The Slack addon allows Unleash to post Updates when a feature toggle is updated. This feature was introduced in Unleash v3.11.0. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |