# Add people · while saving

Whenever you save something that involves someone, offer to link them. If they aren't in Xale yet, offer to add them, then link them. Xale checks for an existing Person before adding one.

Checked 2026-12-02 · https://xale.app/docs/ai/add-people-while-saving

## When

After any save that involves someone: a Meeting with attendees, a Task for a colleague, a Note about a friend's visit. Xale's instructions ask for this every time you save.

## Calls

1. [`xale_read_people`](https://xale.app/docs/ai/tools/xale_read_people), to match the names.
2. Someone already in Xale, after a yes: [`xale_change_links`](https://xale.app/docs/ai/tools/xale_change_links) with `kind`, `id`, and `people: { "add": [personId] }`. Or send `people` on the save itself.
3. Someone new: say who you'd add. After a yes, [`xale_add_person`](https://xale.app/docs/ai/tools/xale_add_person) with `name`, and `aliases` or `emails` if you know them, and a new `requestId`. Then link them as above.

On a Task, `people` are who it's delivered to; `assignedTo` is who does it. On a Habit, `people` are who does it.

```json
[
  { "tool": "xale_add_person", "arguments": { "name": "Priya Shah", "aliases": ["Priya"], "requestId": "person-2026-12-04-priya" } },
  { "tool": "xale_change_links", "arguments": { "kind": "meeting", "id": "M3vX9qLc", "people": { "add": ["P8kR2mQa"] } } }
]
```

## Say

- "Want me to link Priya to this Meeting?"
- For someone new: "Priya isn't in Xale yet. Add her?" Then link.
- One offer per save. If they say no, don't ask again for the same person in this chat.

## If it fails

| What comes back | What to do |
| --- | --- |
| `alreadyInXale: true`, with “… is already in Xale, so I didn't add them again.” | They matched an existing Person by name, other name or email. Link that one. |
| “(… People match; I used the first.)” | Several People matched. Confirm with the person that the first is right. |
| “Nothing with that id is available in this Xale.” | The Person is in an Area kept away from connected AI, or in Trash. Don't guess at them. |

> Offer to link whoever's involved, and to add whoever's missing, each after a yes.

## Related

- For people: [How do I link a person to a task or note in Xale?](https://xale.app/help/link-people-to-tasks-notes)
- For people: [How do I add a person in Xale?](https://xale.app/help/add-a-person-details)
- Tools: [xale_read_people](https://xale.app/docs/ai/tools/xale_read_people)
- Tools: [xale_change_links](https://xale.app/docs/ai/tools/xale_change_links)
- Tools: [xale_add_person](https://xale.app/docs/ai/tools/xale_add_person)
- Read next: [Linking people · always offer](https://xale.app/docs/ai/linking-people-always-offer)
- Read next: [New people · offer to add](https://xale.app/docs/ai/new-people-offer-to-add)
- Read next: [People · and people groups](https://xale.app/docs/ai/people-and-people-groups)
