Skip to main content

Generate professional documents with Claude AI skills🤹🤖 & upload to Google Drive

Workflow preview

Workflow preview
100%
Generate professional documents with Claude AI skills🤹🤖 & upload to Google Drive preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow (AI Document Generator with Anthropic Agent Skills and Uploading to Google Drive) automates the process of generating, downloading, and storing professionally formatted files (PD...

Best for

  • Document Extraction automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.formtrigger, n8n-nodes-base.stickynote, n8n-nodes-base.switch, n8n-nodes-base.code, n8n-nodes-base.googledrive

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Davide.

Original n8n.io source

1.1 Workflow description

Title
Generate professional documents with Claude AI skills🤹🤖 & upload to Google Drive
Workflow name
Generate professional documents with Claude AI skills🤹🤖 & upload to Google Drive

🤹🤖 This workflow (AI Document Generator with Anthropic Agent Skills and Uploading to Google Drive) automates the process of generating, downloading, and storing professionally formatted files (PDF, DOCX, PPTX, XLSX) using the Anthropic Claude API and Google Drive.

This workflow connects user prompts with the Anthropic API to generate professional documents in multiple formats, automatically retrieves and uploads them to Google Drive — providing a complete AI-powered document automation system.


Key Advantages

  • ✅ Full Automation From user input to file delivery, the entire pipeline — creation, extraction, download, and upload — runs without manual intervention.

  • ✅ Multi-Format Support Handles four major business document types:

    • PPTX (Presentations)
    • PDF (Reports)
    • DOCX (Documents)
    • XLSX (Spreadsheets)
  • ✅ Professional Output Each format includes tailored Claude system prompts with detailed formatting and design principles:

    • Layout structure
    • Typography
    • Visual hierarchy
    • Consistency and readability

    This ensures that every file produced follows professional standards.

  • ✅ Easy Customization You can modify the prompt templates or add new Skills using the “Get All Skills” node. The form and switch logic make it simple to extend with additional file types or workflows.

  • ✅ Seamless Cloud Integration Generated files are automatically uploaded to a Google Drive folder, enabling:

    • Centralized storage
    • Easy sharing and access
    • Automatic organization
  • ✅ Reusable and Scalable This workflow can be used as a foundation for:

    • Automated report generation
    • Client deliverables
    • Internal documentation systems
    • AI-driven content creation pipelines

How it Works

This n8n workflow enables users to create professional documents using Anthropic's Claude AI and automatically save them to Google Drive. The process works as follows:

  1. Form Trigger: The workflow starts with a web form where users submit a prompt and select their desired file type (PPTX, PDF, DOCX, or XLSX).

  2. Document Type Routing: A switch node routes the request based on the selected file type to the appropriate document creation node.

  3. AI Document Generation: Each document type has a dedicated HTTP Request node that calls Anthropic's Messages API with:

    • Specific system prompts tailored for each document type (PowerPoint, PDF, Word, or Excel)
    • The user's input prompt
    • Appropriate Anthropic skills (pptx, pdf, docx, xlsx) for specialized document creation
    • Code execution capabilities for complex formatting
  4. File ID Extraction: Custom JavaScript code nodes extract the generated file ID from Anthropic's response using recursive search algorithms to handle nested response structures.

  5. File Download: HTTP Request nodes download the actual file content from Anthropic's Files API using the extracted file ID.

  6. Cloud Storage: Finally, the downloaded files are automatically uploaded to a specified Google Drive folder, organized and ready for use.


Set Up Steps

  1. API Configuration:

    • Set up HTTP Header authentication with Anthropic API
    • Add x-api-key header with your Anthropic API key
    • Configure required headers: anthropic-version and anthropic-beta
  2. Google Drive Integration:

    • Connect Google Drive OAuth2 credentials
    • Specify the target folder ID where documents will be uploaded
    • Ensure proper permissions for file upload operations
  3. Custom Skills (Optional):

    • Use the "Get All Skills" node to retrieve available custom skills
    • Update skill_id fields in JSON bodies if using custom Anthropic skills
    • Modify the form dropdown to include custom skill options if needed
  4. Form Configuration:

    • The form is pre-configured with prompt field and file type selection
    • No additional setup required for basic functionality
  5. Execution:

    • Activate the workflow
    • Access the form trigger URL
    • Submit prompts and select desired output formats
    • Generated files will automatically appear in the specified Google Drive folder

The workflow handles the entire process from AI-powered document creation to cloud storage, providing a seamless automated solution for professional document generation.


Need help customizing?

Contact me for consulting and support or add me on Linkedin.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Get All Skills

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - Create PDF

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 3 - Download PDF

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 4 - Download DOCX

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 5 - Download XLSX

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 6 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.3

Block 7 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.3

Block 9 - Create PPTX

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 10 - Create DOCX

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 11 - Create XLSX

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 12 - Extract PPTX file_id

Type / Role
n8n-nodes-base.code - code
Config choices
Version 1

Block 13 - Extract PDF file_id

Type / Role
n8n-nodes-base.code - code
Config choices
Version 1

Block 14 - Extract DOCX file_id

Type / Role
n8n-nodes-base.code - code
Config choices
Version 1

Block 15 - Extract XLSX file_id

Type / Role
n8n-nodes-base.code - code
Config choices
Version 1

Block 16 - Download PPTX

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 17 - Upload PPTX

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 18 - Upload PDF

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 19 - Upload DOCX

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 20 - Upload XLSX

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 21 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate professional documents with Claude AI skills🤹🤖 & upload to Google Drive
Complexity advanced
Nodes 23
Categories Document Extraction, Multimodal AI
Author Davide
Published 20 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11049/11049.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate professional documents with Claude AI skills🤹🤖 & upload to Google Drive do?

This workflow (AI Document Generator with Anthropic Agent Skills and Uploading to Google Drive) automates the process of generating, downloading, and storing professionally formatted files (PD...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, Multimodal AI use case.