Problems referencing variables after a loop

I’m attaching an image. I

t happens with n8n, when I pin data to upstream nodes, which may be AI agents, and of course I don’t want to be running them every time I want to test my scenario due to time and API costs. However, I pin data, and it then appears as “undefined.” Why? Thanks in advance!