import { Steps } from '@astrojs/starlight/components';
import Figure from '@components/Figure.astro';

**Who this is for:** any business whose customers write more than once, or through more than one channel —
the agent remembers what was said before without you having to repeat it.

## What the end customer sees

Nothing special on screen: the agent simply responds as if it remembered the previous conversation, even if
it was on WhatsApp last week and now they're writing on the web widget. There's no "remembering your
conversation" notice — memory works in the background, always in favor of a more useful answer, never
showing data the customer didn't give you directly.

## Steps in the product

<Steps>

1. **Nothing to turn on.** The agent keeps, for every contact, an **automatic summary** of what it knows
   about them — it updates itself after every conversation and is the same summary regardless of channel.

2. **Configure how long it's kept**, under **Settings → Memory**: choose the retention — 90, 180, 365 or
   730 days — and tap **Save changes**. Once a contact's summary has gone more days without an update than
   the chosen value, it gets deleted on its own; the contact and their conversation history aren't affected
   — only the summary is lost, and the agent starts building a new one on the next conversation.

   <Figure
     src="/captures/ajustes-memoria-retencion.png"
     alt="Settings → Memory with the Memory retention field set to 365 days and the Discard and Save changes buttons"
     caption="The only setting on this screen is how long the summary is kept — there's no toggle to turn memory off."
   />

3. **Read, correct or delete one contact's summary**, on their own card: open the contact and scroll to the
   **"Memory"** section. If the assistant hasn't saved anything yet, you'll see the notice "The assistant
   hasn't saved a summary for this contact yet" and a **"Write memory"** button to create one yourself.

   <Figure
     src="/captures/contacto-memoria-resumen.png"
     alt="Memory section of the contact card with a saved summary, the text &quot;Edited by Admin on Sep 5, 00:05&quot; and the Edit and Delete memory buttons"
     caption="Below the summary you see who last updated it — the assistant automatically, or an operator if they touched it by hand."
   />

4. **Delete one customer's summary right now**, if they ask for it or you want the agent to start fresh
   with them: tap **"Delete memory"** under the summary and confirm in the confirmation box. Only the
   summary is deleted — the contact, their conversations, leads and tickets stay intact.

</Steps>

## What to configure

- **Memory retention** (Settings → Memory): 90, 180, 365 or 730 days — the only parameter for this
  feature.
- **Nothing per contact**: memory is always active for every contact in your business; there's no way to
  opt one out except deleting their summary by hand when needed.

## Limits and honesty

- **There's no toggle to "turn off" memory** — you can only choose how long each summary is kept.
  Memorizing is always active.
- **Deleting memory isn't the same as erasing a customer**: "Delete memory" only removes the summary — the
  contact, their conversations, leads and tickets stay intact.
- **Full erasure of a customer's data** (GDPR Article 17 right, the "Danger zone" at the bottom of their
  card) does delete memory along with everything else — you don't need to delete it separately first.
- Editing or deleting memory requires the **Admin or Editor** role; reading it is available to any role
  with access to the contact's card.

## See also

- **[Settings and integrations](/en/guides/ajustes-integraciones/)** — everything else configured in
  Settings.
- **[Contacts and marketing](/en/guides/contactos-marketing/)** — the full contact card, including the Danger
  zone (GDPR erasure).
- **[Customer support with a knowledge base](/en/use-cases/atencion-cliente-conocimiento/)** — another case
  where the agent uses its own information to answer better.