Skip to main content

Create Word

Creates a new Word document file at the specified path. This node creates an empty Word document and saves it to disk without opening it.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing the node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If ContinueOnError property is true, no error is caught when the project is executed even if Catch node is used.

Input

  • Path - Full path where the new Word document will be created (e.g., C:\Documents\NewReport.docx). The path must include the filename with .docx or .doc extension.

Use Cases

  • Creating template documents for automated report generation
  • Initializing new Word files before adding content
  • Batch creating multiple Word documents in a workflow
  • Setting up document structure for data export

Example

To create a new Word document:

  1. Add the Create Word node to your flow
  2. Set the Path input to C:\Reports\MonthlyReport.docx
  3. Execute the node to create the file
tip

This node creates a blank document and closes it immediately. To add content, use the Open Word node after creation.

Common Errors

  • "Path cannot be empty" - The Path input must be provided with a valid file path.
  • Access denied - Ensure the robot has write permissions to the target directory.
  • Invalid path format - Verify that the path is a valid Windows file path with a proper extension.

See Also

  • Open Word - Open an existing Word document for editing
  • Close Word - Close an open Word document