File & Document Management Workflows
Document processing and management
Save email attachments to Google Drive
Every time you receive an email with an attachment, Make will automatically save that attachment to a specified folder in Google Drive. The attachment will be saved in its original format.
Make$3.99Create a REST API for PDF Digital Signatures with Webhooks
## Overview An automation workflow that creates a complete REST API for digitally signing PDF documents using n8n webhooks. This service demonstrates how to implement secure document signing functionality through standardized API endpoints with file upload and download capabilities. ## Use Case This workflow is designed for developers and automation specialists who need to implement digital document signing. It's particularly useful for: - Integrating PDF signing capabilities into existing document workflows - API-based automation of signature processes - Creating proof-of-concept implementations for document verification systems - Learning n8n's webhook capabilities and file handling techniques - Testing PDF signing in development environments before production implementation ## What This Workflow Does ### API-Based Document Management - Exposes RESTful webhook endpoints for all document operations - Handles multipart/form-data uploads for PDF documents - Processes JSON payloads for signing configuration - Provides download functionality for completed documents ### Digital Certificate Handling - Uploads existing PFX/PKCS#12 digital certificates - Generates new certificates with customizable attributes - Securely manages certificate storage and access - Associates certificates with signing operations ### Cryptographic PDF Signing - Applies digital signatures using industry-standard cryptographic methods - Embeds signature information within PDF document structure - Validates document integrity through cryptographic verification - Preserves original document while adding signature elements ### Webhook Integration System - Routes different API methods to appropriate handlers - Validates request payloads and file content - Manages authentication through webhook paths - Returns structured responses for integration with other systems ## Technical Architecture ### Components 1. **API Gateway**: n8n webhook nodes that receive external requests 2. **Request Router**: Switch nodes that direct operations based on method parameters 3. **Document Processor**: Function nodes for PDF manipulation and verification 4. **Certificate Manager**: Specialized nodes for cryptographic key operations 5. **Storage Interface**: File operation nodes for document persistence 6. **Response Formatter**: Nodes that structure API responses ### Integration Flow ``` Client Request → Webhook Endpoint → Method Router → Processing Engine → Digital Signing → Storage → Response Generation → Client Response ``` ## Setup Instructions ### Prerequisites - n8n installation (minimum version 0.214.0) - Node.js 14 or higher - Required environment variable: ``` NODE_FUNCTION_ALLOW_EXTERNAL: node-forge,@signpdf/signpdf,@signpdf/signer-p12,@signpdf/placeholder-plain ``` ### Configuration Steps 1. **Import Workflow** - Import the workflow JSON into your n8n instance - Activate the workflow to enable the webhooks 2. **Configure Storage** - Set the storage path variables in the workflow - Ensure proper permissions on the storage directories 3. **Test API Endpoints** - Use the included test scripts to verify functionality - Test PDF upload, certificate generation, and signing 4. **Integration** - Document the webhook URLs for integration with other systems - Configure error handling according to your requirements ### Testing Methods Test the workflow functionality using various HTTP requests and JSON data: - Upload PDF documents to the document processing endpoint - Upload or generate digital certificates - Execute PDF signing operations - Download signed documents from the download endpoint ## Webhook Endpoints The workflow exposes two primary webhook endpoints that form a complete API for PDF digital signing operations: ### 1. Document Processing Endpoint (`/webhook/docu-digi-sign`) This endpoint handles all document and certificate operations: **Method: Upload PDF** - HTTP: `POST` - Content-Type: multipart/form-data - Parameters: method, uploadType, fileName, fileData **Method: Upload Certificate** - HTTP: `POST` - Content-Type: multipart/form-data - Parameters: method, uploadType, fileName, fileData **Method: Generate Certificate** - HTTP: `POST` - Content-Type: application/json - Parameters: method, subjectCN, issuerCN, serialNumber, validFrom, validTo, password **Method: Sign PDF** - HTTP: `POST` - Content-Type: application/json - Parameters: method, inputPdf, pfxFile, pfxPassword ### 2. Document Download Endpoint (`/webhook/docu-download`) This endpoint handles the retrieval of processed documents: **Method: Download Signed PDF** - HTTP: `GET` - Content-Type: application/json - Parameters: method, fileType, fileName ## Key Workflow Sections The workflow is organized into logical sections with clear responsibilities: - **Request Processing**: Parses incoming webhook data - **Method Routing**: Directs requests to appropriate handlers - **Document Management**: Handles file operations and storage
n8n$24.99Automate Invoice Data Extraction and Excel Export with DocSumo
Streamline your invoice processing by automatically extracting structured data from PDFs using DocSumo and exporting it to Excel. This workflow simplifies data entry and reporting tasks, making it ideal for integration with accounting systems.
n8n$4.99Automatically Secure New PDF Files in SharePoint with Plumsail
This workflow automatically secures new PDF files in a SharePoint library using Plumsail Documents, ensuring they are protected and saved back to the cloud storage.
Make$4.99Manage Adobe Acrobat E-Signatures with Webhooks
This workflow automatically manages Acrobat Sign signatures, responding with intent to Acrobat Sign webhooks. ## Prerequisites - [Adobe Acrobat Sign](https://www.adobe.com/sign.html) and [Sign webhook](https://helpx.adobe.com/sign/using/adobe-sign-webhooks-api.html) - Basic knowledge of JavaScript ## Nodes - [Webhook nodes](https://docs.n8n.io/integrations/core-nodes/n8n-nodes-base.webhook/) trigger the workflow on new sign intents on a document. - [Respond to Webhook node](https://docs.n8n.io/integrations/core-nodes/n8n-nodes-base.respondToWebhook/) sets the response headers. - [Function node](https://docs.n8n.io/integrations/core-nodes/n8n-nodes-base.function/) processes data returned by the previous node. - [Set node](https://docs.n8n.io/integrations/core-nodes/n8n-nodes-base.set/) sets the required values.
n8n$4.99Automate Recursive Google Drive Folder Duplication with Permission Retention
This n8n workflow automates the duplication of Google Drive folders, including all nested subfolders and files, while preserving the original sharing permissions.
n8n$14.99Automate Image Resizing and Insertion from Google Drive to Google Docs
This n8n workflow automates the retrieval, resizing, and insertion of images from Google Drive into Google Docs, ensuring efficient document creation with minimal manual effort.
n8n$9.99Automate Invoice Classification and Sorting in Google Drive with AI
Streamline your invoice processing by automatically classifying and sorting invoices in Google Drive using AI-powered classification. This workflow leverages n8n to extract, classify, and organize invoices into industry-specific folders, reducing manual effort and increasing efficiency.
n8n$14.99Automate Invoice and Receipt OCR from Google Drive to Google Sheets
This workflow automates the process of recognizing invoices and receipts from a specified Google Drive folder and logging the extracted data into Google Sheets. It supports PDF, PNG, and JPG formats and triggers on new file uploads or manually.
n8n$9.99Automate Email Export from Gmail to Google Drive as CSV
This n8n workflow automates the export of emails from a specific sender in Gmail, formats the data, and uploads it as a CSV file to Google Drive.
n8n$9.99Automate Document Conversion to Markdown Using MinerU API and GPT-4o-mini
This workflow automates the conversion of documents like PDFs and Word files into Markdown format using the MinerU API and GPT-4o-mini. It facilitates easy document uploads via an n8n chat interface, ensuring efficient and accurate markdown conversion.
n8n$4.99Convert Notion Pages to Markdown and Back
This workflow converts Notion pages to markdown format and then back to Notion blocks, effectively duplicating the content for demonstration purposes.
n8n$9.99Deploy a Microsoft OneDrive MCP Server for AI Integration
Set up a complete Microsoft OneDrive MCP server to handle all 14 operations seamlessly with AI agents. This workflow requires no configuration and is ready for immediate deployment.
n8n$14.99Transcribe Audio Files with Google Cloud and Telegram
Transcribe audio messages from Telegram using **Google Gemini** for free. Send an audio file to your Telegram bot and get a full transcription using Gemini's free model.  ### Who is this template for? Anyone who needs quick and accurate transcriptions of audio messages. Perfect for: - Creators and podcasters - Coaches or educators - People who receive a lot of audio on Telegram You can also adapt this workflow to transcribe audio from other sources, like WhatsApp, Google Drive, or direct uploads. ### How it works 1. You send an audio file to your Telegram bot. 2. n8n downloads the file and converts it to text using Google Gemini. 3. The transcript is sent back to you on Telegram. ### How to set up You'll just need: - A Telegram bot token - A Google Gemini API key (free tier supported) The rest works out by itself. ### Check out my other templates ☀️🌊 [**https://n8n.io/creators/solomon/**](https://n8n.io/creators/solomon/)
n8n$14.99Automate Invoice Data Extraction from Gmail to Google Sheets Using Eden AI
Streamline your workflow by automatically extracting data from invoices received in Gmail and saving it to Google Sheets using Eden AI's OCR capabilities.
Make$4.99Automate Local File Organization with AI on n8n
This n8n workflow automates the organization of files in a local directory using AI. It categorizes and moves files into appropriate subdirectories based on their filenames, helping maintain a tidy and efficient file system.
n8n$14.99Download and Merge Multiple PDFs from URLs with a Custom JS API
This n8n template demonstrates how to download multiple PDF files from public URLs and merge them into a single PDF using the PDF Toolkit from [www.customjs.space](https://www.customjs.space). [@custom-js/n8n-nodes-pdf-toolkit](https://www.npmjs.com/package/@custom-js/n8n-nodes-pdf-toolkit) ## What this workflow does - **Defines** an array of PDF URLs. - **Splits** the array to process each URL individually. - **Downloads** each PDF using an HTTP Request. - **Merges** all downloaded PDFs using the Merge PDF node from the @custom-js/n8n-nodes-pdf-toolkit. - **Writes** the final merged PDF to disk. ## Requirements A free CustomJS account. An API Key saved in n8n as credentials of type CustomJS account. ## Notice Community nodes can only be installed on self-hosted instances of n8n. ## Usage ### Get API key from [customJS](https://www.customjs.space) - Sign up to the customJS platform. - Navigate to your profile page. - Press the Show button to get your API key. ### Set Credentials for CustomJS API on n8n Copy and paste your API key generated from CustomJS here. ### Design workflow - A Manual trigger for starting the workflow. - A code node that returns URLs of PDF files as an array. - Split Out node for concurrent processing. - HTTP node for downloading PDF file locally. - Merge PDFs node for merging files. - Write to Disk node for saving the merged PDF file. You can replace the logic for triggering and returning results. For example, you can trigger this workflow by calling a webhook and get a result as a response from the webhook. Simply replace the Manual trigger and Write to Disk nodes. ## Perfect for - Bundling reports or invoices. - Generating document sets from external sources. - Automating PDF handling without writing custom code.
n8n$4.99Import Odoo Product Images From Google Drive
## **Objective** This workflow automatically imports product images from Google Drive and associates them with templates and products in Odoo.
n8n$14.99Automate Nested Folder Creation in OneDrive with Existence Check
This workflow automates the creation of nested folders in OneDrive, ensuring only non-existing folders are created. Ideal for use as a sub-workflow in larger automation processes.
n8n$9.99Automate Markdown Note Creation in Obsidian via Google Drive
This workflow automatically converts n8n workflow outputs into Markdown notes, synchronizing them with your Obsidian Vault through Google Drive. Enhance your note-taking process by integrating AI for formatting and metadata generation.
n8n$9.99Automate Invoice Processing from Gmail with AI and Human Verification
Streamline your invoice management by automatically processing invoices received via Gmail using Azure OpenAI for analysis and optional human verification for accuracy.
n8n$14.99Convert JSON Objects to Base64 Strings with File Processing
## Encode JSON to Base64 String in n8n This example workflow demonstrates how to convert a JSON object into a base64-encoded string using n8n's built-in file processing capabilities. This is a common requirement when working with APIs, webhooks, or SaaS integrations that expect payloads to be base64-encoded. > **Tip:** The three green-highlighted nodes (Stringify → Convert to File → Extract from File) can be wrapped in a Subworkflow to create a reusable Base64 encoder in your own projects. --- ## Requirements - Any running n8n instance (local or cloud) - No credentials or external services required --- ## What This Workflow Does 1. Generates example JSON data 2. Converts the JSON to a string 3. Saves the string as a binary file 4. Extracts the file's contents as a base64 string 5. Outputs the base64 string on the final node --- ## Step-by-Step Setup 1. **Manual Trigger** Start the workflow using the `Manual Execution` node. This is useful for testing and development. 2. **Create JSON Data** The `Create Json Data` node uses raw mode to construct a sample object with all major JSON types: strings, numbers, booleans, nulls, arrays, nested objects, etc. 3. **Convert to String** The `Convert to String` node uses the expression `={{ JSON.stringify($json) }}` to flatten the object into a single string field named `json_text`. 4. **Convert to File** The `Convert to File` node takes the `json_text` value and saves it to a UTF-8 encoded binary file in the property `encoded_text`. 5. **Extract from File** This node takes the binary file and extracts its contents as a base64-encoded string. The result is saved in the `base64_text` field. --- ## Customization Tips - Replace the sample JSON in the `Create Json Data` node with your own payload structure. - To make this reusable, extract the three core nodes into a Subworkflow or wrap them in a custom Function. - Use the `base64_text` output field to post to APIs, store in databases, or include in webhook responses.
n8n$9.99Automate Gmail Attachment Uploads to Google Drive Without Coding
Effortlessly upload multiple Gmail attachments to Google Drive using n8n's item handling and expression features, without any coding.
n8n$4.99Convert HTML to PDF & Extract Text from PDFs with CustomJS API
 This n8n workflow illustrates how to convert PDF files into text with the PDF Toolkit from www.customjs.space. [@custom-js/n8n-nodes-pdf-toolkit](https://www.npmjs.com/package/@custom-js/n8n-nodes-pdf-toolkit) ### Notice Community nodes can only be installed on self-hosted instances of n8n. ### What this workflow does - **Change** the requested HTML to PDF. - **Extract** text from the PDF. - **Use** a Code node to handle URLs that point to PDF files. - **Convert** the PDF to text. ### Requirements - **Self-hosted** n8n instance. - **CustomJS API key** for converting PDF to text. - **HTML** Data to convert PDF files. - **Code node** for handling URL that indicates PDF file. ### Workflow Steps: 1. **Manual Trigger**: - Runs with user interaction. 2. **HTML to PDF**: - Request HTML Data - Convert HTML to PDF 3. **Convert PDF to Text**: - Convert the generated text from PDF --- ### Usage #### Get API key from [customJS](https://www.customjs.space) - Sign up to customJS platform. - Navigate to your profile page. - Press Show button to get API key.  #### Set Credentials for CustomJS API on n8n Copy and paste your API key generated from CustomJS here.  #### Design workflow - A Manual Trigger for starting the workflow. - HTTP Request Nodes for downloading PDF files. - Code node for handling URL that indicates PDF file. - Convert PDF to text. You can replace logic for triggering and returning results. For example, you can trigger this workflow by calling a webhook and get a result as a response from the webhook. Simply replace Manual Trigger and Write to Disk nodes.
n8n$4.99
Related categories
Custom AI Systems & Services
Our team of experienced AI builders will help build custom AI systems, workflows, and solutions.
Request Custom Work