AACFlow

Slack

Отправляйте, обновляйте, удаляйте сообщения, управляйте view и модальными окнами, добавляйте и удаляйте реакции, управляйте canvas, получайте информацию о каналах и присутствии пользователей в Slack

Slack — это платформа корпоративных коммуникаций, которая объединяет в одном месте сообщения, инструменты и файлы для команд.

Интеграция Slack в AACFlow позволяет:

  • Отправка сообщений: отправляйте отформатированные сообщения в любой канал или пользователю Slack с поддержкой синтаксиса mrkdwn для богатого форматирования
  • Отправка эфемерных сообщений: отправляйте временные сообщения, видимые только одному конкретному пользователю в канале
  • Обновление сообщений: редактируйте ранее отправленные сообщения бота, чтобы скорректировать информацию или сообщить об обновлении статуса
  • Удаление сообщений: удаляйте сообщения бота, когда они больше не нужны или содержат ошибки
  • Добавление реакций: выражайте отношение или подтверждение, добавляя эмодзи-реакции к любому сообщению
  • Создание canvas: создавайте и публикуйте Slack canvas (совместные документы) прямо в каналах
  • Чтение сообщений: получайте недавние сообщения из каналов или личных переписок с фильтрацией по временному диапазону
  • Управление каналами и пользователями: получайте список каналов, участников и пользователей в вашем рабочем пространстве Slack
  • Скачивание файлов: получайте файлы, опубликованные в каналах Slack, для обработки или архивирования

Интеграция Slack в AACFlow позволяет вашим агентам программно взаимодействовать со Slack в рамках своих воркфлоу. Это даёт возможность автоматизировать такие сценарии, как отправка уведомлений с динамическими обновлениями, ведение диалоговых потоков с редактируемыми статусными сообщениями, подтверждение важных сообщений реакциями и поддержание порядка в каналах за счёт удаления устаревших сообщений бота. Интеграцию также можно использовать в режиме триггера, чтобы запускать воркфлоу при отправке сообщения в канал.

AI-сгенерированный контент

Воркфлоу AACFlow могут использовать AI-модели для генерации сообщений и ответов, отправляемых в Slack. AI-сгенерированный контент может быть неточным или содержать ошибки. Всегда проверяйте автоматические выводы, особенно для критичных коммуникаций.

Нужна помощь?

Если у вас возникли проблемы с интеграцией Slack, напишите нам на help@aacflow.io

Инструкции по использованию

Интегрируйте Slack в рабочий процесс. Может send, update, и удалять сообщения, send ephemeral messages visible only to a specific user, open/update/push modal views, publish Home tab views, create canvases, read messages, и add или remove reactions. Требуется Bot Token instead of OAuth in advanced mode. Can be used in trigger mode to trigger a workflow when a message — это sent to a channel.

Инструменты

slack_message

Отправить messages to Slack channels или direct messages. Supports Slack mrkdwn formatting.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
destinationTypestringНетDestination type: channel or dm
botTokenstringНетBot token for Custom Bot
channelstringНетSlack channel ID (e.g., C1234567890)
dmUserIdstringНетSlack user ID for direct messages (e.g., U1234567890)
textstringДаMessage text to send (supports Slack mrkdwn formatting)
threadTsstringНетThread timestamp to reply to (creates thread reply)
blocksjsonНетBlock Kit layout blocks as a JSON array. When provided, text becomes the fallback notification text.
filesfile[]НетFiles to attach to the message

Выходные данные

ПараметрТипОписание
messageobjectComplete message object with all properties returned by Slack
typestringMessage type (usually "message")
tsstringMessage timestamp (unique identifier)
textstringMessage text content
userstringUser ID who sent the message
bot_idstringBot ID if sent by a bot
usernamestringDisplay username
channelstringChannel ID
teamstringTeam/workspace ID
thread_tsstringParent message timestamp (for threaded replies)
parent_user_idstringUser ID of thread parent message author
reply_countnumberTotal number of replies in thread
reply_users_countnumberNumber of unique users who replied
latest_replystringTimestamp of most recent reply
subscribedbooleanWhether user is subscribed to thread
last_readstringTimestamp of last read message
unread_countnumberNumber of unread messages in thread
subtypestringMessage subtype (bot_message, file_share, etc.)
is_starredbooleanWhether message is starred by user
pinned_toarrayChannel IDs where message is pinned
permalinkstringPermanent URL to the message
reactionsarrayReactions on this message
namestringEmoji name (without colons)
countnumberNumber of times this reaction was added
usersarrayМассив user IDs who reacted
filesarrayFiles attached to the message
idstringUnique file identifier
namestringFile name
mimetypestringMIME type of the file
sizenumberFile size in bytes
url_privatestringPrivate download URL (requires auth)
permalinkstringPermanent link to the file
modestringFile mode (hosted, external, etc.)
attachmentsarrayLegacy attachments on the message
idnumberAttachment ID
fallbackstringPlain text summary
textstringMain attachment text
pretextstringText shown before attachment
colorstringColor bar hex code or preset
author_namestringAuthor display name
author_linkstringAuthor link URL
author_iconstringAuthor icon URL
titlestringAttachment title
title_linkstringTitle link URL
image_urlstringImage URL
thumb_urlstringThumbnail URL
footerstringFooter text
footer_iconstringFooter icon URL
tsstringTimestamp shown in footer
blocksarrayBlock Kit blocks in the message
typestringBlock type (section, divider, image, actions, etc.)
block_idstringUnique block identifier
editedobjectEdit information if message was edited
userstringUser ID who edited the message
tsstringTimestamp of the edit
tsstringMessage timestamp
channelstringChannel ID where message was sent
fileCountnumberNumber of files uploaded (when files are attached)
filesfile[]Files attached to the message

