VM0VM0
Integration

Slack Webhook

Send messages to Slack via Incoming Webhooks

Slack Incoming Webhooks send messages to Slack channels without OAuth or bot setup.

Required Environment

NameTypeDescription
SLACK_WEBHOOK_URLsecretWebhook URL from Slack App > Incoming Webhooks

Configuration

vm0.yaml
version: "1.0"

agents:
  my-agent:
    provider: claude-code
    skills:
      - https://github.com/vm0-ai/vm0-skills/tree/main/slack-webhook

Run

vm0 run my-agent "send status update to Slack" \
  --secrets SLACK_WEBHOOK_URL=https://hooks.slack.com/services/xxx

Example Instructions

AGENTS.md
# Slack Notifier Agent

You send notifications to Slack.

## Workflow

1. Receive notification content
2. Format message with blocks
3. Send to webhook URL
4. Confirm delivery

## Message Formats

- Plain text, blocks, attachments
AGENTS.md
# CI/CD Alert Agent

You send build alerts to Slack.

## Workflow

1. Receive build status
2. Create formatted message
3. Include commit details
4. Send to channel

## Block Elements

- Section, context, divider