How to check if "Simple Memory" is empty using an external node?
Hi everyone,
I am building a chatbot using the AI Agent node connected to a simple Memory node.
The Problem: My bot keeps repeating "Hello" or "Welcome" at every single message, even when the conversation is already ongoing. I tried adding instructions in the System Prompt like "If the conversation has started, do not say Hello", but the AI ignores it and greets the user every time.
My Question: Is there a way to inspect or read the content of the simple Memory node using a standard node (like an If node or Code node) before the AI Agent runs?
I want to implement this logic:
  1. Check if the Memory is empty.
  2. If Empty → Instruct the Agent to say "Hello".
  3. If Not Empty → Instruct the Agent to skip the greeting.
Thanks!
3
1 comment
Abderrahmane Adjou
3
How to check if "Simple Memory" is empty using an external node?
AI Automation Society
skool.com/ai-automation-society
A community built to master no-code AI automations. Join to learn, discuss, and build the systems that will shape the future of work.
Leaderboard (30-day)
Powered by