slack_ephemeral_message

Отправить an ephemeral message visible only to a specific user in a channel. Optionally reply in a thread. The message does not persist across sessions.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
channelstringДаSlack channel ID (e.g., C1234567890)
userstringДаUser ID who will see the ephemeral message (e.g., U1234567890). Must be a member of the channel.
textstringДаMessage text to send (supports Slack mrkdwn formatting)
threadTsstringНетThread timestamp to reply in. When provided, the ephemeral message appears as a thread reply.
blocksjsonНетBlock Kit layout blocks as a JSON array. When provided, text becomes the fallback notification text.

Выходные данные

ПараметрТипОписание
messageTsstringTimestamp of the ephemeral message (cannot be used with chat.update)
channelstringChannel ID where the ephemeral message was sent

slack_canvas

Создать и share Slack canvases in channels. Canvases are collaborative documents within Slack.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
channelstringДаSlack channel ID (e.g., C1234567890)
titlestringДаTitle of the canvas
contentstringДаCanvas content in markdown format
document_contentobjectНетStructured canvas document content

Выходные данные

ПараметрТипОписание
canvas_idstringUnique canvas identifier
channelstringChannel where canvas was created
titlestringCanvas title

slack_message_reader

Read the latest messages from Slack channels. Получить conversation history с фильтрация options.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
destinationTypestringНетDestination type: channel or dm
botTokenstringНетBot token for Custom Bot
channelstringНетSlack channel ID to read messages from (e.g., C1234567890)
dmUserIdstringНетSlack user ID for DM conversation (e.g., U1234567890)
limitnumberНетNumber of messages to retrieve (default: 10, max: 15)
oldeststringНетStart of time range (timestamp)
lateststringНетEnd of time range (timestamp)

Выходные данные

ПараметрТипОписание
messagesarrayМассив message objects from the channel
typestringMessage type (usually "message")
tsstringMessage timestamp (unique identifier)
textstringMessage text content
userstringUser ID who sent the message
bot_idstringBot ID if sent by a bot
usernamestringDisplay username
channelstringChannel ID
teamstringTeam/workspace ID
thread_tsstringParent message timestamp (for threaded replies)
parent_user_idstringUser ID of thread parent message author
reply_countnumberTotal number of replies in thread
reply_users_countnumberNumber of unique users who replied
latest_replystringTimestamp of most recent reply
subscribedbooleanWhether user is subscribed to thread
last_readstringTimestamp of last read message
unread_countnumberNumber of unread messages in thread
subtypestringMessage subtype (bot_message, file_share, etc.)
is_starredbooleanWhether message is starred by user
pinned_toarrayChannel IDs where message is pinned
permalinkstringPermanent URL to the message
reactionsarrayReactions on this message
namestringEmoji name (without colons)
countnumberNumber of times this reaction was added
usersarrayМассив user IDs who reacted
filesarrayFiles attached to the message
idstringUnique file identifier
namestringFile name
mimetypestringMIME type of the file
sizenumberFile size in bytes
url_privatestringPrivate download URL (requires auth)
permalinkstringPermanent link to the file
modestringFile mode (hosted, external, etc.)
attachmentsarrayLegacy attachments on the message
idnumberAttachment ID
fallbackstringPlain text summary
textstringMain attachment text
pretextstringText shown before attachment
colorstringColor bar hex code or preset
author_namestringAuthor display name
author_linkstringAuthor link URL
author_iconstringAuthor icon URL
titlestringAttachment title
title_linkstringTitle link URL
image_urlstringImage URL
thumb_urlstringThumbnail URL
footerstringFooter text
footer_iconstringFooter icon URL
tsstringTimestamp shown in footer
blocksarrayBlock Kit blocks in the message
typestringBlock type (section, divider, image, actions, etc.)
block_idstringUnique block identifier
editedobjectEdit information if message was edited
userstringUser ID who edited the message
tsstringTimestamp of the edit

slack_get_message

Получить specific message by its timestamp. Useful для getting a thread parent message.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
channelstringДаSlack channel ID (e.g., C1234567890)
timestampstringДаMessage timestamp to retrieve (e.g., 1405894322.002768)

Выходные данные

