> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dume.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Trigger Node

> Start workflows automatically via schedules, integration events, or webhooks. Complete guide to workflow triggers and automation timing in Dume.ai.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/stackgrid/EkBDodULiCbvmvuv/images/light/workflow/sample-nodes/trigger.png?fit=max&auto=format&n=EkBDodULiCbvmvuv&q=85&s=09b71a96510fa7cabc9c805f8f763acb" alt="Workflow Dume.ai Trigger" title="Dume.ai Workflow Trigger" width="200" data-path="images/light/workflow/sample-nodes/trigger.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/stackgrid/MMXhwtNTjHEo285E/images/dark/workflow/sample_nodes/trigger.png?fit=max&auto=format&n=MMXhwtNTjHEo285E&q=85&s=df4d93aaefc8aca8d9eca8faa46f5faa" alt="Workflow Dume.ai Trigger" title="Dume.ai Workflow Trigger" width="200" data-path="images/dark/workflow/sample_nodes/trigger.png" />
</Frame>

# Using the Trigger Node

<Info>
  The Trigger Node starts a workflow without manual chat input. It listens for time-based schedules, external integration events, or incoming webhooks and then injects mapped data into downstream nodes.
</Info>

You can define multiple trigger configurations (e.g., a daily schedule plus a webhook). Only active (enabled) triggers fire. Incoming payload fields are mapped to workflow input variables, enabling fully automated runs.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/stackgrid/oY4hBaRY8pxXJFIw/images/light/workflow/nodes/trigger_node.png?fit=max&auto=format&n=oY4hBaRY8pxXJFIw&q=85&s=59df467199c2b9e191437a875f4b472f" alt="Workflow Dume.ai trigger node" title="Dume.ai Workflow Trigger node" width="200" data-path="images/light/workflow/nodes/trigger_node.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/stackgrid/MMXhwtNTjHEo285E/images/dark/workflow/nodes/trigger_node.png?fit=max&auto=format&n=MMXhwtNTjHEo285E&q=85&s=fed11e8d9e9f51804b98ad21df6223e7" alt="Workflow Dume.ai trigger node" title="Dume.ai Workflow Trigger node" width="200" data-path="images/dark/workflow/nodes/trigger_node.png" />
</Frame>

## Configuration Panel

The Trigger Node configuration is organized into sections:

<Tabs>
  <Tab title="Integration">
    Runs when a connected tool emits an event.

    * Source Integration: e.g. Gmail, Calendar, GitHub, Jira.
    * Event Type: email\_received, new\_issue, meeting\_created, workflow\_failed, etc.

    <Frame>
      <img className="block dark:hidden" src="https://mintcdn.com/stackgrid/oY4hBaRY8pxXJFIw/images/light/workflow/nodes/trigger_node/integration.png?fit=max&auto=format&n=oY4hBaRY8pxXJFIw&q=85&s=9a65aa19eddb978957c61041bee6dfcf" alt="Workflow Dume.ai trigger integration" title="Dume.ai Workflow Trigger integration" width="200" data-path="images/light/workflow/nodes/trigger_node/integration.png" />

      <img className="hidden dark:block" src="https://mintcdn.com/stackgrid/MMXhwtNTjHEo285E/images/dark/workflow/nodes/trigger_node/integration.png?fit=max&auto=format&n=MMXhwtNTjHEo285E&q=85&s=bd45dfd5ce15edb7140e7212b9f8d80e" alt="Workflow Dume.ai trigger integration" title="Dume.ai Workflow Trigger integration" width="200" data-path="images/dark/workflow/nodes/trigger_node/integration.png" />
    </Frame>
  </Tab>

  <Tab title="Schedule">
    Defines time-based execution.

    * Frequency: once, interval (every 15m), daily, weekly, monthly.
    * Cron Expression (advanced): e.g. `0 8 * * 1-5` (8 AM weekdays).
    * Timezone: ensures consistent execution across regions.
    * Start / End (optional): limit active window.
    * Skip Holidays (optional list): provide ISO dates to skip.

    <Frame>
      <img className="block dark:hidden" src="https://mintcdn.com/stackgrid/oY4hBaRY8pxXJFIw/images/light/workflow/nodes/trigger_node/schedule.png?fit=max&auto=format&n=oY4hBaRY8pxXJFIw&q=85&s=6f71a93e7929bc97be752f09fb8549de" alt="Workflow Dume.ai trigger schedule" title="Dume.ai Workflow Trigger schedule" width="200" data-path="images/light/workflow/nodes/trigger_node/schedule.png" />

      <img className="hidden dark:block" src="https://mintcdn.com/stackgrid/MMXhwtNTjHEo285E/images/dark/workflow/nodes/trigger_node/schedule.png?fit=max&auto=format&n=MMXhwtNTjHEo285E&q=85&s=64d26ca92d25c1934207e3623a12a15e" alt="Workflow Dume.ai trigger schedule" title="Dume.ai Workflow Trigger schedule" width="200" data-path="images/dark/workflow/nodes/trigger_node/schedule.png" />
    </Frame>
  </Tab>

  <Tab title="Webhook">
    External systems can call the POST API to trigger the workflow. Below are the parameter required:

    * Endpoint URL: auto-generated.
    * Shared Secret: required header or HMAC signature.
    * Allowed IPs (optional): restrict origin.
    * Payload Schema: declare expected fields.
    * Validation: reject malformed requests.

    <Frame>
      <img className="block dark:hidden" src="https://mintcdn.com/stackgrid/oY4hBaRY8pxXJFIw/images/light/workflow/nodes/trigger_node/webhook.png?fit=max&auto=format&n=oY4hBaRY8pxXJFIw&q=85&s=57f31ad830567adb998a153795367f51" alt="Workflow Dume.ai trigger webhook" title="Dume.ai Workflow Trigger webhook" width="200" data-path="images/light/workflow/nodes/trigger_node/webhook.png" />

      <img className="hidden dark:block" src="https://mintcdn.com/stackgrid/MMXhwtNTjHEo285E/images/dark/workflow/nodes/trigger_node/webhook.png?fit=max&auto=format&n=MMXhwtNTjHEo285E&q=85&s=cdec49cff0155b50233897a0a1944f07" alt="Workflow Dume.ai trigger webhook" title="Dume.ai Workflow Trigger webhook" width="200" data-path="images/dark/workflow/nodes/trigger_node/webhook.png" />
    </Frame>
  </Tab>
