Some time $('node name').item.json return undefined

Describe the problem/error/question

I am facing this issue: I have a workflow with a Item List node. This list has a list of phone numbers for sending whatsapp messages and in some nodes I need to use some information of previous node and I use expresion $(‘nodename’).item.json.xxx. but the output says undefined and n8n recomend to use first() instaead of .item but when I use first() this refers to the same row, and I need to use the specific item that has been processed in the loop…

What is the error message (if any)?

undefined

Please share your workflow

Share the output returned by the last node

{{$(‘set_nombre_telid_telvalido1’).item.json._nombre_telid_telvalido.result.nombre }}
I am waiting the name but I got undefined…
I can use .first() because the first() may be is another customer…

Information on your n8n setup

  • n8n version:

  • 1.53.2

  • Database (default: SQLite):

  • default

  • n8n EXECUTIONS_PROCESS setting (default: own, main):

  • did get it??? I thins is own by me

  • Running n8n via (Docker, npm, n8n cloud, desktop app):
    docker

  • Operating system:
    ubuntu

Hi @Adan_Palma

I checked your workflow but it seems somewhat incomplete. Could you please check?

Also, please note that the List Node has been deprecated.
Please try the Split Out Node instead.

Hi Ria…Thanks for taking time for reply and check my issues
This is my workflow, I had to ged rid off some node because 32K length restriccion for questions size.

About List Items, thanks, I will be replacing it

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