ПараметрТипОписание
messageobjectThe retrieved message object
typestringMessage type (usually "message")
tsstringMessage timestamp (unique identifier)
textstringMessage text content
userstringUser ID who sent the message
bot_idstringBot ID if sent by a bot
usernamestringDisplay username
channelstringChannel ID
teamstringTeam/workspace ID
thread_tsstringParent message timestamp (for threaded replies)
parent_user_idstringUser ID of thread parent message author
reply_countnumberTotal number of replies in thread
reply_users_countnumberNumber of unique users who replied
latest_replystringTimestamp of most recent reply
subscribedbooleanWhether user is subscribed to thread
last_readstringTimestamp of last read message
unread_countnumberNumber of unread messages in thread
subtypestringMessage subtype (bot_message, file_share, etc.)
is_starredbooleanWhether message is starred by user
pinned_toarrayChannel IDs where message is pinned
permalinkstringPermanent URL to the message
reactionsarrayReactions on this message
namestringEmoji name (without colons)
countnumberNumber of times this reaction was added
usersarrayМассив user IDs who reacted
filesarrayFiles attached to the message
idstringUnique file identifier
namestringFile name
mimetypestringMIME type of the file
sizenumberFile size in bytes
url_privatestringPrivate download URL (requires auth)
permalinkstringPermanent link to the file
modestringFile mode (hosted, external, etc.)
attachmentsarrayLegacy attachments on the message
idnumberAttachment ID
fallbackstringPlain text summary
textstringMain attachment text
pretextstringText shown before attachment
colorstringColor bar hex code or preset
author_namestringAuthor display name
author_linkstringAuthor link URL
author_iconstringAuthor icon URL
titlestringAttachment title
title_linkstringTitle link URL
image_urlstringImage URL
thumb_urlstringThumbnail URL
footerstringFooter text
footer_iconstringFooter icon URL
tsstringTimestamp shown in footer
blocksarrayBlock Kit blocks in the message
typestringBlock type (section, divider, image, actions, etc.)
block_idstringUnique block identifier
editedobjectEdit information if message was edited
userstringUser ID who edited the message
tsstringTimestamp of the edit

slack_get_thread

Получитьn entire thread including the parent message и all replies. Useful для getting full conversation context.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
channelstringДаSlack channel ID (e.g., C1234567890)
threadTsstringДаThread timestamp (thread_ts) to retrieve (e.g., 1405894322.002768)
limitnumberНетMaximum number of messages to return (default: 100, max: 200)

Выходные данные

