uploadAttachment
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.
Inputs
Property Name | Property Code | Required | Description |
---|---|---|---|
Slack Account |
| Yes | Slack account codeĀ from Topology->Integrations->MessagingĀ |
Channel Name or Id |
| Yes | Name or Id of channel that the notification will be sent. For example, "random". Use user channel Id to send direct messages (String) |
File Location |
| Yes | The file location of the attachment to upload |
Comment |
| No | A simple message/comment to appear as a heading for the attachment |
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 |
---|---|
| 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
Ā
- style