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

  1. You send a POST request with a JSON payload to your unique trigger URL
  2. DailyBot matches the event_type in the payload against your configured workflows
  3. Matching workflows are executed with access to the event data
  4. 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

  1. Navigate to DailyBot Settings → Integrations
  2. Select Workflow Trigger
  3. Copy your unique triggering URL
  4. Send POST requests with JSON event data to this URL
  5. 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:

  1. Go to ChatOps in the DailyBot web app
  2. Navigate to Workflows
  3. Create a new workflow and select API Trigger as the trigger type
  4. Set the event_type to match your POST request
  5. Configure the workflow actions (send message, run command, etc.)

Use Cases

  • Deployment notifications — Broadcast deploy events to a #releases channel
  • Payment alerts — Route payment events to #revenue with 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