ПараметрТипОписание
parentMessageobjectThe thread parent message
typestringMessage type (usually "message")
tsstringMessage timestamp (unique identifier)
textstringMessage text content
userstringUser ID who sent the message
bot_idstringBot ID if sent by a bot
usernamestringDisplay username
channelstringChannel ID
teamstringTeam/workspace ID
thread_tsstringParent message timestamp (for threaded replies)
parent_user_idstringUser ID of thread parent message author
reply_countnumberTotal number of replies in thread
reply_users_countnumberNumber of unique users who replied
latest_replystringTimestamp of most recent reply
subscribedbooleanWhether user is subscribed to thread
last_readstringTimestamp of last read message
unread_countnumberNumber of unread messages in thread
subtypestringMessage subtype (bot_message, file_share, etc.)
is_starredbooleanWhether message is starred by user
pinned_toarrayChannel IDs where message is pinned
permalinkstringPermanent URL to the message
reactionsarrayReactions on this message
namestringEmoji name (without colons)
countnumberNumber of times this reaction was added
usersarrayМассив user IDs who reacted
filesarrayFiles attached to the message
idstringUnique file identifier
namestringFile name
mimetypestringMIME type of the file
sizenumberFile size in bytes
url_privatestringPrivate download URL (requires auth)
permalinkstringPermanent link to the file
modestringFile mode (hosted, external, etc.)
attachmentsarrayLegacy attachments on the message
idnumberAttachment ID
fallbackstringPlain text summary
textstringMain attachment text
pretextstringText shown before attachment
colorstringColor bar hex code or preset
author_namestringAuthor display name
author_linkstringAuthor link URL
author_iconstringAuthor icon URL
titlestringAttachment title
title_linkstringTitle link URL
image_urlstringImage URL
thumb_urlstringThumbnail URL
footerstringFooter text
footer_iconstringFooter icon URL
tsstringTimestamp shown in footer
blocksarrayBlock Kit blocks in the message
typestringBlock type (section, divider, image, actions, etc.)
block_idstringUnique block identifier
editedobjectEdit information if message was edited
userstringUser ID who edited the message
tsstringTimestamp of the edit
repliesarrayМассив reply messages in the thread (excluding the parent)
typestringMessage type (usually "message")
tsstringMessage timestamp (unique identifier)
textstringMessage text content
userstringUser ID who sent the message
bot_idstringBot ID if sent by a bot
usernamestringDisplay username
channelstringChannel ID
teamstringTeam/workspace ID
thread_tsstringParent message timestamp (for threaded replies)
parent_user_idstringUser ID of thread parent message author
reply_countnumberTotal number of replies in thread
reply_users_countnumberNumber of unique users who replied
latest_replystringTimestamp of most recent reply
subscribedbooleanWhether user is subscribed to thread
last_readstringTimestamp of last read message
unread_countnumberNumber of unread messages in thread
subtypestringMessage subtype (bot_message, file_share, etc.)
is_starredbooleanWhether message is starred by user
pinned_toarrayChannel IDs where message is pinned
permalinkstringPermanent URL to the message
reactionsarrayReactions on this message
namestringEmoji name (without colons)
countnumberNumber of times this reaction was added
usersarrayМассив user IDs who reacted
filesarrayFiles attached to the message
idstringUnique file identifier
namestringFile name
mimetypestringMIME type of the file
sizenumberFile size in bytes
url_privatestringPrivate download URL (requires auth)
permalinkstringPermanent link to the file
modestringFile mode (hosted, external, etc.)
attachmentsarrayLegacy attachments on the message
idnumberAttachment ID
fallbackstringPlain text summary
textstringMain attachment text
pretextstringText shown before attachment
colorstringColor bar hex code or preset
author_namestringAuthor display name
author_linkstringAuthor link URL
author_iconstringAuthor icon URL
titlestringAttachment title
title_linkstringTitle link URL
image_urlstringImage URL
thumb_urlstringThumbnail URL
footerstringFooter text
footer_iconstringFooter icon URL
tsstringTimestamp shown in footer
blocksarrayBlock Kit blocks in the message
typestringBlock type (section, divider, image, actions, etc.)
block_idstringUnique block identifier
editedobjectEdit information if message was edited
userstringUser ID who edited the message
tsstringTimestamp of the edit
messagesarrayAll messages in the thread (parent + replies) in chronological order
typestringMessage type (usually "message")
tsstringMessage timestamp (unique identifier)
textstringMessage text content
userstringUser ID who sent the message
bot_idstringBot ID if sent by a bot
usernamestringDisplay username
channelstringChannel ID
teamstringTeam/workspace ID
thread_tsstringParent message timestamp (for threaded replies)
parent_user_idstringUser ID of thread parent message author
reply_countnumberTotal number of replies in thread
reply_users_countnumberNumber of unique users who replied
latest_replystringTimestamp of most recent reply
subscribedbooleanWhether user is subscribed to thread
last_readstringTimestamp of last read message
unread_countnumberNumber of unread messages in thread
subtypestringMessage subtype (bot_message, file_share, etc.)
is_starredbooleanWhether message is starred by user
pinned_toarrayChannel IDs where message is pinned
permalinkstringPermanent URL to the message
reactionsarrayReactions on this message
namestringEmoji name (without colons)
countnumberNumber of times this reaction was added
usersarrayМассив user IDs who reacted
filesarrayFiles attached to the message
idstringUnique file identifier
namestringFile name
mimetypestringMIME type of the file
sizenumberFile size in bytes
url_privatestringPrivate download URL (requires auth)
permalinkstringPermanent link to the file
modestringFile mode (hosted, external, etc.)
attachmentsarrayLegacy attachments on the message
idnumberAttachment ID
fallbackstringPlain text summary
textstringMain attachment text
pretextstringText shown before attachment
colorstringColor bar hex code or preset
author_namestringAuthor display name
author_linkstringAuthor link URL
author_iconstringAuthor icon URL
titlestringAttachment title
title_linkstringTitle link URL
image_urlstringImage URL
thumb_urlstringThumbnail URL
footerstringFooter text
footer_iconstringFooter icon URL
tsstringTimestamp shown in footer
blocksarrayBlock Kit blocks in the message
typestringBlock type (section, divider, image, actions, etc.)
block_idstringUnique block identifier
editedobjectEdit information if message was edited
userstringUser ID who edited the message
tsstringTimestamp of the edit
replyCountnumberNumber of replies returned in this response
hasMorebooleanПроизошла лиre are more messages in the thread (постраничная выборка needed)

slack_list_channels

Список всех channels in a Slack workspace. Returns public и private channels the bot has access to.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
includePrivatebooleanНетInclude private channels the bot is a member of (default: true)
excludeArchivedbooleanНетExclude archived channels (default: true)
limitnumberНетMaximum number of channels to return (default: 100, max: 200)

Выходные данные

ПараметрТипОписание
channelsarrayМассив channel objects from the workspace
idstringChannel ID (e.g., C1234567890)
namestringChannel name without # prefix
is_channelbooleanПроизошла ли эта is a channel
is_privatebooleanWhether channel is private
is_archivedbooleanWhether channel is archived
is_generalbooleanПроизошла ли эта is the general channel
is_memberbooleanПроизошла ли bot/user is a member
is_sharedbooleanWhether channel is shared across workspaces
is_ext_sharedbooleanWhether channel is externally shared
is_org_sharedbooleanWhether channel is org-wide shared
num_membersnumberNumber of members in the channel
topicstringChannel topic
purposestringChannel purpose/description
creatednumberUnix timestamp when channel was created
creatorstringUser ID of channel creator
updatednumberUnix timestamp of last update
idsarrayМассив channel IDs for easy access
namesarrayМассив channel names for easy access
countnumberTotal number of channels returned

slack_list_members

Список всех members (user IDs) in a Slack channel. Use с Получить User Info to resolve IDs to names.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
channelstringДаChannel ID to list members from
limitnumberНетMaximum number of members to return (default: 100, max: 200)

