Library / Monitoring, Ops & Incidents
Monitoring, Ops & Incidents
Compare Screenshots with Gemini and Log Linear Issues
On a schedule or manual run, it captures screenshots, has Gemini compare them with a base image and logs visual differences in Linear.
What it does
## 6. Compare Screenshots using Vision Model [Read more about the basic LLM chain]({{ $env.WEBHOOK_URL }} To carry out our visual regression test, we need to send both screenshots simultaneously to our Vision model. This is easily achieved using n8n's built-in basic LLM chain where we can define two user messages of the binary type. For our vision model, we'll use Google's Gemini but any capable vision model will also do the job. A Structured Output Parser is used here to return the AI's response in JSON format, this is for easier formatting purposes which we'll get to in the next step.
The steps
- Base Image
- Google Gemini Chat Model
- Structured Output Parser
- Loop Over Items
- Wait
- Download Screenshot
- Upload to Drive
- Update Base Image
- Merge
- Schedule Trigger
- Get URLs with Missing Base Images
- Run Webpage Screenshot
- Run Webpage Screenshot1
- Has Changes
67 steps in total.
Similar automations
Monitoring, Ops & IncidentsCompare Screenshots with Gemini and Log Linear Issues67 stepsTasks & Project ManagementSync Linear Issues to Todoist Tasks Automatically26 stepsMonitoring, Ops & IncidentsDetect Visual Website Changes with Apify and Gemini24 stepsCode, Git & Developer ToolsRun Visual Regression Tests with Apify and Gemini24 steps