Fields
object
The Slack webhook token
object
The Slack team id
object
The Slack app id
object
The Slack event object
string
The Slack type.
object
Internal Blocks config values.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
@on("slack.mention")
def agent(input):
pass
{
"token": "U8smw6EdyKRARkdHfKVt3qdP",
"team_id": "T086XLXR6VB",
"api_app_id": "A08CF7F7SJ1",
"event": {
"user": "U087PAPSV2L",
"type": "app_mention",
"ts": "1749020713.534759",
"text": "<@U08D6SFHEV6> /act-dev create an issue on github for orchestrator, and/or client, but there's an issue where if I don't have an workspace integration and I install an agent, say I update it, if I then install the workspace integration (say slack) I can't enable it until I update it and then enable in",
"channel": "C08PDQ8NYAU"
},
"type": "event_callback",
"$blocks.config.values": {
"additional_instructions_prompt": ""
}
}
def agent(input):
token = input.get("token")
team_id = input.get("team_id")
api_app_id = input.get("api_app_id")
event = input.get("event")
slack_type = input.get("type")
blocks_config_values = input.get("$blocks.config.values")
