You are helping me build the following AI agent workflow. ## Goal HR and Legal Document Archiving: Uploads HR or legal documents to a structured Google Drive archive with CDN backup and automatic Airtable record creation. ## Specification - What it does: You instantly archive HR and legal documents by uploading them via URL or binary data, which automatically creates a CDN backup in Google Drive and generates a corresponding Airtable record without duplicates. The system then organizes your files into structured folders based on employee details and sends confirmation emails to keep you updated. - Trigger: Triggered by an event (Event ยท on new document upload) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - UploadToURL: CDN hosting and backup links - Google Drive: Long-term document storage - Airtable: Database and status tracking - Gmail: Sending confirmation emails - Code: Logic and file naming ## Known pitfalls, handle each one explicitly in your implementation 1. Large binary uploads may exceed webhook payload limits so split the transfer into chunked requests or use presigned URLs. 2. Airtable record updates might fail if required fields are missing in the webhook data validate all mandatory columns before submission. ## Reference implementation https://n8n.io/workflows/13544 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/automate-hr-and-legal-document-archiving/ via usecasesforagents.com