Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.duvo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Event-driven triggers let your assignments start automatically when something happens in a connected service—no manual kick-off required.

Key Capabilities

  • Inbox triggers: Start a Job whenever a new email arrives in Gmail or Microsoft Outlook
  • Linear triggers: Start a Job when a Linear issue is created, updated, assigned, or commented on
  • Slack mention triggers: Start a Job by mentioning the Duvo app in any enabled channel
  • Slack channel triggers: Start a Job automatically from channel messages matching a pattern, or on a reaction
  • File-drop triggers: Start a Job when a new file lands in a monitored cloud folder
  • Status-change triggers: Start a Job when a record in HubSpot, Salesforce, Notion, or another connected tool reaches a particular state
  • Email trigger filters: Narrow Gmail triggers by sender, subject keywords, email keywords, recipients, labels, attachments, and categories
  • Linear event filtering: Filter by event type, team, assignee, and workflow state
  • Per-user setup: Each team member configures their own trigger using their own connected account

Trigger Types at a Glance

Trigger typeHow it firesTypical latencyDeduplicationRetry behaviorPayload size limits
Email — new messagePolling (inbox check)Depends on the configured schedule intervalDuvo tracks processed trigger items so each matching message starts oncePolling retries on the next schedule run if the current run failsN/A — not exposed
Email — filtered messagePolling, filteredDepends on the configured schedule intervalSame as email triggerSame as email triggerN/A — not exposed
Linear — new issue / state change / commentPush (webhook)SecondsEach event fires onceLinear retries webhook delivery on failureN/A — not exposed
Slack mentionPush (Slack event)SecondsEach mention fires onceSlack retries event deliveryN/A — not exposed
Slack channel messagePush (Slack event)SecondsEach matching message fires onceSlack retries event deliveryN/A — not exposed
Slack reactionPush (Slack event)SecondsEach reaction fires onceSlack retries event deliveryN/A — not exposed
File drop in cloud folderPollingDepends on configured schedule intervalUse Assignment Memory to track already-processed filesPolling retries on next schedule run if current run failsN/A — not exposed
API-triggered (sandbox upload)Push (HTTP POST)SecondsCaller is responsible for deduplicationNo automatic retries — caller must retry on failureSee Running Assignments via API
CRM / PM status changePollingDepends on configured schedule intervalUse Assignment Memory to track last-seen statePolling retries on next schedule run if current run failsN/A — not exposed
For details on each trigger type beyond inbox and Linear, see the linked guides below.

How to Use It

  1. Open your assignment in the Duvo workspace and navigate to the Setup tab.
  2. Find the connection that supports triggers in the Connections section.
  3. Toggle the trigger on. A settings modal opens automatically.
  4. Configure your filters (optional): choose which events or senders should start a Job.
  5. Click Save. The trigger is now active.
To pause a trigger, toggle it off. To change the filters, toggle it off and back on to re-open the modal.

Supported Connections

ConnectionTrigger EventAvailable Filters
GmailNew email receivedSenders, subject keywords, email keywords, recipients, labels, attachments, categories
Microsoft OutlookEmail receivedSender email address, folder, shared mailboxes
Microsoft OutlookEmail sentRecipient (To) address, shared mailboxes
LinearNew issue createdTeam, assignee, workflow state
LinearIssue workflow state changedTeam, assignee, destination state
LinearIssue assignedTeam, assignee
LinearNew comment postedTeam, issue assignee
Slack WorkspaceMention of the Duvo app in a channelAssignment selection
Slack WorkspaceNew message in a channelChannel, keywords or patterns
Slack WorkspaceReaction added to a messageChannel, reaction emoji

Configuring a Linear Trigger

When you enable a Linear trigger, a settings modal lets you specify:
  • Start work when: Choose one of the four event types — new issue, state change, assignment, or new comment.
  • Team (optional): Enter one or more Linear team keys (for example, ENG or DESIGN) to restrict the trigger to issues from those teams. Leave empty to match all teams.
  • Assignee (optional): Enter one or more Linear user IDs, or me, to restrict the trigger to issues assigned to specific people. Leave empty to match any assignee.
  • Workflow state (optional, for new issue and state change events): Select one or more states (Triage, Backlog, Unstarted, Started, Completed, Canceled). Leave empty to match any state.
The trigger uses the Linear account you have connected under your profile. Each team member must enable the trigger individually using their own connection.

Email Trigger Filters

