N8n-nodes-run-node-with-credentials-x HOW TO USE IT?

{
  "errorMessage": "At least one line item has to be added",
  "errorDetails": {},
  "n8nDetails": {
    "nodeName": "Run Node WIth Credentials X",
    "nodeType": "n8n-nodes-run-node-with-credentials-x.runNodeWithCredentialsX",
    "nodeVersion": 2,
    "itemIndex": 0,
    "time": "5/22/2024, 11:28:13 AM",
    "n8nVersion": "1.39.1 (Self Hosted)",
    "binaryDataMode": "default",
    "stackTrace": [
      "NodeOperationError: At least one line item has to be added",
      "    at Object.execute (/home/node/.n8n/nodes/node_modules/n8n-nodes-run-node-with-credentials-x/nodes/RunNodeWithCredentialsX/v2/RunNodeWithCredentialsXV2.node.ts:103:12)",
      "    at processTicksAndRejections (node:internal/process/task_queues:95:5)",
      "    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:728:19)",
      "    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:660:53",
      "    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1062:20"
    ]
  }
}

so I’m new to N8n, I’m confused on how to use this community node n8n-nodes-run-node-with-credentials-x so i have 2 shopify accounts, where i need to place order dynamic shopify account for based on the credential, with which ill pass the credentials id to be used in a webhook data, so how do i dot, should i write separate workflow and then trigger it, or how Do I pass the credential to shopify workflow, and then with that credentials it’ll place the order dynamically

@BramKn Please help me with this, Thanks in Advance

Hi @omeshwar_v

Welcome to the community.

if you are new to n8n and only have 2 credentials to use, might be better to just use an if and have a duplicate shopify node for each account.

The node works as a replacement for the node you are using. you paste in the node and with an expression determine what credentials Id needs to be used.