Slack
Post Formatted Slack Webhook Message
Sends a headed message to a channel through an incoming webhook.
Unverified
What the model is told
Post a short formatted alert to the team's Slack channel, with a bold title and details underneath. Use it to flag a handover or an urgent request. Slack replies with the text ok when it succeeds.
Request
POSThttps://hooks.slack.com/services/YOUR_SLACK_WEBHOOK_PATH
Headers
Content-Typeapplication/json
Body
{
"text": "{{title}}: {{details}}",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*{{title}}*\n{{details}}"
}
}
]
}Parameters
title stringA short heading for the message.details stringThe details to show under the heading.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "1c24316c-9378-41a5-9ca2-12956d60af9b",
"type": "HTTP_REQUEST",
"label": "Post Formatted Slack Webhook Message",
"name": "post_formatted_slack_webhook_message",
"customName": false,
"description": "Post a short formatted alert to the team's Slack channel, with a bold title and details underneath. Use it to flag a handover or an urgent request. Slack replies with the text ok when it succeeds.",
"parameters": [
{
"name": "title",
"type": "string",
"description": "A short heading for the message."
},
{
"name": "details",
"type": "string",
"description": "The details to show under the heading."
}
],
"config": {
"endpoint": {
"method": "POST",
"url": "https://hooks.slack.com/services/YOUR_SLACK_WEBHOOK_PATH"
},
"headers": [
{
"name": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"text\": \"{{title}}: {{details}}\",\n \"blocks\": [\n {\n \"type\": \"section\",\n \"text\": {\n \"type\": \"mrkdwn\",\n \"text\": \"*{{title}}*\\n{{details}}\"\n }\n }\n ]\n}",
"timeout": null
}
}
}IDs are regenerated on every copy.