# Start a habit · with a check-in

Create the Habit after a yes. If the person wants to be nudged, set your own reminder first if your app can, then register a `daily-check-in` with `xale_take_on_check_in`, and tell them plainly how it will reach them: your app's reminder, or their next chat.

Checked 2026-12-02 · https://xale.app/docs/ai/start-a-habit-with-a-check-in

## When

The person wants to build a habit, or asks to be nudged or reminded about one.

## Calls

1. [`xale_read_habits`](https://xale.app/docs/ai/tools/xale_read_habits): is it there already?
2. After a yes: [`xale_create_habit`](https://xale.app/docs/ai/tools/xale_create_habit) with `title`, a `cadence` (`{"kind": "perWeek", "target": 2}`, say), an optional `durationMin`, and a new `requestId`. The cadence is a soft target: Xale never counts streaks.
3. If they want nudging: ask what time suits them. Set a reminder or scheduled task in your own app first, if it can.
4. [`xale_take_on_check_in`](https://xale.app/docs/ai/tools/xale_take_on_check_in) with `workflowId: "daily-check-in"`, `itemKind: "habit"`, `itemId`, `reminderSet` (true only if you really set one) and `reminderNote` in your words.

```json
[
  { "tool": "xale_create_habit", "arguments": { "title": "Stretch before bed", "cadence": { "kind": "perWeek", "target": 3 }, "durationMin": 10, "requestId": "habit-2026-12-04-stretch" } },
  { "tool": "xale_take_on_check_in", "arguments": { "workflowId": "daily-check-in", "itemKind": "habit", "itemId": "Hs9bF4kM", "reminderSet": true, "reminderNote": "every day at 9pm" } }
]
```

A daily check-in runs 14 times unless the person chooses more (`runs`, up to 60), then ends. For a wind-down Habit, Xale's **Evening wind-down check** (`workflowId: evening-decompression`) asks how it went too.

## Say

- Pass on `tellThePerson` from the check-in result. It says what Xale holds.
- Say plainly which way it reaches them: the check-in comes from your app's reminder, or else when they next chat with you.
- Never claim a reminder you didn't set.

## If it fails

| What comes back | What to do |
| --- | --- |
| “The person already has 5 recurring workflows running, the most Xale allows so reminders don't pile up. Ask which one to end first (xale_read_check_ins, xale_end_check_in).” | Ask which to end, end it with [`xale_end_check_in`](https://xale.app/docs/ai/tools/xale_end_check_in), then take this one on. |
| “… already does this for the person. Tell them; they can end it there before you take it on.” | Another app runs this check-in. Tell the person. |
| Your app doesn't set reminders | Send `reminderSet: false`. The check-in then runs whenever they next chat with you, and `tellThePerson` says so. |

> The Habit after a yes, a check-in only if they want nudging, and the truth about how it reaches them.

## Related

- For people: [How do I create a habit in Xale?](https://xale.app/help/new-habit-start-small)
- For people: [How do I get habit reminders in Xale?](https://xale.app/help/habit-nudges-through-check-ins)
- Tools: [xale_read_habits](https://xale.app/docs/ai/tools/xale_read_habits)
- Tools: [xale_create_habit](https://xale.app/docs/ai/tools/xale_create_habit)
- Tools: [xale_take_on_check_in](https://xale.app/docs/ai/tools/xale_take_on_check_in)
- Read next: [Reminders · how a check-in reaches the person](https://xale.app/docs/ai/reminders-how-a-check-in-reaches-the-person)
- Read next: [Habit check-in · daily recipe](https://xale.app/docs/ai/habit-check-in-daily-recipe)
- Read next: [Things to repeat · as a Habit](https://xale.app/docs/ai/things-to-repeat-as-a-habit)