Выходные данные

ПараметрТипОписание
membersarrayМассив user IDs who are members of the channel (e.g., U1234567890)
countnumberTotal number of members returned

slack_list_users

Список всех users in a Slack workspace. Returns user profiles с names и avatars.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
includeDeletedbooleanНетInclude deactivated/deleted users (default: false)
limitnumberНетMaximum number of users to return (default: 100, max: 200)

Выходные данные

ПараметрТипОписание
usersarrayМассив user objects from the workspace
idstringUser ID (e.g., U1234567890)
namestringUsername (handle)
real_namestringFull real name
display_namestringDisplay name shown in Slack
emailstringEmail address (requires users:read.email scope)
is_botbooleanПроизошла ли user is a bot
is_adminbooleanПроизошла ли user is a workspace admin
is_ownerbooleanПроизошла ли user is the workspace owner
deletedbooleanПроизошла ли user is deactivated
timezonestringUser timezone identifier
avatarstringURL to user avatar image
status_textstringCustom status text
status_emojistringCustom status emoji
idsarrayМассив user IDs for easy access
namesarrayМассив usernames for easy access
countnumberTotal number of users returned

slack_get_user

Получить подробную информацию about a specific Slack user by their user ID.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
userIdstringДаUser ID to look up (e.g., U1234567890)

Выходные данные

ПараметрТипОписание
userobjectDetailed user information
idstringUser ID (e.g., U1234567890)
team_idstringWorkspace/team ID
namestringUsername (handle)
real_namestringFull real name
display_namestringDisplay name shown in Slack
first_namestringFirst name
last_namestringLast name
titlestringJob title
phonestringPhone number
skypestringSkype handle
emailstringEmail address (requires users:read.email scope)
is_botbooleanПроизошла ли user is a bot
is_adminbooleanПроизошла ли user is a workspace admin
is_ownerbooleanПроизошла ли user is the workspace owner
is_primary_ownerbooleanПроизошла ли user is the primary owner
is_restrictedbooleanПроизошла ли user is a guest (restricted)
is_ultra_restrictedbooleanПроизошла ли user is a single-channel guest
is_app_userbooleanWhether user is an app user
is_strangerbooleanWhether user is from different workspace
deletedbooleanПроизошла ли user is deactivated
colorstringUser color for display
timezonestringTimezone identifier (e.g., America/Los_Angeles)
timezone_labelstringHuman-readable timezone label
timezone_offsetnumberTimezone offset in seconds from UTC
avatarstringURL to user avatar image
avatar_24stringURL to 24px avatar
avatar_48stringURL to 48px avatar
avatar_72stringURL to 72px avatar
avatar_192stringURL to 192px avatar
avatar_512stringURL to 512px avatar
status_textstringCustom status text
status_emojistringCustom status emoji
status_expirationnumberUnix timestamp when status expires
updatednumberUnix timestamp of last profile update
has_2fabooleanWhether two-factor auth is enabled

slack_download

Загрузить a file from Slack

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
fileIdstringДаThe ID of the file to download
fileNamestringНетOptional filename override

Выходные данные

ПараметрТипОписание
filefileDownloaded file stored in execution files

slack_update_message

Обновить message previously sent by the bot in Slack

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
channelstringДаChannel ID where the message was posted (e.g., C1234567890)
timestampstringДаTimestamp of the message to update (e.g., 1405894322.002768)
textstringДаNew message text (supports Slack mrkdwn formatting)
blocksjsonНетBlock Kit layout blocks as a JSON array. When provided, text becomes the fallback notification text.

Выходные данные

ПараметрТипОписание
messageobjectComplete updated message object with all properties returned by Slack
typestringMessage type (usually "message")
tsstringMessage timestamp (unique identifier)
textstringMessage text content
userstringUser ID who sent the message
bot_idstringBot ID if sent by a bot
usernamestringDisplay username
channelstringChannel ID
teamstringTeam/workspace ID
thread_tsstringParent message timestamp (for threaded replies)
parent_user_idstringUser ID of thread parent message author
reply_countnumberTotal number of replies in thread
reply_users_countnumberNumber of unique users who replied
latest_replystringTimestamp of most recent reply
subscribedbooleanWhether user is subscribed to thread
last_readstringTimestamp of last read message
unread_countnumberNumber of unread messages in thread
subtypestringMessage subtype (bot_message, file_share, etc.)
is_starredbooleanWhether message is starred by user
pinned_toarrayChannel IDs where message is pinned
permalinkstringPermanent URL to the message
reactionsarrayReactions on this message
namestringEmoji name (without colons)
countnumberNumber of times this reaction was added
usersarrayМассив user IDs who reacted
filesarrayFiles attached to the message
idstringUnique file identifier
namestringFile name
mimetypestringMIME type of the file
sizenumberFile size in bytes
url_privatestringPrivate download URL (requires auth)
permalinkstringPermanent link to the file
modestringFile mode (hosted, external, etc.)
attachmentsarrayLegacy attachments on the message
idnumberAttachment ID
fallbackstringPlain text summary
textstringMain attachment text
pretextstringText shown before attachment
colorstringColor bar hex code or preset
author_namestringAuthor display name
author_linkstringAuthor link URL
author_iconstringAuthor icon URL
titlestringAttachment title
title_linkstringTitle link URL
image_urlstringImage URL
thumb_urlstringThumbnail URL
footerstringFooter text
footer_iconstringFooter icon URL
tsstringTimestamp shown in footer
blocksarrayBlock Kit blocks in the message
typestringBlock type (section, divider, image, actions, etc.)
block_idstringUnique block identifier
editedobjectEdit information if message was edited
userstringUser ID who edited the message
tsstringTimestamp of the edit
contentstringSuccess message
metadataobjectUpdated message metadata
channelstringChannel ID
timestampstringMessage timestamp
textstringUpdated message text

