workflows.fit
Back to n8n workflows
n8n templateFreeBy ResilNext

Upload documents with validation, deduplication and Postgres storage

Overview This workflow provides a reliable and secure system for uploading and managing documents. It accepts files via form or webhook, validates file size and type, generates unique metadata, detects duplicates usin...

DevelopmentData & StorageCore NodesForm TriggerWebhookSetIf
Loading interactive preview...

Template notes

Overview This workflow provides a reliable and secure system for uploading and managing documents.

It accepts files via form or webhook, validates file size and type, generates unique metadata, detects duplicates using file hashing, and stores records in Postgres. It ensures clean, consistent, and duplicate-free document intake.

---

How It Works

1. Document Upload Users upload files through a form or webhook endpoint.

2. Configuration Defines: - Maximum file size - Allowed file types - Storage settings

3. File Validation The workflow checks: - File size against limits - MIME type against allowed formats

Invalid files are rejected with a clear error response.