...
Input Name | Input Code | Required | Description | ||||
---|---|---|---|---|---|---|---|
Bearer Token | FDSLACK_INP_BEARER_TOKEN | Yes | Bearer token generated by slack after adding app to workspace. | ||||
Message JSON | FDSLACK_INP_MESSAGE_JSON | Yes | JSON for slack message. Formatted based on on Slack API. | Bearer Token | FDSLACK_INP_BEARER_TOKEN | Yes | Bearer token generated by slack after adding app to workspace . @since 5.3.0.2 This input now allows FlexDeploy property replacement notation to be used. e.g. ${{FD_ENVIRONMENT_CODE}} This can be useful for writing dynamic message content. |
Outputs
Output Name | Description |
---|---|
...
The message JSON must be formatted based on what the Slack API. To learn more about the formatting of the message payload you can find information here. If you want to learn about the different things you can add to your message you can find information here. You can see the Slack API we use here.
Examples
First we will need to create an app in our workspace by going here
...
This is the final result in the "random" channel.