Import Memories
Import memories from a text or markdown file to add memories to a specific agent. Use this to bulk-add memories or restore previously exported memories.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions. Required add-on licenses vary by agent type. |
-
Click the Agentforce icon to launch Agentforce.
The Agentforce icon appears in the global header on all pages when Agentforce is enabled for your org.
- From the Agentforce panel, click Memory & Preferences.
-
In Stored Memories, click the settings icon, and select
Import Memories.
- Select the agent that you want to import memories to.
-
Click Upload Files, or drag your file to the upload
area.
Supported formats are .txt and .md. Start each memory with two hyphens (
--). Lines that don't start with hyphens are treated as a continuation of the previous memory. For example,-- User prefers reusable prompt libraries for agent orchestration.
- Click Import.
The memories from your file are imported and added to the selected agent's stored memories. The newly imported memories appear in the Stored Memories list.
If an import fails, you might see one of these errors.
| Error | Cause | What to Do |
|---|---|---|
| The file contains no memories. | The file has no memory entries. | Add at least one memory line that starts with --. |
| Each memory must start with a leading "--". | One or more entries don't follow the required format. | Start each memory with two hyphens (--). |
| We can't create memories. | An internal error occurred during import. | Try the import again. |
Did this article solve your issue?
Let us know so we can improve!
