Audit & Generate JSON-LD Schema Markup for SEO with GPT-4.1-mini + Gmail

Go to Workflow
344 views
Built by Ari Nakos Ari Nakos
Created on June 05, 2026

Description

Schema Markup Generator
Automatically audit and optimize your site’s JSON-LD structured data and email a step-by-step implementation guide.

What It Does

Collects a website URL & email via form
Extracts existing JSON-LD, identifies gaps
Generates optimized schema markup (GPT-4.1-mini)
Builds an HTML before/after guide with action items
Emails the full implementation instructions

Prerequisites

n8n instance (self-hosted, Desktop, or Cloud)
Gmail OAuth2 credentials
OpenRouter API key (for GPT-4.1-mini)

Quick Setup

Gmail: Add OAuth2 credential → select in “Send Email” node
OpenRouter: Store API key → link in “Schema Markup Agent” node
Form: Configure fields websiteUrl & emailAddress in your Webhook/Form node

Customization

AI Prompt**: Tweak system message to focus on specific schema types or output style
Email Template**: Modify HTML header/footer or add sections

Troubleshooting & Limits

Monitor OpenRouter rate limits and Gmail send quotas
Ensure target sites allow scraping for schema extraction

Nodes Used (6)

AI Agent
@n8n/n8n-nodes-langchain.agent
Auto-fixing Output Parser
@n8n/n8n-nodes-langchain.outputParserAutofixing
Code Tool
@n8n/n8n-nodes-langchain.toolCode
Gmail
n8n-nodes-base.gmail
OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured