Use knex to connect to the CMS database and node-pandoc to take the data from a CMS to generate Word documents. Run: Use node on the command line to run node index.js and execute the script.