slack_delete_message

Удалить message previously sent by the bot in Slack

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
channelstringДаChannel ID where the message was posted (e.g., C1234567890)
timestampstringДаTimestamp of the message to delete (e.g., 1405894322.002768)

Выходные данные

ПараметрТипОписание
contentstringSuccess message
metadataobjectDeleted message metadata
channelstringChannel ID
timestampstringMessage timestamp

slack_add_reaction

Добавить an emoji reaction to a Slack message

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
channelstringДаChannel ID where the message was posted (e.g., C1234567890)
timestampstringДаTimestamp of the message to react to (e.g., 1405894322.002768)
namestringДаName of the emoji reaction (without colons, e.g., thumbsup, heart, eyes)

Выходные данные

ПараметрТипОписание
contentstringSuccess message
metadataobjectReaction metadata
channelstringChannel ID
timestampstringMessage timestamp
reactionstringEmoji reaction name

slack_remove_reaction

Remove an emoji reaction from a Slack message

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
channelstringДаChannel ID where the message was posted (e.g., C1234567890)
timestampstringДаTimestamp of the message to remove reaction from (e.g., 1405894322.002768)
namestringДаName of the emoji reaction to remove (without colons, e.g., thumbsup, heart, eyes)

Выходные данные

ПараметрТипОписание
contentstringSuccess message
metadataobjectReaction metadata
channelstringChannel ID
timestampstringMessage timestamp
reactionstringEmoji reaction name

slack_get_channel_info

Получить подробную информацию about a Slack channel by its ID

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
channelstringДаChannel ID to get information about (e.g., C1234567890)
includeNumMembersbooleanНетWhether to include the member count in the response

Выходные данные

ПараметрТипОписание
channelInfoobjectDetailed channel information
idstringChannel ID (e.g., C1234567890)
namestringChannel name without # prefix
is_channelbooleanПроизошла ли эта is a channel
is_privatebooleanWhether channel is private
is_archivedbooleanWhether channel is archived
is_generalbooleanПроизошла ли эта is the general channel
is_memberbooleanПроизошла ли bot/user is a member
is_sharedbooleanWhether channel is shared across workspaces
is_ext_sharedbooleanWhether channel is externally shared
is_org_sharedbooleanWhether channel is org-wide shared
num_membersnumberNumber of members in the channel
topicstringChannel topic
purposestringChannel purpose/description
creatednumberUnix timestamp when channel was created
creatorstringUser ID of channel creator
updatednumberUnix timestamp of last update

slack_get_user_presence

Проверить whether a Slack user — это currently active или away

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
userIdstringДаUser ID to check presence for (e.g., U1234567890)

Выходные данные

ПараметрТипОписание
presencestringUser presence status: "active" or "away"
onlinebooleanWhether user has an active client connection (only available when checking own presence)
autoAwaybooleanWhether user was automatically set to away due to inactivity (only available when checking own presence)
manualAwaybooleanWhether user manually set themselves as away (only available when checking own presence)
connectionCountnumberTotal number of active connections for the user (only available when checking own presence)
lastActivitynumberUnix timestamp of last detected activity (only available when checking own presence)

slack_edit_canvas

Edit an existing Slack canvas by inserting, replacing, или deleting content

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
canvasIdstringДаCanvas ID to edit (e.g., F1234ABCD)
operationstringДаEdit operation: insert_at_start, insert_at_end, insert_after, insert_before, replace, delete, or rename
contentstringНетMarkdown content for the operation (required for insert/replace operations)
sectionIdstringНетSection ID to target (required for insert_after, insert_before, replace, and delete)
titlestringНетNew title for the canvas (only used with rename operation)

Выходные данные

ПараметрТипОписание
contentstringSuccess message

slack_create_channel_canvas

Создать a canvas pinned to a Slack channel as its resource hub

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
channelstringДаChannel ID to create the canvas in (e.g., C1234567890)
titlestringНетTitle for the channel canvas
contentstringНетCanvas content in markdown format

Выходные данные

ПараметрТипОписание
canvas_idstringID of the created channel canvas

slack_create_conversation

Создать новый public или private channel in a Slack workspace.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
namestringДаName of the channel to create (lowercase, numbers, hyphens, underscores only; max 80 characters)
isPrivatebooleanНетCreate a private channel instead of a public one (default: false)
teamIdstringНетEncoded team ID to create the channel in (required if using an org token)

