Function not receving input from any other node

Describe the issue/error/question

Function is not receiving input from any other node apart from its previous node

What is the error message (if any)?

Please share the workflow

(Select the nodes and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow respectively)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:. latest version
  • Database you’re using (default: SQLite):
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]:. npm

Hey @swapnil, welcome to the community!

How are you reading other node data in your Function node?

This would be a basic example fetching data from three different nodes using the $items expression: