All articles

By 7 min read

How to Publish AI SEO Articles to Payload CMS

A Payload CMS delivery guide for AI SEO articles: drafts and review statuses, Markdown-to-Lexical mapping, image uploads, scheduling, and ZIP export.

Published
September 13, 2026
Reading time
7 min read
Sections
8
Two developers pairing at one desk, one pointing at the laptop the other types on, the screen angled away from camera, a notebook and coffee mug beside them.
Draft and API configuration decisions in the Posts collection shape the entire publishing pipeline.

AI SEO tools ship WordPress plugins and ecommerce integrations first, and treat headless publishing as an afterthought. If your site runs on Payload CMS, you have probably been choosing between bulk generators with no governance and broad SEO suites that never mention headless setups at all.

This guide covers the complete delivery path for Payload 3.x: a direct REST connection with no plugin, collection and field mapping, draft and review statuses, image handling, scheduled publishing, and a portable Markdown-and-image ZIP export for static sites and other headless workflows. It is written for Payload developers, technical marketers, and lean content teams running an ongoing program, not a one-off import.

This walkthrough uses Tallpine, a strategy-to-publish platform, as its concrete example. The Payload mechanics below apply to any pipeline that writes articles over REST.

Before You Begin: Drafts and the Generated REST API

Two configuration decisions in Payload determine how an external pipeline writes to your Posts collection.

Draft and API configuration decisions in the Posts collection shape the entire publishing pipeline.

First, enable versions.drafts on the collection. Payload injects a _status field that stores either draft or published, and the Admin UI replaces the usual Save button with separate save draft and publish actions. That field is the backbone of everything below.

Second, let the generated API do the work. Payload builds a REST API directly from your collection and global configs: Create is POST /api/{collection-slug}, Update is PATCH /api/{collection-slug}/{id}, and every collection also gets Find, Count, and Delete routes. Auth-enabled collections expose POST /api/{user-collection}/login plus a /me endpoint, so your pipeline can log in per run or use a token (Payload REST API documentation).

One planning note: store articles in a collection, not a Global. Globals expose only GET and POST at /api/globals/{global-slug} because they cannot be created or deleted, which does not fit a pipeline that creates documents continually.

This section covers the connection itself and the mapping decisions it requires.

Tallpine treats delivery as the last stage of one connected workflow: a reusable Site Profile captures your audience, offer, positioning, and differentiators from your website and uploaded documents; a goal-driven Strategy follows; then fresh Ideas, researched Drafts, review, and publishing. You do not need a plugin, receiver service, SDK, or custom route in your website. Because publishing history feeds ideation, a continuing program avoids near-duplicate topic clusters.

Before the first Article arrives, decide the field mapping:

  • title and slug on the Posts collection
  • the rich text field that holds the Lexical body
  • SEO and meta fields, such as meta title and meta description
  • tags or category relationships
  • the Media relationship for images

Every delivery then writes the same document shape, so your frontend and queries stay stable.

Draft, Review, and Publish: _status Versus the draft Parameter

They do not.

With drafts enabled, the Admin UI shows each document as Draft (never published), Published (no newer drafts), or Changed (published, with newer unpublished drafts). That maps cleanly onto a review process: AI Drafts land as drafts, an editor reviews, and publishing is a deliberate act.

The draft: true parameter exists for incomplete work. It skips required-field validation, which is useful when a Draft has not passed review, and it writes only to the versions table, leaving the main collection unchanged. On first creation, the document is always written to the main collection and defaults to _status: 'draft'. Publishing never happens by accident. As the Payload drafts documentation states:

"The draft parameter does NOT control whether a document is published or not. A document remains with _status: 'draft' by default unless you explicitly set _status: 'published' in your data."

To publish, set _status: 'published' in the data. When both controls are present, _status takes precedence, so a published status combined with draft: true still updates the main collection as published.

Safe defaults: the draft argument alone does not hide drafts from your public API. Add read access control that returns _status: { equals: 'published' } for unauthenticated users, or unpublished AI drafts will be publicly readable.

The governance mapping is direct. In Review first mode, Tallpine requires approval of every Idea and Draft before content enters the publishing queue. Ideas are proposals, not finished assignments. Approval corresponds to Payload's draft statuses, and nothing goes public without an explicit published write. For the editing step in between, see how to edit an AI draft into something worth publishing.

Field Mapping: Markdown Into Lexical

This section covers converting generated Markdown into native rich text, and back again.

Payload's Lexical editor ships two official converters, convertMarkdownToLexical and convertLexicalToMarkdown. Both are exported from @payloadcms/richtext-lexical, and both require access to the Payload config through editorConfigFactory (Payload Markdown conversion guide).

The documented pattern for a markdown content export is a hidden textarea field named markdown. Its afterRead hook converts the sibling rich text field, and a beforeChange hook deletes the field again so the derived Markdown is never persisted. You keep one source of truth and get Markdown on demand for backups, static builds, and migration to another CMS.

