FeaturedSales & CRM#Agent Memory#Persistent Memory#Auto Ontology#Knowledge Graph#Sales Calls

Sales Call Memory

Turn call notes into an account update and a memory graph of contacts, deals and objections.

Workflow at a glance

The full canvas, before you import it

Click any node to see its config.

#Agent Memory#Persistent Memory#Auto Ontology#Knowledge Graph#Sales Calls

Click a node to select it — same as the Heym editor; the panel shows its settings.

3 nodes · Free & source-available

Sales Call Memory

Paste the notes from a sales call and get a short account update back, while an agent keeps a memory graph of the accounts, contacts, deals, objections, competitors and next steps it has heard about. The graph grows with every call, so the agent starts the next one already knowing the account. It is a small, automatic version of an ontology: a map of the account drawn by a model and stored in your own database.

What this workflow does

  1. notes is a text input with the call notes. The default text is invented.
  2. SalesMemory is an Agent node with persistent memory switched on. Its instruction asks for six kinds of thing (Account, Contact, Deal, Objection, Competitor, Next step) and for every link as a full sentence, such as "Lena Okafor works for Brightwater Foods".
  3. Reply returns the account update.

After each run a second model call reads the notes and the reply and merges the entities and links into the agent's graph. The graph is stored in two PostgreSQL tables, agent_memory_nodes and agent_memory_edges.

Setup

  1. Import the template into Heym: download the JSON from this page and drag it onto the Workflows tab, or paste it.
  2. On SalesMemory, pick your credential and a model.
  3. Run it with the sample notes, then replace the text and run it again after each new call.
  4. Start a message with QUESTION: to ask what the graph knows. The agent answers from memory only and says what is missing.
  5. Click the brain icon on the Agent node to read and edit the graph.

What to expect

We ran this template on Heym 0.0.148 on 7 November 2026 with claude-haiku-5-5, using three sets of invented call notes and one question. With the short vocabulary in the instruction, three runs ended at 12 to 14 entities and 15 to 20 links. The stored rows, the SQL queries and what the runs showed are in Auto Ontology: A Guide With Templates to Try. Its Campaign Memory twin does the same for marketing briefs.

FAQ

What does the agent remember? Entities such as people, companies, products and topics, and the links between them. Heym stores them in two PostgreSQL tables that belong to the Agent node, and you can read, edit and delete them from the brain icon on the node.

Does the memory cost extra model calls? Yes. After each successful run a second model call updates the graph. In our twelve test runs of the two templates it used 1.5 to 2.7 times the tokens of the agent's own calls.

What happens when a fact changes? Some links are replaced and some are kept. In six sales runs a new employer replaced the old one every time, but an offered discount stayed linked after the offer was withdrawn in four of the six. Read the graph once a week and delete what is wrong.

Is the sample text real? No. Every name, company and figure in the sample notes is invented.

How to import this template

  1. 1Click Import → Copy JSON on this page.
  2. 2Open your Heym and navigate to a workflow canvas.
  3. 3Press Cmd+V / Ctrl+V — nodes appear instantly.
  4. 4Add your API keys in the node config panels and click Run.
More workflow templates
View all templates