Cannot read properties of undefined (reading 'text')

Am not sure why the AI agent is not taking the input from the previous node automatically. Even if I define the input, it has the same error.

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:

version 1.63.4
Default
default
desktop
windows 11

Hi @Sami_Mian

Are you running n8n on cloud?
Can you check that you use the recent node version? (Check the Settings tab at the bottom)