Hello adm_Daniel.O, here's the broad workflow that you would have to take to achieve your specific ask.
- Create the Word file with placeholders such as {{OrganizationName}}, {{Summary}} etc. and upload it to OneDrive, SharePoint etc.
- Have your large string of text stored in something like Azure blob storage and use Azure AI Search to extract the relevant pieces of information from it.
- Create one of the text-supported model endpoints and invoke that from a Logic App instance to generate summaries, insights etc. relevant for your content.
- Use the Foundry SDK to create an agent that accepts the input text, calls the AI Search and LLM endpoints and outputs structured data for populating the Word document.
- Use Logic Apps with the Office 365 Word connector to write the contents.
Here's a GitHub repo that can help you do this in large capacity - https://github.com/microsoft/document-generation-solution-accelerator
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.