Slack

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.

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds
Frequency of trigger polls 1 120 seconds

Actions

Create a channel

Create a channel in slack.

Optional Parameters

Name
string
The name of the new channel.

Returns

Id
string
The id of the channel.
Name
string
The name of channel.

Create a group

Creates a group in slack.

Optional Parameters

Name
string
The name of the group.

Returns

Id
string
The id of the group.
Name
string
The name of the group.

Join a channel

Join a channel in slack.

Optional Parameters

Name
string
The name of the channel.

Returns

Already in channel
boolean
Whether the user is already in the channel or not.
Id
string
The id of the channel.
Name
string
The name of channel.

List channels

List the channels in slack.

Optional Parameters

Name
string
The name of the new channel.

Returns

channels
array of object
List the channels in slack.
Id
string
The id of the channel.
Name
string
The name of channel.

Post message

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

Required Parameters

Channel Name
string
Channel, private group, or IM channel to send message to. Can be a name(ex: #general) or an encoded ID.
Message Text
string
Body of the message to send. For formatting options, see https://api.slack.com/docs/formatting.

Optional Parameters

Bot Name
string
Name of the bot.
Post As User
boolean
Pass true to post the message as the authenticated user, instead of as a bot.
Parse Mode
string
Change how messages are treated. For details, see https://api.slack.com/docs/formatting.
Link Names
integer
Find and link channel names and usernames.
Unfurl Links
boolean
Pass true to enable unfurling of primarily text-based content.
Unfurl Media
boolean
Pass false to disable unfurling of media content.
Icon Url
uri
URL to an image to use as an icon for this message.
Icon Emoji
string
Emoji to use as an icon for this message.

Returns

Success Result
boolean
Indicates if the operation was successful.
Channel
string
The channel which the message was posted to.
Created Date-Time
string
yyyy-MM-ddTHH:mm:ss.fffZ
Message Text
string
Body of the message.
Message Id
string
Unique identifier of the message.
Creator Id
string
Unique identifier of the user who posted the message.
Created Time
integer
Unix timestamp for when the message is created.
Is Deleted
boolean
Whether or not the message has been deleted.
Error Messages
string
Details of the error messages, if any.

Set do not disturb

Set the do not disturb status for the user.

Optional Parameters

Number of minutes
string
The number of minutes to set do not disturb.

Returns

Snooze Enabled
boolean
Whether snooze is enabled.

Triggers

When a file is created

When a file is created

Required Parameters

Channel
string
The name of the channel.

Returns

Id
string
Id of the file
Created
integer
When the file was created.
Name
string
The name of the file.
Title
string
The title of the file.