iPaaS Group

n8n · Expressions

Referenced node is unexecuted

Short answer

This n8n error means an expression refers to a previous node that has not executed, so that node has no output for this one. Test the workflow up to the named node, or in code check whether it ran with $("<node-name>").isExecuted.

VerifiedLast verified

01Error text

n8n error
An expression references the node '<node-name>', but it hasn't been executed yet.

02Likely causes

  • A previous node referenced in an expression has not executed, so it provides no output for this node.

03How to fix it

  1. Test the workflow up to the node named in the error, so it produces output.
  2. In JavaScript or other custom code, check whether a node has run with $("<node-name>").isExecuted before using its data.

04Fix it with AI

Copy this prompt into Claude Code, ChatGPT or any AI assistant. It already holds the error, the likely causes and the fix steps, so the assistant starts from what is known instead of guessing.

Prompt
I'm getting this error in n8n (Expressions):

An expression references the node '<node-name>', but it hasn't been executed yet.

What it usually means: This n8n error means an expression refers to a previous node that has not executed, so that node has no output for this one. Test the workflow up to the named node, or in code check whether it ran with $("<node-name>").isExecuted.

Likely causes:
- A previous node referenced in an expression has not executed, so it provides no output for this node.

Fix steps that usually work:
1. Test the workflow up to the node named in the error, so it produces output.
2. In JavaScript or other custom code, check whether a node has run with $("<node-name>").isExecuted before using its data.

Help me fix it. If you can read my project files, find where this error comes from. If not, ask me for what you need (the failing step, its input, the connection or config). Check the likely causes one by one, tell me which one it is and why, then give me the exact change to make. Do not change anything in production. Reference: https://ipaaserrors.com/n8n/referenced-node-is-unexecuted

Nothing is sent anywhere from this page. Read what the assistant suggests before you apply it.

05Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for n8n work:Open n8n jobsn8n pay estimates