- Preview
- Fictional inbound leads with a 60-minute first-response target. Assignments and first replies update the local sample.
- Inputs
- id, asOf, and leads with id, name, source and createdAt. Each lead can include a company and owner. The optional viewer and owners have id and name.
- Source options
- Map leads awaiting first response from the CRM. Update asOf and leads together. Set responseTargetMinutes if the team has a first-response target.
- Actions
- Filter unassigned leads, assign an unowned lead to the current viewer, or record a first reply through the host.
- Integration requirements
- Supply ISO timestamps with an explicit time zone and a positive responseTargetMinutes when configured. Keep the snapshot ID stable for the same queue and give every item a unique ID. Apply actions in the host, check permissions, deduplicate by requestId, and return the confirmed snapshot with the same queue ID. Reject on failure. A matching retry of the same snapshot reuses the request ID. A newer snapshot supplied by the host takes precedence over a pending result.
{
"id": "inbound",
"asOf": "2026-11-25T10:30:00Z",
"responseTargetMinutes": 60,
"viewer": {
"id": "rep-01",
"name": "Nina Martin"
},
"leads": [
{
"id": "lead-02",
"name": "Lena Fischer",
"source": "Website",
"createdAt": "2026-11-25T08:48:00Z"
}
]
}