Word Duplicate
Create a copy of a Word document using the user's OAuth token
Node Type
Action
Category
Microsoft Word
Icon
Copy
Overview
The Word Duplicate node is an action node that creates a copy of a Microsoft Word document using the user's OAuth token. This powerful integration enables you to programmatically duplicate Word documents, perfect for creating documents from templates, backing up important files, and workflow-based document management.
Key Features
- • Document Duplication: Creates exact copies of Word documents with new names
- • Template Workflow: Perfect for creating documents from templates
- • Document Selection: Choose from your OneDrive documents with an integrated picker
- • Custom Naming: Specify custom names for duplicated documents
- • Microsoft Integration: Seamless integration with Microsoft OneDrive and Word Online
- • OAuth Security: Secure authentication through Microsoft OAuth
Prerequisites
Microsoft Account Connection
Must have a connected Microsoft account with appropriate permissions
Document Requirements
Understanding of document access requirements
Technical Requirements
Technical setup and configuration requirements
Node Configuration
Required Fields
Source Document ID
The ID of the Word document to duplicate. You can select documents from your OneDrive using the integrated file picker.
New Document Name
The name for the duplicated document. Include the .docx extension or it will be added automatically.
Examples & Use Cases
Template-Based Document Creation
Create documents from a template for each new project
{
"sourceDocumentId": "{{templateDocId}}",
"newDocumentName": "{{projectName}} - Project Plan.docx"
}Duplicates a project plan template with a dynamic name based on the project. Follow with Word Write Content to populate with project-specific data.
Document Versioning Workflow
Create versioned copies before making changes
Workflow Structure
{
"sourceDocumentId": "{{originalDocId}}",
"newDocumentName": "{{originalName}} - Version {{version}}.docx"
}Creates a versioned copy before modifying the document, preserving the original.
Batch Document Creation
Create multiple personalized documents from one template
Workflow Structure
Use For Each to create personalized documents for multiple recipients, customizing each one.
Best Practices
Do's
- • Use descriptive names for duplicated documents
- • Include .docx extension in document name
- • Store the new document ID for future operations
- • Use templates for consistent document creation
- • Verify source document exists before duplicating
- • Check Success field before proceeding
Don'ts
- • Don't forget to handle duplication failures
- • Avoid duplicate names in the same folder
- • Don't assume unlimited OneDrive storage
- • Avoid duplicating very large documents repeatedly
- • Don't hardcode document IDs when possible
- • Avoid exceeding API rate limits
Troubleshooting
Common Issues
Source Document Not Found
Symptoms: Node fails with document not found error
Solution: Verify the source document ID is correct and exists in OneDrive. Check that the user has access to the document.
Name Conflict
Symptoms: Duplicate fails with name already exists error
Solution: A document with the same name already exists in the destination folder. Use unique names or add timestamps/version numbers to document names.
Storage Quota Exceeded
Symptoms: Node fails with storage quota error
Solution: The user's OneDrive storage is full. Free up space or use a different account with available storage.
Permission Errors
Symptoms: Node fails with insufficient permissions
Solution: Ensure the Microsoft account connection has Files.ReadWrite.All scope. Reconnect the Microsoft account if needed.