AI SEO description generator

How does it work?

Your form submission is logged to a Google Sheet via Squarespace’s built-in integration. Google’s AppsScript (JavaScript-based) detects new submissions, extracts text and keywords, and sends them to Google’s gemma-3-12b-it AI model via an API call to generate ten potential SEO descriptions. The candidates are then filtered by length (between 140 and 160 characters):

  • No valid candidates: The AI is queried again.

  • One valid candidate: It’s selected as the winner.

  • Multiple valid candidates: They’re sent back to Gemini for final selection.

If you provided an email, the winning description and eligible candidates are sent to you via the Gmail API.

What’s next?

The AI SEO description generator is a proof of concept, not a full-fledged app. Future enhancements could include:

  • Automatic webpage scraping: Instead of pasting text, the app could fetch webpage content (metadata, headings, paragraphs) for more precise analysis.

  • User-defined page intent: Tailor descriptions based on page intent (informational, commercial, transactional, promotional, etc.).

  • Broader SEO services: Expand beyond descriptions to generate SEO titles, structural analysis, keyword density checks, and image alt tag assessments.

  • Additional AI integrations: While the app currently uses Gemini, integrating ChatGPT, Deepseek, or any other API-enabled LLM would be straightforward.