
Slack Invite
CertifiedInvite users to a channel
Slack Invite
Invite users to a channel
Adds one or more users to the specified channel. Requires channel ID and user IDs.
type: io.kestra.plugin.slack.app.conversations.InviteExamples
Invite users to a channel
id: slack_invite_users
namespace: company.team
tasks:
- id: invite_users
type: io.kestra.plugin.slack.app.conversations.Invite
token: "{{ secret('SLACK_TOKEN') }}"
channel: "C1234567890"
users: ["U1234567890", "U0987654321"]
Properties
channel *Requiredstring
Channel ID
Channel to invite users to (Slack channel ID). To get the channel ID, right click on the channel name in Slack and select 'Copy Link'. The ID is the last part of the URL.
token *Requiredstring
Slack token
users *Requiredarray
User IDs to invite
List of Slack user IDs (U...) to add. To get a user ID, go to the user's profile, click the three dots, and select 'Copy member ID'.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
id *Requiredstring
Channel ID
created string
date-timeCreated at
isArchived boolean
Is archived
isChannel boolean
Is channel
isGeneral boolean
Is general
isGroup boolean
Is group
isInstantMessage boolean
Is instant message
isMultiPersonInstantMessage boolean
Is multi-person IM
isPrivate boolean
Is private
name string
Channel name
purpose
Channel purpose
Conversation topic/purpose output
Creator ID
date-timeLast set timestamp
Value
topic
Channel topic
Conversation topic/purpose output
Creator ID
date-timeLast set timestamp
Value