Add node filter with getInput function