Back to Case Studies

From requests to forms in one automated workflow

Product
AI Assistant
Industry
Enterprise

AI creates Word forms from natural-language requests, fills the correct template and emails the result.

Business context

Internal forms such as resignation letters, job descriptions and handover records often have a fixed structure, but input information is provided in the form of emails or free descriptions. Converting this content into a well-formed document requires user input and manual editing of many fields. THLOne approaches the problem by combining natural language processing with automatic document generation, helping to shorten the step of converting requests into structured forms.

Forms such as resignation letters, job descriptions or handover records usually must be in the correct form and have enough information fields. However, the requester expressed the content in an email or free text, forcing staff to read, separate the data, and fill in each field again. This is a repeatable task, suitable for testing AI text processing flows.

Implemented solution

THLOne builds a form creation automation flow, incorporating AI to understand requests in natural language and a mechanism to map data to pre-existing document templates.

This is an AI application flow for administrative work with a clear output of a standard Word form. Each step of the process is connected by automation tools.

Key solutions include:

1. Receive requests via form

Users enter their email, select the form type, and describe the content to create in a unified interface.

2. Extract information using AI

The Flask API connects the language model running through Ollama to parse the request and transform the content into structured data fields.

3. Create Word documents according to templates

docxtpl maps the extracted data to the corresponding form, keeping the document format and structure standard.

4. Automatically send documents

n8n coordinates the process from receiving requests to creating files and sending results via user email.

The processing flow clearly divides the steps of receiving a request, extracting information, mapping it to a Word form field, and sending the results. Using available forms ensures that the output layout follows internal standards, while AI takes care of natural language understanding. Missing or unclear fields still need appropriate checking rules for each form type.

Results

The solution creates a seamless process from natural language requests to templated Word documents and automated email delivery. As part of the testing, the workflow was applied to internal forms groups, demonstrating the ability to reduce data entry and standardize document creation. This approach can be extended to other forms as businesses further standardize templates and data fields.

In the pilot phase, the flow connected request entry, language analysis, Word form filling, and email sending into one process. This demonstrates the potential to reduce repetitive data entry, especially for structured forms. Before expanding, businesses still need to unify templates, data fields and rules for checking input information.