Definition
The document writing node is used to write information into a knowledge base document, making it easier to create or update the knowledge base document content in the workflow.
How to configure:
Add Document
Click the "+" sign to the right of "Add Document" and select "Create New Document" or "Write to Existing Documents."

Create New Document
You will need to configure "Knowledge bases for storage." Click "+" to select the knowledge base to be referenced, and the new document will be created in this knowledge base.
You will then need to configure/fill in the "Document Name" and "Write Content" fields, which support writing fixed content and referencing pre-variables in the workflow.

Write to Existing Documents
You will need to select an existing document. Click "+" to select the document you want to reference, and the content will be written into theselected document. There are two writing modes to choose from:
- Append mode: Add new content after the existing document content and retain the original document content.
- Override mode: Replace the existing document content with the new content,and
the original content will be cleared.
Usage examples
The document writing node can accurately store all kinds of data generated by the workflow into the target knowledge base document and standardize the management of data assets. The actual application scenarios are listed below:
- Web content knowledge base construction: Design workflows to use crawlers to capture industry information and product introductions. After cleaning and sorting, use the document writing node to write them into the corporate knowledge base in Markdown and other formats for employees to review and conduct business.
- Customer service problem data retention: The customer service workflow collects customer inquiries and feedback in real time, categorizes and sorts them, and writes analysis documents through the document writing node for reviewing services, discovering high-frequency problems, and optimizing speech.