Procedures
Automation procedures in the Slack BDK Book.
Make sure to add the Slack BDK Book to your agent before using these automation procedures.
to read the (item's messages)
Read messages from a channel.
Input Concepts
item
The channel or user to read messages from
slack channel
or slack user
Yes
Output Concepts
Examples
Read messages from Slack
retrieve a channel from slack
the channel name is "general"
read the channel's messages whose timestamp is lower than "2023-01-01"
to retrieve a (channel) from slack
Retrieve a channel from Slack.
Input Concepts
channel name
The name of the channel to retrieve
text
Yes
Output Concepts
Examples
Retrieve the channel from Slack
retrieve the channel from slack
the channel name is "general"
to retrieve a (user) from slack
Retrieve a user from Slack.
Input Concepts
user name
The name of the user to retrieve
text
Yes
Output Concepts
Examples
Retrieve the user from Slack
retrieve the user from slack
the user name is "John Doe"
to send message to an item
Send a message to a channel or user.
Input Concepts
item
The channel or user to send the message to
slack channel
or slack user
Yes
message
The message to send
text
Yes
blocks
The blocks to send
slack action block
or slack context block
or slack divider block
or slack header block
or slack image block
or slack markdown block
or slack section block
No
Output Concepts
Examples
Send a message to Slack
retrieve the channel from slack
the channel name is "general"
use the above as the channel
send message to the channel
the message is "Hello, world!"
the attachments are "image.png"
Last updated
Was this helpful?