Tinacms Developer Docs

Editorial Workflow

Set up content review and approval processes for your team

Editorial workflow helps teams manage content through review and approval before publishing. Define who can create, edit, review, and publish content.

Workflow Overview

Draft → In Review → Approved → Published
  |         |           |          |
Author   Reviewer    Editor     Live

Setting Up

Enable in TinaCloud

Editorial workflow is available on Team and Business plans.

  1. Go to TinaCloud dashboard
  2. Select your project
  3. Navigate to Settings > Editorial Workflow
  4. Enable the feature

Configure Draft Fields

Add a status field to your collection:

export const postsCollection = {
  name: 'post',
  label: 'Blog Posts',
  path: 'content/posts',
  fields: [
    {
      type: 'string',
      name: 'title',
      label: 'Title',
      isTitle: true,
      required: true,
    },
    {
      type: 'string',
      name: 'status',
      label: 'Status',
      options: [
        { value: 'draft', label: 'Draft' },
        { value: 'in_review', label: 'In Review' },
        { value: 'approved', label: 'Approved' },
        { value: 'published', label: 'Published' },
      ],
    },
    {
      type: 'datetime',
      name: 'publishedAt',
      label: 'Publish Date',
    },
  ],
}

Filter by Status in Your App

Only show published content on your site:

const publishedPosts = await client.queries.postConnection({
  filter: {
    status: { eq: 'published' },
  },
})

Role-Based Permissions

ActionAuthorReviewerEditorAdmin
Create draftYesYesYesYes
Edit own contentYesYesYesYes
Edit others' contentNoYesYesYes
Submit for reviewYesYesYesYes
Approve contentNoYesYesYes
Publish contentNoNoYesYes
Manage workflowNoNoNoYes

Combining with Branches

Editorial workflow works best with branch-based editing:

  1. Author creates branch: content/new-feature-announcement
  2. Author writes content, sets status to "In Review"
  3. Author creates PR to main
  4. Reviewer reviews PR, approves
  5. Editor merges PR → content published on main

Scheduled Publishing

Combine status with publish dates:

// Only show content that's published AND past publish date
const now = new Date().toISOString()

const posts = await client.queries.postConnection({
  filter: {
    status: { eq: 'published' },
    publishedAt: { before: now },
  },
})

Notifications

Configure email notifications in Project Settings > Notifications. Enable triggers for:

  • Content submitted for review
  • Content approved
  • Content published

Webhook notifications can also be configured in Project Settings > Webhooks.

On this page