Save to Profile
Save an agent's result, a Member's answer or what the AI learns into the Member's profile, so your other tools already know it.
Remember What Your Members Tell You
Save To Profile saves what an agent learns into the Member's profile, in your App's User Knowledge fields. The next tool that uses those fields already knows it, so your Members don't type the same thing into five different tools. You set it up in the Save To Profile card of the agent editor. Saves happen only for signed-in Members.
Before You Start
Save To Profile writes to profile fields, so your App needs at least one. If it has none, the card says "This App has no profile fields yet. Create one first, then come back to save to it." See User Knowledge Fields.
Choose What to Save
Each row saves one thing into one profile field. What to Save has three choices:
| Choice | What it saves | Agent types |
|---|---|---|
| Agent Output | The agent's whole result. | Form agents |
| Form Answer | The Member's answer to one input field. | Form agents |
| Extract With AI | What the AI picks out, following your instruction, such as "The member's communication style in two sentences." | Form and chat agents |
Extract With AI reads the Member's answers and the agent's result, or for a chat agent, the new part of the conversation. For a regular profile field, it writes the field's complete updated value. For a Knowledge Log field, it writes one new entry about what's new. When there's nothing new, it leaves the field alone. It makes one more AI call with the agent's model, which uses Credits.
Add a Save
Click Add Field
In the Save To Profile card, click Add Field. A new row appears.
Pick the profile field
Under Profile Field, choose a field from Select a Field. Each field can be used once per agent.
Choose what to save
Under What to Save, choose Agent Output, Form Answer or Extract With AI.
Finish the row
For Form Answer, choose the input field from Select an Input Field. For Extract With AI, write the Instruction: what to save, in a sentence or two. It can be up to 1,000 characters.
Save
Click Save at the top of the editor.
An agent can have up to 10 rows. To remove a row, click Remove.
If something's missing when you click Save, ThoughtFlow tells you what to fix:
- "Choose a Profile Field for every Save To Profile row."
- "Add an instruction to every Extract With AI row."
- "Fix or remove every Form Answer row whose input field no longer exists."
When a Form Agent Saves
A form agent saves right after the Member's result is ready. Saving never holds up the result, and if a save fails, the run still completes.
If you rename the input field a Form Answer row uses, the row follows it. If you remove that field, the row says "The input field this row points at no longer exists. Pick an input field or remove this row."
When a Chat Agent Saves
Chat agents use Extract With AI only. If you switch an agent to Chat-based, ThoughtFlow removes its other rows.
A chat agent saves when the Member closes the chat with Close Chat and Restart, or after the conversation has been idle for at least 30 minutes. Each time, it reads what's new in the conversation since the last save.
How a Saved Value Lands
- A regular profile field gets the new value in place of the old one.
- A Knowledge Log field gets a new entry, and earlier entries stay.
Nothing is saved for someone who isn't signed in, such as a visitor on a share link, or into a profile field that has been deleted.
When you test an agent with Preview, its saves go to your own profile.
For workflows, the Save to Profile Step does the same job. See Save to Profile Step.