By default, an email trigger fires on every new message in the connected inbox. You can narrow Gmail triggers by sender, subject keywords, email keywords, recipients, labels, attachments, and Gmail categories. Outlook filters vary by trigger type. How to configure:
  1. Enable the Gmail or Outlook trigger in Setup.
  2. In the trigger settings modal, add one or more filter values:
    • Specific address — for example, orders@acmecorp.com
    • Domain — for example, @acmecorp.com to match all addresses at that domain
    • Subject keywords — for example, Invoice to match emails whose subject contains the word
    • Label — for example, Finance to match emails Gmail has tagged with that label
    • Has attachment — toggle on to match only emails with an attachment
  3. Save. The trigger now fires only when an email matches the configured filters.
When to use this:
  • An order-intake assignment that should only fire for emails from known supplier addresses, not all incoming messages
  • A vendor alert assignment scoped to one specific vendor’s notification domain
  • Combining with subject or body filtering in your SOP to further narrow what the assignment acts on
Worked example — supplier order intake:
Trigger: New email from @acmecorp.com OR @betasupply.com
SOP: For each matching email, extract the order fields and create a record in your ERP.
     Emails from other senders land in the inbox but do not start a Job.

When to Use It

  • Customer request processing: Start a Job automatically when a customer emails a support address
  • Order intake: Kick off purchase order processing when an order email arrives from a known supplier
  • Issue triage: Start a Job when a new Linear issue lands in Triage so it can be automatically classified, enriched, or routed
  • Workflow automation: Trigger a Job when a Linear issue moves to a specific state, such as starting downstream work when an issue enters “In Progress”
  • Report distribution: Trigger data collection or summary jobs when a scheduled report lands in your inbox
  • Vendor alerts: React to supplier notifications or price change emails as Duvo checks the inbox

How It Works

When you enable a trigger, Duvo monitors the connected service for matching events. When an event occurs, Duvo starts a new Job for your assignment and passes the event details as context. Your assignment’s SOP then processes the event and carries out the workflow. Email triggers check your connected inbox on a schedule. Linear triggers listen for webhook events from your Linear workspace.

Slack Triggers

Mention triggers — Tag the Duvo app in any enabled channel to start a Job on demand. The assignment runs and posts results back to the same thread. See Slack Mention Workflows for a full guide. Channel message triggers — Start a Job automatically from any message (or messages matching a keyword pattern) in a channel, without anyone needing to mention the Duvo app. Useful for monitoring channels like #alerts or #support-inbox. See Slack Channel Triggers for setup and examples.

File-Drop Triggers

Start a Job whenever a new file lands in a monitored cloud folder (Google Drive, OneDrive, SharePoint) or arrives as an attachment in your inbox. Useful for invoice processing, document validation, and any workflow where the input arrives as a file rather than a message. See File-Drop Triggers for setup and a worked example.

Status-Change Triggers

Start a Job when a record in a CRM or project management tool reaches a particular stage — for example, when a HubSpot deal moves to “Closed Won” or a Notion page status changes to “Ready for Review”. Implemented by scheduling an assignment to poll the service and using Assignment Memory to track what it last saw. See Status-Change Triggers for setup and examples.

What Is Not Supported Today

Be aware of these gaps when planning your trigger setup:
  • Inbound webhook endpoint: Duvo does not currently expose a dedicated URL that external systems can POST events to. To start a Job when an external system fires a webhook (for example, a form submission service, payment processor, or custom app), set up a lightweight webhook handler on your side that calls the Duvo API POST /v1/runs endpoint. Pass the event payload as the run context. Retry logic, signing secret verification, and payload mapping are handled by your webhook handler, not by Duvo. See Running Assignments via API for the full run API reference.
  • Salesforce / HubSpot native push events: Status-change triggers for these tools use scheduled polling, not real-time webhooks. Latency depends on your polling schedule — typically 5 to 60 minutes.
  • File system triggers: Duvo cannot watch a local folder or network drive. Files must be in a cloud storage service (Google Drive, OneDrive, SharePoint) or arrive via email attachment.
  • Jira native webhook: Status-change detection for Jira uses scheduled polling.
  • Multiple SOPs per assignment: An assignment with multiple trigger types enabled must use a single SOP for all triggers. You cannot assign different SOPs to different trigger types on the same assignment.

API Trigger

Every assignment can also be started via the Public API. The Triggers section of the Setup tab includes a collapsed API trigger card that shows a ready-to-use curl example pre-filled with your assignment’s ID:
curl -X POST https://api.duvo.ai/v1/runs \
  -H "Authorization: Bearer <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{"agent_id": "<your-assignment-id>", "message": "Optional first message"}'
The message field is optional — include it to pass an initial prompt to the assignment when starting the Job. API keys can be created under Team Settings → API Keys. For a full reference of run options (sandbox files, webhooks, and polling), see Running Assignments via API.