Recipes Use-case walk-throughs
Running a business Who's waiting on me
At the end of a busy week, list the quotes and invoices owed to clients, earliest due date first, and offer one for today. A weekly money-admin slot is a Habit, which repeats.
When
The end of a busy week. Quotes and invoices are owed to clients.
Calls
- As Who's waiting on me:
xale_, grouped byread_ tasks accountableIds(who each Task is delivered to), with names fromxale_. Passread_ people nextOffsetasoffsetwith the same filters and page size whilehasMoreis true. - For the one they pick, after a yes:
xale_withschedule_ intention kind: "task",id,startAtand a newrequestId. - If they want a regular money-admin slot, after a yes:
xale_withcreate_ habit cadence: {"kind": "perWeek", "target": 1}. A Habit repeats; a singlexale_is one block.plan_ block
Below, Europe/London: the invoice goes in on Friday 4 December 2026 at 16:00.
json
[
{ "tool": "xale_schedule_intention", "arguments": { "kind": "task", "id": "Tf4qJ8mR", "startAt": 1796400000000, "durationMin": 30, "requestId": "invoice-2026-12-04" } },
{ "tool": "xale_create_habit", "arguments": { "title": "Money admin", "cadence": { "kind": "perWeek", "target": 1 }, "durationMin": 60, "requestId": "habit-2026-12-04-money-admin" } }
]Say
- The list by client, the earliest
dueDatefirst, asxale_returns them.read_ tasks - Offer one thing for today, not all of them.
If it fails
| What comes back | What to do |
|---|---|
| Tasks for nobody in particular | Leave them out of this list, or offer to link the client. |
A list by client, and one thing for today.
Read next
- Checked against main
c1725f34