I am creating a node for a traineeship project and we want to propose some words when the user is typing some letters. I don’t know how to do it, is there a way to execute some JS before executing the node ?
n8n provides a function async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {} to describe the behavior of the node during it’s executing. Maybe there is another function which could be executed as a loop when the user is editing this node ?
I modified the HTML code of my n8n workflow to explain what I’m looking for :
In my example, the datalist in written by myself but I wish update it with JS (and probably using an API), depending on what the user typed. I hope it’s clear like this.
What does the load method do? When is it executed? I can’t find the explanation in the n8n docs