Shared memory
Memória partilhada (Shared memory) makes your agents remember your contacts. After each call, Diska keeps a summary and what the caller said about themselves. On the next call from the same contact, with the same agent or another agent of the group, the agent starts with that context: it greets the caller by name, picks up what was left pending and does not ask again what it already knows.
You find it in the Memória partilhada menu. If the menu is not there, the feature is not active in your organisation yet: ask Diska.
What it is for
- Customer support — callers don't have to explain their problem again when they call back.
- Sales and follow-up — the agent remembers the product the caller asked about and picks up the conversation.
- Appointments — preferred times and earlier requests are at hand for the next agent.
- Teams with several agents — the inbound agent and the outbound agent share what each one learned.
How it works
| Element | What it is |
|---|---|
| Grupo de memória (Memory group) | A shared memory space, with a name, a description and a retention period. |
| Contactos (Contacts) | The people the group recognises, by phone number: the contacts your team adds and, with automatic memory on (see below), anyone who calls for the first time. |
| Agentes associados (Attached agents) | The agents that use the group. They all read and feed the same memory; agents outside the group never see it. |
| Memórias (Memories) | Facts, interests, preferences and pending items the caller mentioned, plus notes from your team. Each one keeps its date and the call it came from. |
| Interacções (Interactions) | A short summary of each call, with its outcome and the agent that handled it. |
- Before answering, the agent looks the caller's number up in the group's contacts. If it is there, the agent receives the memories and the summaries of the latest calls.
- During the call, it uses that context to avoid repeating questions and to follow up on what was left pending.
- After the call, Diska summarises the conversation and keeps what will be useful next time. The memory is available a few seconds after the call ends.
Memory is only used on phone calls whose number comes from the network: calls to your numbers, calls the agent places (including Campaigns) and test calls to a mobile. A browser test, the public link and WhatsApp have no reliable number and do not use memory.
1. Create a group
- In Memória partilhada, click Novo grupo (New group).
- Enter the Nome do grupo (Group name), a Descrição (Description, optional) and the Retenção das memórias (Memory retention): 30 days, 90 days, 6 months, 1 year or 2 years.
- If you want the group to register first-time callers by itself, tick Memória automática de novos contactos (Automatic memory for new contacts).
- Click Criar (Create).
Each group's ⋮ menu has Editar (Edit), Copiar ID (Copy ID) and Eliminar (Delete). Deleting a group erases its contact list and all its memories. Attached agents stop using memory until you pick another group.
2. Add contacts
- Open the group and, under Contactos, click Adicionar contacto (Add contact).
- Choose the country code and type the Número de telefone (Phone number). Fill in Nome (First name), Apelido (Last name) and, optionally, Email.
- Click Guardar (Save).
The number is stored in international format (for example, +244 923 000 000). If the number already exists in another group, it is the same contact. The same number cannot be in one group twice.
Each contact's ⋮ menu has:
- Memórias e histórico (Memories and history): what the group remembers about the contact and the summary of each call, with a link to the call in Históricos.
- Ver chamadas (See calls): opens Históricos filtered by the number.
- Editar, Copiar ID and Remover do grupo (Remove from group). Removing erases that contact's memories in this group.
With automatic memory on, you don't need to add contacts one by one: see the next section.
Automatic memory for new contacts
With Memória automática de novos contactos ticked in the group's settings (it is off by default):
- A number the group does not know calls an attached agent.
- After the call, Diska summarises the conversation. If there is something worth remembering, it registers the number as a contact of the group and keeps the name the caller gave, their interests (for example, "asked about strawberry yogurt"), requests, preferences, the outcome and pending items, dated with the call.
- On the next call, the agent greets the caller by name and picks up the topic, without asking again what it already knows.
Rules:
- Only inbound calls with a caller ID. Calls the agent places, test calls, withheld numbers and the public link never register anyone.
- A wrong number, a silent call or one with only greetings creates no contact.
- If the agent asks for explicit recording consent and the caller refuses (or never answers), the call is not kept in memory, for new or existing contacts.
- If the number already belongs to a contact of your organisation, that contact is reused and keeps its name. A name your team typed is never replaced by what the caller says; a name that came from a call is corrected if the caller corrects it on a later call.
- Each group registers at most 200 new numbers a day.
- In the contact list, the Origem (Origin) column shows Automático (Automatic) or Manual.
Turning it off deletes nothing: contacts already registered keep their memories and are still recognised; only new numbers stop being added. If it is turned off during a call, that call no longer registers the number; if it is turned on during a call, registration starts with the next call. Automatically registered contacts follow the group's retention: once nothing is kept about them, they leave the group.
3. Attach an agent
- Open the agent and go to Definições → Conhecimento e memória (Settings → Knowledge and memory).
- Under Memória partilhada, click Associar grupo (Attach group), pick the group and click Associar (Attach).
- Publish the agent. Real calls use the published version.
Each agent uses one group at a time. To switch, click the pencil; to stop using memory, click ✕. The group's Agentes associados tab lists the agents using it, in their draft or published version.
Memory works with Prompt Builder and Flow Designer agents, on any voice engine. In a flow, the memory goes with the call through every node.
4. How the agent uses memory
You don't need to change the prompt. When it recognises the contact, Diska hands the memories to the agent before the agent's own instructions, with rules of their own:
- Opening: the agent greets the caller by name and sums up the last conversation or what was left pending in one sentence — for example, "Hi João! Last time you asked about strawberry yogurt. How can I help today?". This takes precedence over your script's opening, which usually asks who is calling.
- During the call: it does not ask again what is already in memory and still valid; it confirms what is old (addresses, opening hours, decisions) before using it; it follows the caller's correction when they correct something.
- An interest is not a purchase: the agent never says the caller bought or ordered something they only asked about.
- Identity: a phone number does not prove who is speaking. Before revealing or changing personal data, bookings, amounts or accounts, the agent confirms who it is talking to.
If you want, add your own business rules about memory to the prompt. For example:
If the caller already gave the car model on an earlier call, do not ask again: confirm it.
If a quote request is pending, ask straight away whether the caller received it.
Share memory across agents
Every agent attached to the same group shares what it learns about each contact, as long as the number is the same. For example:
- The caller rings the inbound agent and says they are looking for strawberry yogurt.
- A few days later, the outbound agent calls them in a campaign.
- The outbound agent already knows the caller's name and what they were looking for.
Memory is shared across phone calls. WhatsApp conversations and browser calls neither use nor feed the shared memory.
Correct and delete memories
In Memórias e histórico you can:
- correct a memory (pencil) or delete it (bin);
- add a Nota (Note), Facto (Fact), Interesse (Interest), Preferência (Preference) or Pendente (Pending item) written by your team;
- Apagar todas as memórias (Delete all memories) of the contact in this group, keeping them in the group.
Memories describe the contact. They are not instructions for the agent: text such as "ignore the rules" is refused. Agent instructions belong in the prompt.
Memory processing
The group page shows Processamento das memórias (Memory processing): how long memory takes to become available after a call (median and p95), how many calls were processed and how many new contacts joined in the last 24 hours, and whether any call is waiting or failed. Failures are retried automatically; you don't need to do anything.
Troubleshooting
| Problem | Likely causes | What to do |
|---|---|---|
| The agent did not remember the caller | The agent is not attached to the group or was not published after attaching it; the number is not in the group and automatic memory is off; the call came from the browser, the public link or a withheld number. | Attach the group and publish the agent; add the contact or turn on automatic memory; test by phone. |
| A contact has no interactions | The call happened before the agent was attached; it was a wrong number or a call without conversation; the caller refused the consent the agent asked for. | Make a new call after attaching and publishing the agent. |
| The agent used the wrong name | The name came from a call and the transcription misheard it. | Fix the contact's name in Editar: a name your team types always wins. |
| Another agent does not know the contact | That agent uses another group, or none. | Attach the same group to both agents and publish them. |
| A new number was not registered | Automatic memory is off; it was a call the agent placed or a test call; the call had nothing worth remembering; the group reached its 200 new numbers that day. | Check the option in the group's settings and the call's status in Memórias e histórico. |
FAQ
Which agents can use memory? Published voice agents, from the Prompt Builder or the Flow Designer, on phone calls.
How is the contact recognised? By the phone number the network delivers, in international format.
Can several agents share one group? Yes. Each agent uses one group at a time, and one group can serve several agents.
Does it work on WhatsApp or the website chat? Not yet. Shared memory is for phone calls only.
Is the full transcript kept in memory? No. Memory keeps only a short summary and short items. The call's transcript stays in Históricos, like any other call.
How long are memories kept? The group's retention period, between 30 days and 2 years. After that they are deleted automatically.
Security and privacy
- Each organisation only sees its own groups, contacts and memories.
- The phone number identifies the contact but does not prove who is speaking. The agent is instructed to confirm identity before revealing or changing personal data, bookings, amounts or accounts.
- The transcript is not kept. Only a short summary and short items are stored. Card numbers, IBANs, document numbers, passwords and codes are removed before saving.
- On an agent with Redact personal data on, memory is built from the already redacted call: the summary keeps no names, contacts or addresses said on the call. The contact is still identified by the phone number.
- Old memories are presented to the agent as old, and it confirms them before using them.
- If memory does not answer in time, the call is answered normally, without memory.
- Memories are deleted automatically once they pass the group's retention period.

