description
for Upsert node parameter must be Create a new record, or update the current one if it already exists (upsert)
. The resource name e.g. 'contact'
is also allowed instead of 'record'
.
📋 This rule is part of the plugin:n8n-nodes-base/nodes
config.
🔧 Run ESLint with --fix
option to autofix the issue flagged by this rule.
❌ Example of incorrect code:
const test = {
name: "Upsert",
value: "upsert",
description: "Wrong",
};
✅ Example of correct code:
const test = {
name: "Upsert",
value: "upsert",
description:
"Create a new record, or update the current one if it already exists (upsert)",
};
const test = {
name: "Upsert",
value: "upsert",
description:
"Create a new contact, or update the current one if it already exists (upsert)",
};