Definition
The document reading node can read the document content in the knowledge base and store it in a variable for use by subsequent nodes in the workflow. For example, the read document content can be passed as a variable to the LLM node, allowing the LLM to understand the document content and conduct question-and-answer sessions.
How to configure
Knowledge Base
Click the "+" or gray button to select files in the knowledge base. You can select up to 10 documents.
Set the target variable name; the variable type is "String".

After adding the file, the node will read all the contents of the document, which can then be inserted into the LLM node for use.
Common usage scenarios
- Check document contentAfter using the document reading node to read the knowledge base document, you can add an audit node (such as using the LLM node) and configure audit rules to check whether the document content meets the requirements (such as whether the format is correct, whether there is sensitive information, etc.). If content that does not meet the rules is found, an alert or modification suggestion is output through the post-node to ensure that the knowledge base document always meets the standards and specifications.
- Content information comparisonAfter using the document reading node to read the knowledge base document, you can configure the post-node to compare the document content. For example, if the document content is a list of purchasing customers, the post-node can reference this variable to determine whether a particular customer is a purchasing customer (such as using an LLM node or a code execution node). If the match is successful, the corresponding processing flow can be triggered to achieve accurate customer relationship management.
- Quick search of document contentAfter using the document reading node to read the knowledge base document, you can configure the post-node to achieve a fast query. For example, if the document content is an after-sales policy, the post-node can reference this variable, add a query node (such as using an LLM node), and quickly output the corresponding after-sales policy based on the customer feedback, thereby improving service efficiency and customer satisfaction.
Simple case display
AirDroid Parental Control Software User Assistant (Service Workflow): Answer any questions users have about how to use AirDroid Parental Control.
- Start node: Add a "Question" variable to input the user's question.
- Document reading node: Upload and read the document "User Guide of AirDroid Parental Control" in the knowledge base.
- LLM Node:
- SYSTEM: For example, "You are a product assistant of AirDroid Parental Control, please answer users' questions about how to use AirDroid Parental Control."
- USER: Insert the user's question, the "Question" variable.
- End node: Select the variable output by the LLM node, which is "Text (String)."

Note
- You can only add up to 10 knowledge base documents.
- If a knowledge base document is updated, it is then necessary to retrain and test whether the output effect is accurate.
- The output variable name must be filled in, otherwise it cannot be selected.