Slack Close

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.Close

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

Conversation ID

DM or MPIM ID to close (e.g., D123..., G123...).

Slack token

Reference (ref) of the pluginDefaults to apply to this task.