Extract passport data with OpenAI OCR and generate QR codes
Overview This workflow processes passport images submitted through a form, extracts structured data using OpenAI OCR, and generates QR codes with the extracted information. Results are displayed on the form completion page and sent via email.
The workflow reduces manual data entry and speeds up document processing workflows where passport information needs to be captured consistently. It works best with clear, front-facing passport images.
How it works User submits a form with one or more passport images Files are split and processed individually Each file is validated as an image and resized for OCR accuracy Image is converted to base64 and sent to OpenAI for data extraction Extracted fields are cleaned, standardized, and validated QR payload is generated from standardized data and converted to QR code image URL Results are aggregated into HTML summary Summary is displayed on form completion page and sent via email
Setup steps Add OpenAI API credentials to the OCR request node Connect your Gmail account for email delivery Replace YOUR_EMAIL placeholder with recipient address Test with 1–3 clear passport images
Customization Modify OCR prompt to support other document types Adjust QR payload format to match your system requirements
Related Templates
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
📰 AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
⚡ AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments