# Evaluate handwritten code accuracy via webhook using OpenAI and Google Sheets
This workflow automates text extraction evaluation from images, ideal for assessing AI recognition quality or validating handwritten responses. It receives an image via HTTP webhook, uses OpenAI to extract handwritten content, compares the result with a ground truth value from Google Sheets, and returns a similarity score based on Levenshtein distance.
## Who it´s for
- Developers testing handwriting recognition accuracy
- Analysts evaluating AI model performance
- QA teams automating image-based input validation
- Educators grading scanned student assignments
## What the automation does
- Receives an image via HTTP webhook
- Sends the image to OpenAI GPT-4o vision model for text extraction
- Fetches the expected value from a specified Google Sheets row
- Compares extracted and reference texts using Levenshtein distance
- Calculates a similarity score (0 to 1)
- Returns the result as a JSON response to the webhook
## What´s included
- Ready-to-use n8n workflow
- Trigger and handler logic
- Integrations with Webhook, Google Sheets, OpenAI, and HTTP Request
- Basic textual setup and adaptation guide
## Requirements for setup
- n8n instance with workflow editing access
- OpenAI API key with vision model access
- Google Sheets document with reference values
- Ability to send HTTP POST requests with image data
## Benefits and outcomes
- Automated, scalable assessment of OCR or handwriting recognition quality
- Objective, symbol-level accuracy scoring
- Integration-ready for model testing pipelines or QA systems
- Time savings in grading or data validation workflows
- Reusable foundation for similar evaluation tasks
- Immediate feedback via webhook response
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet