Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sends a message to a Slack workspace. This operation takes a message JSON and a bearer token and sends a message to the channel based on the message JSON. The JSON must be formatted according to how Slack API accepts. You can learn more about that here. The operation also requires the user to create an app in the slack workspace. You can see more about this in the special considerations section below. 

Environment/Instance Properties

Property NameProperty CodeRequiredDescription








Project Properties

Property NameProperty CodeRequiredDescription








Inputs

Input NameInput CodeRequiredDescription
Message JSON
FDSLACK_INP_MESSAGE_JSON
Yes
JSON for slack message. Formatted based on Slack API.
Bearer Token
FDSLACK_INP_BEARER_TOKEN
Yes
Bearer token generated by slack after adding app to workspace.

Outputs

Output NameDescription




Artifacts

This operation doesn’t consume or produce any artifacts.

Endpoint Selection 

This operation delegates the selection to the workflow developer to determine.

Endpoint Execution

This operations delegates the execution to the workflow developer to decide.

Special Considerations

This operation requires the user to create an app in the Slack workspace. This is very easy and can be done here. You will need to add the OAuth scope for chat:write:bot. After installing the app to your workspace, the bearer token can be found on the OAuth & Permissions page.

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.

Examples

First we will need to create an app in our workspace by going here

...