with Selenium Webdriver you can automate tasks on a webpage. In this Scenario Selenium opens chromium webbroser, Logs into the Unifi Controller WebUI, read the config.csv file and add a VLAN for every Line in the CSV File.
npm install
USER=myUnifiUser PASS=myUnifiPass node index.js
create Vlan: V13-VLAN13 Name
create Vlan: V14-VLAN14 Name
...