Docx Writer
Docx Writer creates a Word document from a text. That text is usually written by an agent: a report, a proposal or meeting minutes. The component keeps the basic formatting of the text, so headings, lists, bold text and tables become headings, lists, bold text and tables in Word.
The document comes out as a file you can pass to another component to send or save it.
When to use it
- Producing the minutes of a meeting from its notes.
- Giving a customer a sales proposal written by an agent.
- Turning a monthly report into a document ready to share.
Configuration
| Field | What it does |
|---|---|
| File Name | The name of the file, for example minutes-march.docx. The .docx extension is added if you leave it out. Leave it empty to get an automatic name. |
| File Content (required) | The content of the document. Connect the text that makes it up, for example an agent’s answer. It can include headings, lists, bold text, quotes, tables and images given by their web address. |
Output
File returns the Word document as a file. Connect it to a component that sends or saves files, such as the Attachment input of Telegram Message.
Example
A sales team prepares tailored proposals:
- An agent receives the customer’s details and writes the proposal with headings and a price table.
- Its answer is connected to File Content in Docx Writer.
- The resulting file is sent to the sales rep for review.
Good practices
- Ask the agent to write the text with headings and lists: the document comes out better structured.
Related components
- Pdf Writer: creates a PDF from a text.
- Data to CSV: turns data into a CSV file that opens as a spreadsheet.