You will need to define an NCM Config Change Template
First of all you will need to setup an NCM Inventory job to collect list of interfaces etc
Next, you will need to customize a Config Change Template for your purposes. The admin guide goes through very detailed instructions for the 'Change VLAN Membership' template.