What It Does
The intake and context function:- Receives new ticket or message events
- Normalizes source fields into a consistent ticket object
- Deduplicates obvious duplicate messages or ticket updates
- Looks up the requester, account, subscription, order, product usage, or workspace context
- Checks current incidents, open tickets, prior escalations, and support entitlement
- Produces a context bundle for the triage workflow and classifier agent
- Records missing context so the system can route safely
Recommended Components
| Need | Duckie component |
|---|---|
| Receive ticket, chat, email, or webhook events | Deployment |
| Normalize and deduplicate tickets | Workflow |
| Fetch customer and account context | App tool, custom tool, or MCP tool |
| Check known incidents and prior tickets | App tools and knowledge sources |
| Store context for downstream steps | Workflow state and run output |
| Track missing context | Categories and attributes |
Flow
Context to Fetch
| Context | Why it matters |
|---|---|
| Requester identity | Connects the ticket to the correct customer, account, workspace, or organization. |
| Customer segment | Helps route enterprise, premium, trial, or self-serve customers correctly. |
| Support entitlement | Determines SLA, support tier, escalation path, and allowed actions. |
| Product area | Helps classify the issue and route to the right support or specialist queue. |
| Recent activity | Shows whether the ticket relates to a recent order, payment, login, configuration change, or product event. |
| Open incidents | Prevents duplicate investigation when a known outage or degradation already explains the ticket. |
| Prior tickets | Reveals repeated issues, unresolved threads, and customers that may need careful handling. |
| Language and timezone | Helps route by coverage and draft customer-facing messages later. |
Suggested Context Contract
The exact field names can match your systems. The important part is that downstream agents receive a stable context bundle.What to Track
Track categories and attributes from the start:- Intake source
- Channel
- Customer segment
- Support tier
- Context completeness
- Missing context type
- Duplicate or update status
- Known incident match
- Prior-ticket count band
Related Docs
Creating Deployments
Create the entry-point deployment.
App Tools
Use connected tools to read ticketing, CRM, and product context.
Custom Tools
Add internal lookups for account, entitlement, or product data.
Attributes
Track context completeness and customer properties.