๐ Send QR codes for form-uploaded files with UploadToURL and Gmail
โก 4 views ยท ๐ File Management
Description
Quick overview
This workflow collects a file upload via an n8n Form, uploads it to UploadToURL to create a public link, generates a QR code for that link, and emails the QR code and direct URL to the submitter using Gmail.
How it works
- Receives a submission from an n8n Form that includes a project name, email address, and an uploaded document or image.
- Uploads the submitted file to UploadToURL and returns a publicly accessible URL.
- Generates a PNG QR code that encodes the public file URL.
- Sends an HTML email via Gmail to the submitted email address with the QR code attached and the direct file link included in the message.
Setup
- Create and connect an UploadToURL credential, and confirm the file retention/expiry behavior (currently set to never expire in the workflow).
- Create and connect a Gmail OAuth2 credential for the sender account used to email QR codes.
- Publish the n8n Form and share its URL with users so they can upload files and provide their email address.
๐ Nodes Used
Gmail, n8n Form Trigger
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File