---
name: bulk-content-publishing
description: "Publishes a batch of approved pages from a Sheet to WordPress, Webflow or Sanity with checks at every step: a preflight on every row (required fields, free and unique slugs, working links and images, no placeholders), a pilot of 3–5 rows as drafts read in the CMS, the rest as drafts, live only on an explicit yes and in small groups, a log written back to each row, and a stop on the first repeated error. Use when someone asks to bulk publish, upload these 40 posts, push the sheet to Webflow, publish a batch of landing pages, import approved articles into WordPress, or move a spreadsheet of drafts into the CMS. Requires Slate (slatehq.com): Sheets and publishing connections to WordPress, Webflow and Sanity (Strapi in the Slate app)."
license: MIT
compatibility: "Needs a sheet of approved rows and a write connection to the CMS. Built into Slate: Sheets and publishing to WordPress, Webflow and Sanity through the app or MCP server, Strapi in the app. Without Slate, the preflight, pilot, log and stop rules still apply, using the CMS's own import or API."
metadata:
  title: "Bulk content publishing"
  category: "Marketing operations and automation"
  requires: "slate"
  data-needed: "Slate"
  slate-tools: "list_grids, get_sheet, get_sheet_rows, edit_sheet_rows, manage_sheet_columns, import_csv_to_sheet, list_connections, query_webflow, query_sanity, publish_wordpress_post, publish_webflow_item, publish_sanity_document, web_research (Slate MCP); Sheets, Workflows, Publishing and Web research in the Slate app"
  slate-signup: "https://app.slatehq.ai/register"
  homepage: "https://slatehq.com/skills/bulk-content-publishing"
  author: "Slate"
  version: "1.0.0"
---

# Bulk content publishing

Moves a batch of approved pages from one sheet into the CMS without turning one wrong field mapping into fifty broken pages. Every row is checked before anything is written, three to five rows go first as drafts and are read in the CMS, the rest follow as drafts, and the batch goes live only on an explicit yes, in small groups. Each write is logged in its own row, and the run stops when the same error shows up twice. A generic "publish these rows" prompt loops until something breaks and leaves no record of what went out.

