Posts an attachment to a Slack workspace. This operation can either post an attachment as a new message or reply/start a thread on a previous message.
All Slack operations require a Slack Messaging Account.
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Project Properties
Input Name | Input Code | Required | Description |
---|---|---|---|
Inputs
Property Name | Property Code | Required | Description |
---|---|---|---|
FDSLACK_INP_CLOUD_ACCT_CODE | Yes | Slack account code from Topology->Integrations->Messaging | |
Channel Name or Id | FDSLACK_INP_CHANNEL | Yes | Name or Id of channel that the notification will be sent. For example, "random". Use user channel Id to send direct messages (String) |
FDSLACK_INP_ATTACHMENT | Yes | The file location of the attachment to upload | |
Comment | FDSLACK_INP_ATTACHMENT_COMMENT | No | A simple message/comment to appear as a heading for the attachment |
Thread TS | FDSLACK_INP_THREAD_TS | No | An optional Slack message id to use. Set this id if you want to add this attachment as a reply on a previous message. |
Outputs
Output Name | Description |
---|---|
FDSLACK_OUT_MESSAGE_TS | Resulting Slack Message Id (TS id) of the newly created message. This can be used start or reply to threads. |
Artifacts
This operation delegates the consume artifacts decision to the workflow developer.
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
Below is an example of posting an attachment to the flexdeploy-demo channel