</Tabs>

## Examples in Practice

<Card title="Daily KPI Digest">
  * Type: Schedule (08:00 daily)
  * Maps: kpi\_revenue, kpi\_churn from external analytics endpoint (via later Tool Node)
  * Flow: Trigger → Tool Node (fetch KPIs) → LLM Node (summarize) → Output
</Card>

<Card title="Meeting Follow-Up">
  * Type: Integration Event (Calendar: meeting\_created)
  * Filter: duration >= 30m AND attendee\_count > 2
  * Maps: title, start\_time, attendees
  * Flow: Trigger → Delay (1h) → LLM summary → Send recap
</Card>

<Card title="Critical Issue Escalation">
  * Type: Integration Event (Jira: issue\_created)
  * Filter: priority=High OR labels contains "security"
  * Maps: issue\_key, summary, priority
  * Flow: Trigger → Condition (priority) → LLM (draft Slack alert) → Tool (post Slack)
</Card>

<Card title="Webhook: Deployment Report">
  * Type: Webhook (POST from CI)
  * Payload: serviceName, version, status, metrics
  * Flow: Trigger → LLM (generate release note) → Store in Docs
</Card>

<Card title="GitHub PR Watcher">
  * Type: Integration Event (GitHub: pull\_request\_opened)
  * Filter: base\_branch=main AND lines\_changed > 500
  * Flow: Trigger → LLM (summarize changes) → Tool (request reviewers)
</Card>

## Best Practices

| Goal            | Tip                                    |
| --------------- | -------------------------------------- |
| Noise reduction | Use filters and dedup window           |
| Reliability     | Set retry with exponential backoff     |
| Clarity         | Name mapped variables consistently     |
| Safety          | Start read-only; add write nodes later |
| Scaling         | Monitor run volume; adjust caps        |

## Troubleshooting

| Issue                 | Fix                                           |
| --------------------- | --------------------------------------------- |
| Trigger not firing    | Confirm enabled, time zone, cron syntax       |
| Duplicate runs        | Adjust dedup window or filters                |
| Missing payload field | Verify mapping and incoming field name        |
| Webhook rejected      | Check secret, content-type, schema            |
| Excess volume         | Lower max runs per interval or refine filters |

## Sample Flow

```
Trigger (Calendar meeting_created, filter: internal only)
Delay 30m
LLM summarize discussion template
Tool send Slack recap
Output final summary object
```

<Check>Trigger Node configured. Workflow will run automatically when conditions are met.</Check>