> **Requires Slate.** This skill runs on Sheets and CMS publishing connections (WordPress, Webflow and Sanity; Strapi in the Slate app) from [Slate](https://slatehq.com), the AI marketing platform. Use it inside Slate, or connect the Slate MCP server to Claude, ChatGPT, Cursor or any MCP client.
> - New to Slate? Start a free trial at https://app.slatehq.ai/register. Already a user? Log in at https://app.slatehq.ai/login.
> - MCP server: `https://api.slatehq.ai/slate-mcp-server/mcp` (sign in with your Slate account). Setup: https://slatehq.com/slate-mcp

## When to use

- "Bulk publish this sheet", "upload these 40 posts to WordPress", "push the location pages to Webflow", "publish the glossary batch", "import the translated articles", "move the approved drafts from the spreadsheet into the CMS".
- The pages are written and approved: output of `programmatic-seo`, `glossary-pages`, `transcreation` or a content migration.
- Not for one article or case study: use `content-to-cms-publisher`.
- Not for connecting the CMS or mapping its fields for the first time: use `cms-publisher`.
- Not for writing the pages: use `programmatic-seo` or the writing skill for the format.
- Not for small fixes to pages that are already live: use `page-fix-publisher`.
- Not for pages on Slate CMS: use `slate-cms-site`.

## What you need

Required:
- **The sheet**: one row per page, the approved content in columns (title, slug, body, SEO title, meta description, author, categories, image URL and alt text, custom fields).
- **Approval**: per row (name and date) or for the whole batch, in writing. A row edited after approval isn't approved.
- **Target**: CMS, connection, site, collection or post type, and whether rows create new items or update existing ones.
- **Mode**: drafts (the default) or live, and who gives the yes for live.

Ask for, or find and state:
- **Field map**: reuse the one from `cms-publisher` if it exists. Otherwise build it in step 2.
- **Update path**: immediate, after a Webflow site publish, or after a rebuild (common with Sanity sites).
- **Side effects of publishing**: RSS-to-email, auto-posting to social, Slack alerts, sitemap pings. Fifty posts at once can send fifty emails.
- **Pace**: live group size (default 10) and whether to spread the batch over days.

## Data and tools

- **In Slate:** Sheets holds the batch and the log columns. Publishing writes to WordPress, Webflow, Sanity and Strapi, saves drafts unless you ask for live, and asks you to approve writes. A published workflow with a publishing step can also run on every row as a workflow column, pilot first: first rows, then the remaining rows, then failed rows only. Web research fetches preview links and live pages.
- **With the Slate MCP server:** `list_grids` (with `gridId` to list its tabs), `get_sheet` for column IDs, `get_sheet_rows` (`start`/`end`, 100 rows by default; long cells come back truncated, so read every body with `rowId` and `columnId` for the full value before writing it), `manage_sheet_columns` (`action: "add"`) for the log columns, `edit_sheet_rows` (`mode: "update"`) to write each row's result, `import_csv_to_sheet` when the batch arrives as a CSV (`query_google_sheets` lists spreadsheets and tabs but doesn't read rows). `list_connections` gives the `connection_id`; `query_webflow` (`view`: `fields`, `items`) and `query_sanity` (`view`: `schema`, `documents`) give the target's fields and existing slugs. Then one write per row:
  - WordPress, `publish_wordpress_post`: drafts with `action: "createPost"` and `post_status: "draft"`; live with `action: "updatePost"`, the `slug` and `post_status: "publish"`. `updatePost` sets the status to draft whenever you leave it out, which takes a live post offline; it finds the post by slug and can't rename it. Standard posts only.
  - Webflow, `publish_webflow_item`: `action: "createPage"` with `is_draft: true` and `update_if_slug_exists: false`; live with `action: "updatePage"`, `page_slug`, the same approved `field_mappings` and `is_draft: false`, which only queues the item for the next site publish.
  - Sanity, `publish_sanity_document`: `action: "createDocument"` with `document_type`, `schema_revision` and `field_mappings` for drafts; live with `action: "publishDocument"`, the exact `drafts.` ID and its current `_rev` as `expected_revision`.
  - Strapi isn't available through MCP; use the Slate app. Per-CMS fields and traps are in `content-to-cms-publisher`.
- **Without Slate:** the CMS's own bulk route (a WordPress import plugin or the REST API with a script, Webflow's CSV import into a collection, Sanity's dataset import) on the same sheet, with the same preflight, pilot, log and stop rules.

## Procedure

1. **Freeze the batch.** List the approved rows and who approved them. Add log columns: `publish_status` (pending, preflight_failed, draft, queued, live, error, skipped), `cms_item_id`, `cms_url`, `preview_url`, `published_at`, `error`, `checked_at`. Never delete or reorder rows; the log is the record.
2. **Map columns to fields once.** Read the target's fields (types, required fields, option and reference values) and write the map down: column → field → transformation (Markdown to HTML, category name to ID). List fields the connection can't write (SEO plugin fields in WordPress, image assets in Sanity) and agree who fills them.
3. **Preflight every row, with no writes.** Run the checks in `references/preflight-and-stop-rules.md`: required fields, lengths, slugs unique and free on the site, no placeholders, links and images that load, references that exist. Failing rows get `preflight_failed` and the reason, and stay out of the run. If more than 10% of rows fail, stop: the problem is upstream (the export or the generation), so report the pattern instead of fixing rows one by one.
4. **Pilot 3–5 rows as drafts.** Pick rows that cover the variety: the longest body, one with images, one with optional fields empty, one with special characters (accents, quotes, ampersands). Write them as drafts and log each result at once. Open each draft in the CMS or its preview and check title, slug, headings, lists and tables, images, links, references and SEO fields. Show the user the pilot rows with their preview links and ask whether to continue. If the pilot is wrong, fix the map or the data and update the same drafts instead of creating new ones; stray drafts are deleted by a person in the CMS.
5. **Write the rest as drafts,** one row at a time, logging after every write, not at the end. Apply the stop rules: stop at once on an error that isn't about one row (authentication, rate limit, schema mismatch, server error), and stop when the same error appears on two rows. A row-specific error (one bad image URL) marks that row and the run continues. Before retrying a failed row, check whether the item exists anyway (by slug in the CMS, or by fetching the URL); never retry a row that succeeded.
6. **Spot-check the drafts.** Beyond the pilot, read a random 10% (at least 5 rows) in the CMS. Any fault that isn't row-specific sends you back to step 2.
7. **Go live only on an explicit yes** that names the rows ("publish rows 1–48 live"). Before the first group, switch off or warn about the side effects found in "What you need". Go live in groups of 10 without changing any content: WordPress posts switch to published; Webflow items are sent again with their approved fields, then wait for a site publish by a person (or go live from the Slate app); Sanity drafts are published with their current revision. Check each group's URLs before the next.
8. **Verify live pages** after the site's update path: status 200, the intended slug (WordPress quietly adds `-2` when a slug is already taken), title tag, canonical pointing to itself, no `noindex`. Check every URL's status and a sample in depth. Record `checked_at`.
9. **Report** counts by status, every error with its exact message, what a person still has to do, and next steps: internal links to the new pages (`internal-linking-optimizer`), sitemap, indexing checks.

