workflows.fit
Back to n8n workflows
n8n templateFreeBy Wolfgang Renner

Extract contact information from business cards with Mistral OCR and GPT-4o-mini

![Bildschirmfoto 20251010 um 22.54.19.png](fileId:2819) 🧠 Business Card Scanner – Automate Contact Extraction This workflow automates the process of extracting contact details from business cards (PDF or image) and s...

DevelopmentCore NodesAILangchainHttp RequestAgentLm Chat Open AiOutput Parser Structured
Loading interactive preview...

Template notes

![Bildschirmfoto 20251010 um 22.54.19.png](fileId:2819)

🧠 Business Card Scanner – Automate Contact Extraction

This workflow automates the process of extracting contact details from business cards (PDF or image) and saving them directly into an n8n Data Table. No more manual data entry β€” just upload a card and let AI do the rest.

---

βš™οΈ How It Works

1. Upload the business card via a web form (PDF or image). 2. The uploaded file is converted to Base64 for processing. 3. The Base64 data is sent to the Mistral OCR API, which extracts text from the image. 4. The OCR output is parsed into JSON. 5. An AI Agent (OpenAI GPT-4o-mini) interprets the extracted text and converts it into structured business card information (e.g., name, company, email, phone). 6. The Structured Output Parser validates and aligns the data with a predefined schema. 7. The workflow upserts (inserts or updates) the contact details into an n8n Data Table named business cards, using the email address as the unique identifier.

βœ… Result: Seamless digitization of business cards into structured, searchable contact data.

---