Slack Invite

Slack Invite

Certified

Invite users to a channel

Adds one or more users to the specified channel. Requires channel ID and user IDs.

yaml
type: io.kestra.plugin.slack.app.conversations.Invite

Invite users to a channel

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

Slack token

SubTypestring

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

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

Channel ID

Formatdate-time

Created at

Is archived

Is channel

Is general

Is group

Is instant message

Is multi-person IM

Is private

Channel name

Channel purpose

Definitions
creatorstring

Creator ID

lastSetstring
Formatdate-time

Last set timestamp

valuestring

Value

Channel topic

Definitions
creatorstring

Creator ID

lastSetstring
Formatdate-time

Last set timestamp

valuestring

Value