{"product_id":"telegram-business-card-ocr-to-google-contacts-mistral-openai-n8n","title":"Telegram Business Card OCR to Google Contacts (Mistral + OpenAI) | n8n","description":"\u003ch3\u003eTurn a Telegram business card photo into a Google Contact automatically—using Mistral OCR + OpenAI.\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow listens for business card images sent via a Telegram bot, extracts the contact details with \u003cstrong\u003eMistral OCR\u003c\/strong\u003e, structures them with \u003cstrong\u003eOpenAI\u003c\/strong\u003e, checks \u003cstrong\u003eGoogle Contacts\u003c\/strong\u003e for duplicates by email, then creates a new contact (or notifies you if it already exists) and replies back in Telegram.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTelegram trigger:\u003c\/strong\u003e Starts when a Telegram message is received.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates input:\u003c\/strong\u003e Ensures the message contains a photo and a caption beginning with your configured command (e.g., \u003ccode\u003e\/business\u003c\/code\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAccess control:\u003c\/strong\u003e Compares the sender’s Telegram user ID against an allowlist to restrict who can use the bot.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOCR extraction:\u003c\/strong\u003e Downloads the business card image from Telegram and runs \u003cstrong\u003eMistral OCR\u003c\/strong\u003e to extract text.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStructured parsing with OpenAI:\u003c\/strong\u003e Uses OpenAI to convert the OCR text into fields such as \u003cem\u003ename, company, role, phone, email, and address\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Contacts deduping:\u003c\/strong\u003e Searches Google Contacts for an existing contact with the same email; if found, it notifies the user about the duplicate, otherwise it creates a new Google Contact.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTelegram confirmation:\u003c\/strong\u003e Sends a success or error message back to the sender in Telegram.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCapture leads from events: snap a business card photo in Telegram and automatically populate Google Contacts.\u003c\/li\u003e\n  \u003cli\u003eReduce CRM cleanup: prevent duplicate contacts by checking email before creating a new entry.\u003c\/li\u003e\n  \u003cli\u003eTeam assistance: allow only approved Telegram users to add contacts via a shared workflow.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes\/integrations:\u003c\/strong\u003e Telegram, Mistral AI (OCR), OpenAI (information extraction), Google Contacts, plus supporting nodes like \u003cem\u003eif\u003c\/em\u003e and \u003cem\u003eset\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup required:\u003c\/strong\u003e Telegram bot credentials, Mistral API key, OpenAI API key, and a Google Contacts OAuth2 credential with read\/create access.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eConfigurable behavior:\u003c\/strong\u003e Authorized Telegram user IDs (allowlist) and the trigger caption\/command to recognize business card messages.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45758759895219,"sku":"N8N-17769","price":11.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/7hdU1_T0lxQhpMHic8KUK_AhNF2I1f.png?v=1785834955","url":"https:\/\/buyflowscripts.com\/products\/telegram-business-card-ocr-to-google-contacts-mistral-openai-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}