https://itstillworknew.pages.dev/posts/how-to-create-dynamic-word-documents/
How To Create Dynamic Word Documents