{"product_id":"telegram-photo-validation-with-openai-vision-google-sheets-log","title":"Telegram Photo Validation with OpenAI Vision + Google Sheets Log","description":"\u003ch3\u003eValidate Telegram Photos with OpenAI Vision—Log Every Result to Google Sheets\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow automatically reviews photos sent to your Telegram bot using \u003cstrong\u003eOpenAI Vision\u003c\/strong\u003e, returns a clear \u003cstrong\u003epass\/fail\u003c\/strong\u003e verdict with confidence and reasons, and records each submission in a \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e audit log.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eListens on Telegram\u003c\/strong\u003e for incoming messages sent to your bot (Telegram Trigger). It uses the attached image (largest size).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEnsures a photo is included:\u003c\/strong\u003e if the message has no image, the bot replies asking the user to send an image.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns OpenAI Vision validation:\u003c\/strong\u003e the workflow sends the photo plus your \u003cem\u003econfigured validation criteria\u003c\/em\u003e to an OpenAI vision-capable chat model and requests a \u003cstrong\u003estructured JSON verdict\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParses the model output\u003c\/strong\u003e into fields such as validity, confidence, reasons, and a neutral photo description (including auto-fixing if the JSON needs correction).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eApplies your rules:\u003c\/strong\u003e it verifies the photo is marked valid and that the confidence score meets your configured threshold.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eResponds in Telegram:\u003c\/strong\u003e the user gets a success\/failure reply with the description\/reasons and a confidence percentage.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogs to Google Sheets:\u003c\/strong\u003e every validation outcome is appended to a specified spreadsheet and sheet for tracking and auditability.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eModerate user-submitted images in a Telegram-based intake process (e.g., proof of requirements).\u003c\/li\u003e\n  \u003cli\u003eQuality-check photos against specific criteria before your team reviews them.\u003c\/li\u003e\n  \u003cli\u003eCreate a consistent evidence trail by storing outcomes and confidence in Google Sheets.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTelegram Trigger\u003c\/strong\u003e + Telegram reply nodes to interact with users.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI Vision\u003c\/strong\u003e (vision-capable chat model such as \u003ccode\u003egpt-5-mini\u003c\/code\u003e) to generate a JSON verdict.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e OAuth2 integration to append validation results (audit log).\u003c\/li\u003e\n  \u003cli\u003eControl flow using \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, and supporting nodes (including a Sticky Note for clarity).\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45876829290675,"sku":"N8N-18531","price":48.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/PUYq6hRFcGEa8se3q9NRn_OgbDVaUs.png?v=1787303018","url":"https:\/\/buyflowscripts.com\/products\/telegram-photo-validation-with-openai-vision-google-sheets-log","provider":"N8N Commerce","version":"1.0","type":"link"}