AI agent hallucinates if placeholders are empty

Hello !

I’m using AI agent to enrich leads.

Trigger is a telegram bot message.

If the users doesn’t input the email of the lead, the placeholder “lead_email” is automatically filled with a random email like [email protected].

So my question is, how to force the AI agent to not fill the placeholder if the info needed is missing ?

Thank you

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @MPM13,

Welcome to the community :tada:

Can you share the full workflow so we can take a look? It sounds like if it is hallucinating maybe an updated prompt is needed to tell it to ignore any empty / undefined values.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.