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:
- Check if the Memory is empty.
- If Empty → Instruct the Agent to say "Hello".
- If Not Empty → Instruct the Agent to skip the greeting.
Thanks!