How to get inputs if there is 2 type of inputs

Describe the problem/error/question


in the image above I have 2 types of inputs, how do I get the inputs for each of them in my custom node’s code, since usually if there is only 1 input I only need to use this.getInputData but I tried specifying and it doesn’t seem to work, please link any documentation available as well, thank you

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.64.2
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own, main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Linux

Hey @azka-zaydan,

Can you explain a bit more? Are you saying you have built a custom node with 2 inputs and you want to be able to access both inputs in your node? If this is the case I would take a look at the merge node as an example to see how we handle it.