n8n lets you define a method that loads the options of a field.
Is there a way to pass an argument when calling this method ?
Information on your n8n setup
-
n8n version: 0.186.1
-
Database you’re using : SQLite 5.0.8
-
Running n8n with the execution process : npm run dev
-
Running n8n via : npm
marcus
2
Hi @paulglx,
I do not think that is possible by design. Inside your loadOptionsMethod you can however use parameters and credentials like this:
const parameter = this.getNodeParameter('paramterName');
const credentials = await this.getCredentials('credentialApiName');
1 Like