Выходные данные

ПараметрТипОписание
channelInfoobjectThe newly created channel object
idstringChannel ID (e.g., C1234567890)
namestringChannel name without # prefix
is_channelbooleanПроизошла ли эта is a channel
is_privatebooleanWhether channel is private
is_archivedbooleanWhether channel is archived
is_generalbooleanПроизошла ли эта is the general channel
is_memberbooleanПроизошла ли bot/user is a member
is_sharedbooleanWhether channel is shared across workspaces
is_ext_sharedbooleanWhether channel is externally shared
is_org_sharedbooleanWhether channel is org-wide shared
num_membersnumberNumber of members in the channel
topicstringChannel topic
purposestringChannel purpose/description
creatednumberUnix timestamp when channel was created
creatorstringUser ID of channel creator
updatednumberUnix timestamp of last update

slack_invite_to_conversation

Invite one или more users to a Slack channel. Supports up to 100 users at a time.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
channelstringДаThe ID of the channel to invite users to
usersstringДаComma-separated list of user IDs to invite (up to 100)
forcebooleanНетWhen true, continues inviting valid users while skipping invalid ones (default: false)

Выходные данные

ПараметрТипОписание
channelInfoobjectThe channel object after inviting users
idstringChannel ID (e.g., C1234567890)
namestringChannel name without # prefix
is_channelbooleanПроизошла ли эта is a channel
is_privatebooleanWhether channel is private
is_archivedbooleanWhether channel is archived
is_generalbooleanПроизошла ли эта is the general channel
is_memberbooleanПроизошла ли bot/user is a member
is_sharedbooleanWhether channel is shared across workspaces
is_ext_sharedbooleanWhether channel is externally shared
is_org_sharedbooleanWhether channel is org-wide shared
num_membersnumberNumber of members in the channel
topicstringChannel topic
purposestringChannel purpose/description
creatednumberUnix timestamp when channel was created
creatorstringUser ID of channel creator
updatednumberUnix timestamp of last update
errorsarrayPer-user errors when force is true and some invitations failed
userstringUser ID that failed
okbooleanAlways false for error entries
errorstringError code for this user

slack_open_view

Open a modal view in Slack using a trigger_id from an interaction payload. Used to display forms, confirmations, и other interactive modals.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
triggerIdstringДаExchange a trigger to post to the user. Obtained from an interaction payload (e.g., slash command, button click)
interactivityPointerstringНетAlternative to trigger_id for posting to user
viewjsonДаA view payload object defining the modal. Must include type ("modal"), title, and blocks array

Выходные данные

ПараметрТипОписание
viewobjectThe opened modal view object
idstringUnique view identifier
team_idstringWorkspace/team ID
typestringView type (e.g., "modal")
titlejsonPlain text title object with type and text fields
typestringText object type (plain_text)
textstringTitle text content
submitjsonPlain text submit button object
typestringText object type (plain_text)
textstringSubmit button text
closejsonPlain text close button object
typestringText object type (plain_text)
textstringClose button text
blocksarrayBlock Kit blocks in the view
typestringBlock type (section, divider, image, actions, etc.)
block_idstringUnique block identifier
private_metadatastringPrivate metadata string passed С помощью view
callback_idstringCustom identifier for the view
external_idstringCustom external identifier (max 255 chars, unique per workspace)
statejsonCurrent state of the view with input values
hashstringView version hash for updates
clear_on_closebooleanWhether to clear all views in the stack when this view is closed
notify_on_closebooleanWhether to send a view_closed event when this view is closed
root_view_idstringID of the root view in the view stack
previous_view_idstringID of the previous view in the view stack
app_idstringApplication identifier
bot_idstringBot identifier

slack_update_view

Обновитьn existing modal view in Slack. Identify the view by view_id или external_id, и provide the updated view payload.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
viewIdstringНетUnique identifier of the view to update. Either viewId or externalId is required
externalIdstringНетDeveloper-set unique identifier of the view to update (max 255 chars). Either viewId or externalId is required
hashstringНетView state hash to protect against race conditions. Obtained from a previous views response
viewjsonДаA view payload object defining the updated modal. Must include type ("modal"), title, and blocks array. Use identical block_id and action_id values to preserve input data

Выходные данные

ПараметрТипОписание
viewobjectThe updated modal view object
idstringUnique view identifier
team_idstringWorkspace/team ID
typestringView type (e.g., "modal")
titlejsonPlain text title object with type and text fields
typestringText object type (plain_text)
textstringTitle text content
submitjsonPlain text submit button object
typestringText object type (plain_text)
textstringSubmit button text
closejsonPlain text close button object
typestringText object type (plain_text)
textstringClose button text
blocksarrayBlock Kit blocks in the view
typestringBlock type (section, divider, image, actions, etc.)
block_idstringUnique block identifier
private_metadatastringPrivate metadata string passed С помощью view
callback_idstringCustom identifier for the view
external_idstringCustom external identifier (max 255 chars, unique per workspace)
statejsonCurrent state of the view with input values
hashstringView version hash for updates
clear_on_closebooleanWhether to clear all views in the stack when this view is closed
notify_on_closebooleanWhether to send a view_closed event when this view is closed
root_view_idstringID of the root view in the view stack
previous_view_idstringID of the previous view in the view stack
app_idstringApplication identifier
bot_idstringBot identifier

