Automatic tags - variable fields

Unfortunately metadata doesn’t contain anything I could use. Basically we are getting a table from customer with his information, contract number so we could say all data is outside.
I’m not very familiar with API - do you think is it possible to have one script as a template which will be using external file to fetch data?
I’m trying to find a best way to automate as much I can for other colleagues.