AI Content Generator

2025
Cover image for AI Content Generator

Overview

The Eternal IV Therapy AI Content Generator is a schema-aware tool that turns a few structured inputs (city name, neighborhoods, address, county, phone, latitude/longitude, and options) into fully formatted location content ready for Hygraph. It eliminates manual writing and copy-paste by producing consistent, SEO-friendly copy and JSON payloads that match the CMS schema exactly, so new location pages can be published in minutes.

Inputs and Validation

  • City, neighborhoods (one per line or comma-separated), county, street address, state, ZIP, phone
  • Latitude/longitude for maps and structured data
  • Flags for “has real address” or “only neighborhoods”
  • Field-level validation and normalization (title case, trimmed whitespace, E.164 phone format, ZIP format, lat/long range)
Generator Form

Structured Output for Hygraph

  • Generates a JSON payload aligned to Hygraph models and relations (Location, Service Areas, FAQs, Site Settings links)
  • Auto-creates clean slugs and internal links
  • Emits rich text blocks for intro, benefits, and service coverage
  • Produces derivatives like meta title/description and open graph fields

SEO Copy and Entities

  • Location-specific headlines, intros, and CTAs
  • Neighborhood targeting lists and “near me” phrasing
  • JSON-LD for LocalBusiness with address, geo, and telephone
  • Canonical URL hint and suggested internal link targets

Consistency and Tone Controls

  • Optional tone presets (concise, informative, promotional)
  • Word-count ranges per section for uniformity across locations
  • Stop-words and duplicate phrase checks to avoid repetitive copy
Upload to Hygraph

Preview, Diff, and Edit

  • Plain-text and rich-text previews for quick scanning
  • Side-by-side diff view when regenerating the same city
  • Inline edits before committing to the CMS

Upload to Hygraph

  • Single-click upload to create or update entries
  • Idempotent behavior using slug or external ID to avoid duplicates
  • Basic error reporting with field-level messages
Upload to Hygraph

Guardrails

  • Rate limiting and retry logic to prevent accidental mass writes
  • Required-field checks block incomplete payloads
  • Safe-parse on all primitives to avoid schema mismatches

Results

Teams can spin up dozens of consistent, on-brand location pages in a fraction of the time, with cleaner metadata, stronger internal linking, and fewer CMS errors.

Built With

  • Next.js
  • OpenAI
  • TypeScript
  • React
  • Hygraph
  • Zod