
Slack Close
CertifiedClose a direct message
Slack Close
Certified
Close a direct message
Closes a DM or MPIM for the caller. Requires a user token (xoxp-); Slack does not allow bot tokens for this method. See Slack docs for conversations.close.
yaml
type: io.kestra.plugin.slack.app.conversations.CloseExamples
Close a direct message
yaml
id: slack_close_dm
namespace: company.team
tasks:
- id: close_dm
type: io.kestra.plugin.slack.app.conversations.Close
token: "{{ secret('SLACK_TOKEN') }}"
channel: "D1234567890"
Properties
channel *Requiredstring
Conversation ID
DM or MPIM ID to close (e.g., D123..., G123...).
token *Requiredstring
Slack token
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.