Workflow API Trigger - DailyBot Developers
Trigger DailyBot workflows by sending JSON events to a unique URL. Build event-driven automations with custom data.
Workflow API Trigger
The Workflow API Trigger lets you send any JSON event to DailyBot to start a workflow. Use it to broadcast system events as channel notifications, trigger post-checkin actions, or build event-driven automations.
Beta Feature
The Workflow API Trigger is currently in beta. If you're
interested in using it, please
contact the DailyBot team.
How It Works
- You send a POST request with a JSON payload to your unique trigger URL
- DailyBot matches the
event_typein the payload against your configured workflows - Matching workflows are executed with access to the event data
- DailyBot responds with HTTP 200 regardless of whether a matching workflow exists
Info
DailyBot does not store these events. They are only processed to decide
which workflow to trigger and then discarded.
Setting Up
- Navigate to DailyBot Settings → Integrations
- Select Workflow Trigger
- Copy your unique triggering URL
- Send POST requests with JSON event data to this URL
- Create corresponding workflows in DailyBot that listen for your event types
The POST Request
Send a POST request with Content-Type: application/json to your trigger URL.
Required Fields
| Name | Type | Required | Description |
|---|---|---|---|
event_type | string | Required | A custom identifier string for the event (e.g. "log_revenue", "deploy_complete"). Used to match workflows. |
secret | string | Optional | Optional secret for signature verification. If configured and mismatched, the workflow will not trigger. |
You can include any additional custom JSON data beyond these fields:
Example trigger request
curl -X POST "https://api.dailybot.com/workflow-trigger/your-unique-id/" \
-H "Content-Type: application/json" \
-d '{
"event_type": "deploy_complete",
"secret": "your-secret-token",
"service": "api-gateway",
"version": "2.1.0",
"environment": "production",
"deployed_by": "CI/CD Pipeline"
}' Creating Workflows
To create a workflow that responds to your API triggers:
- Go to ChatOps in the DailyBot web app
- Navigate to Workflows
- Create a new workflow and select API Trigger as the trigger type
- Set the
event_typeto match your POST request - Configure the workflow actions (send message, run command, etc.)
Use Cases
- Deployment notifications — Broadcast deploy events to a
#releaseschannel - Payment alerts — Route payment events to
#revenuewith amount details - Support escalation — Send critical support tickets to the on-call team
- Post-checkin actions — Trigger manager follow-ups or surveys after check-in completion
- Form processing — Notify specific users when forms are submitted with certain criteria
- CI/CD integration — Send build results as team notifications