slack_push_view

Push a new view onto an existing modal stack in Slack. Limited to 2 additional views after the initial modal — это opened.

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
triggerIdstringДаExchange a trigger to post to the user. Obtained from an interaction payload (e.g., button click within an existing modal)
interactivityPointerstringНетAlternative to trigger_id for posting to user
viewjsonДаA view payload object defining the modal to push. Must include type ("modal"), title, and blocks array

Выходные данные

ПараметрТипОписание
viewobjectThe pushed modal view object
idstringUnique view identifier
team_idstringWorkspace/team ID
typestringView type (e.g., "modal")
titlejsonPlain text title object with type and text fields
typestringText object type (plain_text)
textstringTitle text content
submitjsonPlain text submit button object
typestringText object type (plain_text)
textstringSubmit button text
closejsonPlain text close button object
typestringText object type (plain_text)
textstringClose button text
blocksarrayBlock Kit blocks in the view
typestringBlock type (section, divider, image, actions, etc.)
block_idstringUnique block identifier
private_metadatastringPrivate metadata string passed С помощью view
callback_idstringCustom identifier for the view
external_idstringCustom external identifier (max 255 chars, unique per workspace)
statejsonCurrent state of the view with input values
hashstringView version hash for updates
clear_on_closebooleanWhether to clear all views in the stack when this view is closed
notify_on_closebooleanWhether to send a view_closed event when this view is closed
root_view_idstringID of the root view in the view stack
previous_view_idstringID of the previous view in the view stack
app_idstringApplication identifier
bot_idstringBot identifier

slack_publish_view

Publish a static view to a user

Входные параметры

ПараметрТипОбязательныйОписание
authMethodstringНетAuthentication method: oauth or bot_token
botTokenstringНетBot token for Custom Bot
userIdstringДаThe user ID to publish the Home tab view to (e.g., U0BPQUNTA)
hashstringНетView state hash to protect against race conditions. Obtained from a previous views response
viewjsonДаA view payload object defining the Home tab. Must include type ("home") and blocks array

Выходные данные

ПараметрТипОписание
viewobjectThe published Home tab view object
idstringUnique view identifier
team_idstringWorkspace/team ID
typestringView type (e.g., "modal")
titlejsonPlain text title object with type and text fields
typestringText object type (plain_text)
textstringTitle text content
submitjsonPlain text submit button object
typestringText object type (plain_text)
textstringSubmit button text
closejsonPlain text close button object
typestringText object type (plain_text)
textstringClose button text
blocksarrayBlock Kit blocks in the view
typestringBlock type (section, divider, image, actions, etc.)
block_idstringUnique block identifier
private_metadatastringPrivate metadata string passed С помощью view
callback_idstringCustom identifier for the view
external_idstringCustom external identifier (max 255 chars, unique per workspace)
statejsonCurrent state of the view with input values
hashstringView version hash for updates
clear_on_closebooleanWhether to clear all views in the stack when this view is closed
notify_on_closebooleanWhether to send a view_closed event when this view is closed
root_view_idstringID of the root view in the view stack
previous_view_idstringID of the previous view in the view stack
app_idstringApplication identifier
bot_idstringBot identifier

On this page

AI-сгенерированный контент
Нужна помощь?
Инструкции по использованию
Инструменты
slack_message
Входные параметры
Выходные данные
slack_ephemeral_message
Входные параметры
Выходные данные
slack_canvas
Входные параметры
Выходные данные
slack_message_reader
Входные параметры
Выходные данные
slack_get_message
Входные параметры
Выходные данные
slack_get_thread
Входные параметры
Выходные данные
slack_list_channels
Входные параметры
Выходные данные
slack_list_members
Входные параметры
Выходные данные
slack_list_users
Входные параметры
Выходные данные
slack_get_user
Входные параметры
Выходные данные
slack_download
Входные параметры
Выходные данные
slack_update_message
Входные параметры
Выходные данные
slack_delete_message
Входные параметры
Выходные данные
slack_add_reaction
Входные параметры
Выходные данные
slack_remove_reaction
Входные параметры
Выходные данные
slack_get_channel_info
Входные параметры
Выходные данные
slack_get_user_presence
Входные параметры
Выходные данные
slack_edit_canvas
Входные параметры
Выходные данные
slack_create_channel_canvas
Входные параметры
Выходные данные
slack_create_conversation
Входные параметры
Выходные данные
slack_invite_to_conversation
Входные параметры
Выходные данные
slack_open_view
Входные параметры
Выходные данные
slack_update_view
Входные параметры
Выходные данные
slack_push_view
Входные параметры
Выходные данные
slack_publish_view
Входные параметры
Выходные данные
Начните создавать сегодня
Нам доверяют более 100 000 разработчиков.
SaaS-платформа для создания AI-агентов и управления агентным workforce.
Начать