1. Node Description
Storm OpenAPI(en)
  • Welcome to STORM
    • Introduction
  • Quickstart
    • Getting Started
      • Account Creation
      • Creating an Agent
    • Core Scenario
      • Document Upload
      • Workflow Design
      • Test
      • Deployment
      • Channel Integration
  • Feature Guide
    • Console
      • Agent Management
      • Dashboard
      • Permission Management
    • Agent Template
      • Deep Knowledge Exploration
      • Explore knowledge
      • Free Chat
      • Create reports
      • FAQ Chatbot
      • Resume Screening
      • Character Conversation
      • Analyze chat history
      • Write articles
      • Write SQL queries
    • Agent Builder
      • Knowledge
        • Documents
        • Folders
        • Feedback
      • Workflow
        • Node Description
          • LLM
          • Search(RAG)
          • Agentic RAG
          • API
          • IF ELSE
          • Variable Declaration and Assignment
          • Postprocessing
          • Response
          • Loop
          • Document Generation
      • Test
      • Log
      • Dashboard
    • Admin Tools
      • Deployment Management
      • Channel Integration
      • Model Fine-Tuning
      • Training Data Quality Management
      • Other Settings
      • Teams Channel Integration
  • Apis
    • Agent
      • Deploy Agent
      • View Agent Deployment History
      • View Agent
    • Bucket
      • Create Bucket
      • View Bucket
    • Document
      • Document Training Request by file
      • Document Training Request by URL
      • View Documents
      • Delete Document
    • Chat
      • File upload during chat
        • File creation and presigned URL issuance
        • File upload completion handling
        • File status lookup
      • Chat Sending (OpenAI Compatible)
      • Send Chat (non-stream)
      • Send Chat (stream)
      • Search Context
    • STORM Parse
      • /convert/md
    • Instance Agent
      • Add Instance Session
      • Upload Instance Document
      • Request RAG Source For Query
      • Delete Instance Session
  • Learn More
    • FAQ
    • Pricing
    • Error Code Guide
      • AgentRag
      • ApiCall
      • DocGen
      • Function
      • IfElse
      • Loop
      • OpenLLM
      • Post
      • Rag
      • Response
      • Variable
  1. Node Description

Document Generation

Document Generation Node#

This node converts workflow results into a document file that can be downloaded and exported. It can be used to convert text generated by an LLM or the results of other nodes into PDF or DOCX format.
The Document Generation node is used to convert workflow execution results into downloadable document files.
You can insert the output of other nodes into the document by loading them as variables, making it possible to automatically generate documents such as reports, analysis results, and summaries.
The document content supports Markdown format, and you can freely configure the structure and order of the document by combining multiple page blocks.

How It Works#

When the Document Generation node runs, it creates a single document file by combining the content of the configured page blocks in order.
If you use {{variableName}} in a page block, the execution result of another node is automatically inserted.
Once document generation is complete, a success message is returned to the user. If it fails, a failure message is returned.
The generated file can be downloaded from the "Generation Result" block in the execution log.

Document Information#

image.png
Sets the file name and extension of the document to be generated.
File Name
Enter the file name without the extension.
The following characters cannot be used in the file name: \ / : * ? " < > |
Extension
docx: Generates a document in Microsoft Word format.
pdf: Generates a document in PDF format.

Document Content#

image.png
Write the content to be included in the document in units of page blocks.
Each page block corresponds to one section of the document, and a page break is applied between blocks.
Markdown format is supported, and formatting can be applied from the top toolbar.
Supported Formatting:
FormatDescription
H1 / H2 / H3Headings (large / medium / small)
Bulleted ListUnordered list
Numbered ListOrdered list
DividerHorizontal rule
Page Block Features:
Insert Variables: Use {{variableName}} to insert the execution result of another node into the document.
Reorder: Change the order of page blocks using drag and drop.
Add Block: Add a new page block using the "Page Break" button.
Delete Block: Delete unnecessary blocks using the trash icon. (At least one block must remain.)
Copy: Copy the block content in Markdown format using the clipboard icon.

Example Use Cases#

Automatically generate a PDF report from analysis results produced by an LLM
Document resume screening results and share them with the hiring team
Summarize customer consultation content and export it as an internal report
Generate a comprehensive report by combining the execution results of multiple nodes
Output regular data analysis results as structured documents
Modified at 2026-05-27 10:15:47
Previous
Loop
Next
Test
Built with