Slack

Slack is a team communication tool, that brings together all of your team communications in one place, instantly searchable and available wherever you go.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure China regions
Flow Standard All Flow regions
PowerApps Standard All PowerApps regions

Throttling Limits

Name Calls Renewal Period
API calls per connection10060 seconds
Frequency of trigger polls1120 seconds

Actions

Create a channel

Create a channel in slack.

Create a group

Creates a group in slack.

Join a channel

Join a channel in slack.

List channels

List the channels in slack.

Post message

This operation is used to post a message to the specified channel.

Set do not disturb

Set the do not disturb status for the user.

Create a channel

Create a channel in slack.

Parameters

Name Key Required Type Description
Name
name string

The name of the new channel.

Returns

Name Path Type Description
Id
channel.id string

The id of the channel.

Name
channel.name string

The name of channel.

Create a group

Creates a group in slack.

Parameters

Name Key Required Type Description
Name
name string

The name of the group.

Returns

Name Path Type Description
Id
group.id string

The id of the group.

Name
group.name string

The name of the group.

Join a channel

Join a channel in slack.

Parameters

Name Key Required Type Description
Name
name string

The name of the channel.

Returns

Name Path Type Description
Already in channel
already_in_channel boolean

Whether the user is already in the channel or not.

Id
channel.id string

The id of the channel.

Name
channel.name string

The name of channel.

List channels

List the channels in slack.

Returns

Name Path Type Description
channels
channels array of object
Id
channels.id string

The id of the channel.

Name
channels.name string

The name of channel.

Post message

This operation is used to post a message to the specified channel.

Parameters

Name Key Required Type Description
Channel Name
channel True string

Channel, private group, or IM channel to send message to. Can be a name(ex: #general) or an encoded ID.

Message Text
text True string

Body of the message to send. For formatting options, see https://api.slack.com/docs/formatting.

Bot Name
username string

Name of the bot.

Post As User
as_user boolean

Pass true to post the message as the authenticated user, instead of as a bot.

Parse Mode
parse string

Change how messages are treated. For details, see https://api.slack.com/docs/formatting.

Link Names
link_names integer

Find and link channel names and usernames.

Unfurl Links
unfurl_links boolean

Pass true to enable unfurling of primarily text-based content.

Unfurl Media
unfurl_media boolean

Pass false to disable unfurling of media content.

Icon Url
icon_url uri

URL to an image to use as an icon for this message.

Icon Emoji
icon_emoji string

Emoji to use as an icon for this message.

Returns

Name Path Type Description
Success Result
ok boolean

Indicates if the operation was successful.

Channel
channel string

The channel which the message was posted to.

Created Date-Time
ts string

yyyy-MM-ddTHH:mm:ss.fffZ

Message Text
message.text string

Body of the message.

Message Id
message.id string

Unique identifier of the message.

Creator Id
message.user string

Unique identifier of the user who posted the message.

Created Time
message.created integer

Unix timestamp for when the message is created.

Is Deleted
message.is_user-deleted boolean

Whether or not the message has been deleted.

Error Messages
error string

Details of the error messages, if any.

Set do not disturb

Set the do not disturb status for the user.

Parameters

Name Key Required Type Description
Number of minutes
num_minutes string

The number of minutes to set do not disturb.

Returns

Name Path Type Description
Snooze Enabled
snooze_enabled boolean

Whether snooze is enabled.

Triggers

When a file is created

When a file is created

When a file is created

When a file is created

Parameters

Name Key Required Type Description
Channel
channel True string

The name of the channel.

Returns

Name Path Type Description
Id
id string

Id of the file

Created
created integer

When the file was created.

Name
name string

The name of the file.

Title
title string

The title of the file.