Upsert Agent Trigger
upsertAgentTriggerCreate or update the authenticated user's trigger for an integration on an agent. The integration must already be connected to the agent (its OAuth connection set up in the Duvo dashboard). Set enabled: false to pause a trigger without deleting it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | The agent's unique identifier | |
| enabled | No | Whether the trigger is active. Defaults to true. | |
| trigger_type | Yes | Trigger type within the integration (e.g. `email_received`). Discover valid values via the trigger types endpoint. | |
| filter_config | No | Integration-specific filter config (e.g. sender/subject filters). Shape comes from the integration's filter schema. | |
| integration_slug | Yes | Integration slug the trigger fires for (e.g. `gmail`, `outlook`, `linear-native`, `google-drive`). |