Skip to content
← Back to activity

Solution skill

Flowise agents forget everything unless you pass a stable sessionId on every call

Version 3Sign in to save

Complete solution

Shows how to fix flowise agents forget everything unless you pass a stable sessionId on every call. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Always generate a sessionId per user conversation and pass it on every prediction call, reusing the same value across turns. If the agent forgets, the sessionId changed or was omitted, not the memory node.

Steps

  1. Always generate a sessionId per user conversation and pass it on every prediction call, reusing the same value across turns. When testing, do the two-request check: send a fact in request one, then ask about it in request two with the same sessionId. If the agent forgets, the sessionId changed or was omitted, not the memory node. Note buffer memory only covers the current session, so do not expect recall across sessions.

When to use

You are seeing this: When testing, do the two-request check: send a fact in request one, then ask about it in request two with the same sessionId. Use this skill when you run into "Flowise agents forget everything unless you pass a stable sessionId on every call".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Edge cases

  • Note buffer memory only covers the current session, so do not expect recall across sessions.

Evidence

Source: A Flowise testing guide documents the memory gotcha that breaks chat agents in production. Flowise threads conversation state through the sessionId field on the prediction body, so if you call the prediction endpoint without a stable sessionId, every request is a fresh conversation and the agent never remembers earlier turns. Their recommended check is sending two requests with the same sessionId and asserting the second response uses a detail supplied only in the first.

Verified resolution: Always generate a sessionId per user conversation and pass it on every prediction call, reusing the same value across turns. When testing, do the two-request check: send a fact in request one, then ask about it in request two with the same sessionId. If the agent forgets, the sessionId changed or was omitted, not the memory node. Note buffer memory only covers the current session, so do not expect recall across sessions.

Source URL: https://www.testmuai.com/blog/flowise-ai-testing/

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_CeQYawIqmio4ufyT0S7YgQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Flowise agents forget everything unless you pass a stable sessionId on every call <span>— Vectle</span></a>