Conversion quality is an SEO concern, not just plumbing. Headings, lists, and links that survive conversion keep articles readable for traditional search results and AI-generated answers, which is the point of the exercise.

Image Handling: Upload Media First

Images are the main friction point when importing Markdown.

Hands sliding a camera memory card into a card reader on a wooden table next to a fan of printed photographs and a coiled USB cable.
Images are uploaded to the Media collection before Markdown is converted, so each reference resolves to a real document.

Images are uploaded to the Media collection before Markdown is converted, so each reference resolves to a real document.

Payload cannot look up a Media document from a URL alone, so standard Markdown image syntax is not automatically converted to Upload nodes (Payload documentation). The UploadFeature recognizes a placeholder instead, ![media:6507f7b9a4d3c2e1f0ab1234](), which pairs a collection slug with a document ID and becomes a proper Upload node.

The documented migration order:

  1. Upload the article's images to the Media collection first.
  2. Pre-process the Markdown to replace each standard image reference with ![media:id]().
  3. Run convertMarkdownToLexical.

The round trip is predictable. Unpopulated Upload nodes re-serialize back to the same placeholder, while populated ones become standard Markdown images on export.

Scheduled Publishing: Review First, Then Autopilot

This section covers delivery timing and how governance scales.

Start in Review first. Approve every Idea and Draft before content enters the publishing queue, mirroring the draft to publish progression in Payload, with people controlling both ends. Once your approval policy and fact-checking process are established, move to Autopilot for daily publishing without changing systems.

The queue manages delivery timing. Explicit _status: 'published' writes manage public visibility. Keeping schedule and visibility separate is what makes the middle ground workable between a manual writing tool and a hands-off agent where governance is an afterthought. For the broader pattern, see keeping editorial control while using AI.

The ZIP Fallback: No-Lock-In Markdown Export

For static sites and other headless setups, headless CMS publishing should not mean lock-in.

Tallpine's Markdown-and-image ZIP export targets Astro, Next.js, Hugo, and Eleventy sites, plus any other CMS workflow. As Tallpine's own competitive analysis puts it, "Delivery is unusually portable: Tallpine publishes directly to self-hosted WordPress and Payload CMS and provides Markdown-and-image ZIP exports for static sites or other CMS workflows."

Use the ZIP path three ways: as the delivery path for a static build, as a disaster-recovery backup of your content assets, and as a migration route between Payload and a static frontend. Markdown and frontmatter portability means you can leave any tool, this one included, at any time. If you are still weighing where a headless CMS fits your stack, choose a CMS architecture for AI-assisted SEO publishing covers that decision.

Editorial Governance Checklist Before Publishing

You remain the editor. Before flipping _status to 'published':

Three colleagues reviewing printed article pages at a wooden table with red pens, one pointing at a page, a powered off monitor behind them, all text unreadable.
People stay in control of both ends: a deliberate review pass before anything moves to the published state.

People stay in control of both ends: a deliberate review pass before anything moves to the published state.

  • Verify AI-generated claims against their sources. Tallpine "does not promise rankings or factual perfection" and "tells customers to verify generated claims before publication," in the words of its own competitive analysis.
  • Treat the pipeline as the content-creation and publishing layer. No ranking promises, and no AI-citation guarantees.
  • Pair it with specialist tooling for what it deliberately does not do: AI-visibility monitoring dashboards, Search Console feedback, backlinks, technical SEO for headless frontends, and social syndication.
  • Check freshness against publishing history. Confirm the new Article adds a distinct angle rather than a near-duplicate.
  • Approve the title, meta description, and structure against search intent.

A Repeatable Payload CMS SEO Workflow

The connected flow, end to end: business context from the Site Profile, a goal-driven Strategy, fresh Ideas informed by publishing history, researched Drafts, review, REST delivery into Payload drafts, then an explicit publish. The ZIP export stays available as the no-lock-in fallback. A repeatable Payload CMS SEO program beats one-off imports because context, evidence, review, and delivery operate as one system, so every Article after the first starts from accumulated knowledge rather than a blank prompt.

The $99-per-Site plan includes 30 Articles per month plus the complete research-to-publish workflow, with WordPress, Payload CMS, and Markdown ZIP delivery included.

Try Tallpine. Start in Review first.

Share

Keep reading

SEO strategist organizing a checklist and search assets on a content planning wall

038 min read

SEO Checklist for Blog Posts

A pre-publication SEO checklist for blog posts: business relevance, search fields, headings, readability, links, images, CMS mapping, and human approval.

Tallpine

Turn your content plan into published articles.

Tallpine helps you find topics, create useful drafts, and publish on a schedule that supports your business.

Start 3-day trial See how Tallpine works

Eligible new subscribers start with a 3-day trial. Card required.