## Decision rules

- **Drafts unless told live.** A yes for drafts isn't a yes for live; a yes for rows 1–48 isn't a yes for row 49.
- **The sheet is the approved version.** Formatting changes are allowed; wording changes need a new approval for that row.
- **Resumable.** A stopped run restarts at the first `pending` row, after the checks in the reference.
- **No bulk slug changes or deletions** on live pages. Those go through `page-fix-publisher` with a redirect in place.

## Output

The sheet itself, with every row's log filled, plus a short run report.

```markdown
## Bulk publish: <batch name>, <CMS / site / collection>, <date>
Approved by <name> on <date>. Mode: drafts, then live on <date> (yes from <name>).
Field map: <column → field, one line each>. Not writable through the connection: <fields, who fills them>.

| Status | Rows |
| live | <n> |
| draft (awaiting site publish) | <n> |
| preflight_failed | <n> (row <id>: <reason>; row <id>: <reason>) |
| error | <n> (row <id>: "<exact error>") |

Stopped early? <no / yes: error, rows affected, last row written>.
A person must: <publish the Webflow site / paste SEO plugin fields for <n> posts / add images in Sanity>.
Next: <internal links, sitemap check, indexing check in 2 weeks>.
```

## Quality checks

- Every row has a final status; no row was written without a log entry.
- No row was published that failed preflight or changed after approval.
- The pilot was read in the CMS, not judged from the API response.
- Live writes happened only after an explicit yes naming the rows; every WordPress update sent its status explicitly.
- Each live URL was fetched after the site's update path, and returned 200 with the intended slug.
- Errors are quoted exactly; nothing was retried blindly.

## Common mistakes

- **Writing everything, then looking.** A wrong field map caught at row 3 costs three drafts; caught at row 200 it costs an afternoon of manual fixes.
- **Logging at the end.** A run that dies halfway leaves no record of what went out. Log after every write.
- **Retrying a "failed" write that worked.** Timeouts often succeed on the server. Check for the item before retrying, or you get duplicates.
- **Calling Webflow items live too early.** A live write only queues them for the next site publish; nothing is live until the URL loads.
- **Forgetting side effects.** RSS emails and auto-posted social updates go out per post.

## Related skills

- `content-to-cms-publisher`: publish one approved piece, with the per-CMS details.
- `cms-publisher`: connect the CMS and build the field map before the first batch.
- `programmatic-seo`: generate the pages a batch comes from.
- `page-fix-publisher`: change pages that are already live, with history.
- `editorial-qa`: review drafts before they are approved.
- `internal-linking-optimizer`: link to the new pages from existing ones.
