What is a Trigger?
A trigger combines:- Integration — The source platform (Zendesk, Slack, etc.)
- Event — The action that occurred (new ticket, message, etc.)
- Filters — Conditions that must be met
Available Events by Integration
Zendesk
Slack
Intercom
Discord
HubSpot
Plain
Pylon
Custom Webhook
Custom Webhook deployments accept JSON events from your own systems. You map payload fields into Duckie runs and can optionally filter by an event type field.Custom Webhooks
Configure a custom webhook trigger
Scheduler
Scheduler deployments run on a recurring schedule instead of an integration event. Choose a preset schedule, describe a schedule in plain language, or enter a five-field cron expression.Scheduled Deployments
Configure a recurring scheduled trigger
Event Filters
Narrow which events trigger your agent:Channel Filters
Respond only in specific channels: Slack:@Mention Only
Only respond when the bot is explicitly mentioned: When to use:- Shared channels where bot shouldn’t respond to everything
- When you want customers to explicitly invoke the bot
- Preventing unwanted responses
Tag Filters (Zendesk)
Respond only to tickets with specific tags:Group/Queue Filters
Respond only when assigned to specific groups:Configuring Triggers
1
Select Integration
Choose the platform (Zendesk, Slack, etc.).Only connected integrations appear as options.
2
Choose Events
Select which events should trigger the agent.You can select multiple events for a single deployment.
3
Add Filters
Optionally narrow with channel, tag, or mention filters.
4
Save
Save to activate the trigger configuration.
Multiple Events
A single deployment can respond to multiple events: Example: Complete Zendesk CoverageMultiple Deployments
For complex needs, create separate deployments: Example: Different Agents for Different EventsEvent Flow
Best Practices
Start Narrow
Begin with specific filters, then expand:- One channel, @mention only
- Add more channels
- Remove @mention requirement
- Add more events
Use @Mention for Shared Spaces
In channels where not every message needs a response:Prevent Loops
Ensure filters prevent the agent from responding to its own messages:- Duckie automatically filters bot messages
- Don’t respond to internal notes you created
- Check for bot user IDs in custom integrations
Test Before Going Live
- Configure trigger
- Send test messages
- Verify only intended messages trigger the agent
- Adjust filters as needed
Next Steps
Create Deployment
Build a deployment with triggers
Integrations
See available integrations
Scheduled Deployments
Run agents on a schedule