I am having trouble retrieving variables in some of the nodes it is inconsistent

Inside of node Linkedin Profile Scraper I cannot read the variable from previous node

“{{ $(‘Loop Over Items’).item.json['Linkedin URL '] }}”

It is giving me an error when I try to enter in the variable that way

BUT!

When I use the exact same variable in side of Scrape 10 Linkedin Posts… We have no problem.

Additionally for some reason I cannot read variables within Linkedin Profile Scraper. I have tried copying the node, recreating the node and even importing this JSON file into another flow and nothing has worked. Thoughts?

TLDR: I am suddenly having issues with retrieving inputs and variables it is inconsistent now and Idk what to do about it.


Referencing nodes directly is a source of issues in many cases, within the loops and in ai agent tools in particular. Even in a linear workflow it will betray you eventually.

Instead you should propagate data through the nodes so that it is available through the $json shortcut.

Check out this doc:

Of the above helps to resolve your issue, please mark this post as a :white_check_mark: Solution.

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