mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
12 lines
687 B
TypeScript
12 lines
687 B
TypeScript
export const EXPRESSION_RULES = `
|
|
## CRITICAL: Correctly Formatting n8n Expressions
|
|
When using expressions to reference data from other nodes:
|
|
- ALWAYS use the format: \`={{ $('Node Name').item.json.field }}\`
|
|
- NEVER omit the equals sign before the double curly braces
|
|
- ALWAYS use DOUBLE curly braces, never single
|
|
- NEVER use emojis or special characters inside expressions as they will break the expression
|
|
- INCORRECT: \`{ $('Node Name').item.json.field }\` (missing =, single braces)
|
|
- INCORRECT: \`{{ $('Node Name').item.json.field }}\` (missing =)
|
|
- INCORRECT: \`={{ $('👍 Node').item.json.field }}\` (contains emoji)
|
|
- CORRECT: \`={{ $('Previous Node').item.json.field }}\``;
|