I cant figure it out!

Describe the problem/error/question

Guys listen to me very carefully , u see in the image , the webhook captures the name , phone number , budget , timeline , and reason from landing page → the info gets passed to the ai agent node after it → it scores the lead accroding to the information the webhook catched and scores it from 0-100 → if scores > 80 → moves through true branch by if node , then the ai agent node after it picks the best time from now till upto 48 hours from its calendar tool → gives its output , but bro the previous bubbles of name , phone number , budget , timeline from the webhook node vanishes the moment i am executing THIS ai agent node , therefore i cant ping the user in telegram like :
name of user
phone no
budget , timeline etc etc cause those bubbles are getting vanish the moment i am executing this ai agent node before telegram !!! i need the solution guys

What is the error message (if any)?

Please share your workflow


Share the output returned by the last node

Information on your n8n setup

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

good day @Rudra_Bhattacharjee
I’d also check the AI Agent node settings for output mode / return data, because the screenshot suggests the agent is returning only its own result item. If that node replaces the incoming item instead of passing it through, the previous webhook fields disappear. In that case, keeping the original fields via pass-through/merge behavior is the cleanest fix before Telegram.

@Rudra_Bhattacharjee the agent node replaces the incoming items with its own output, so downstream nodes lose the webhook fields. just reference the Webhook node directly in your Telegram message using $('Webhook').item.json — no extra nodes needed. drop a Set node before Telegram to pull everything together:

stick that Set node between your If true branch’s AI Agent and Telegram, adjust the field names to match whatever your webhook actually sends.