Content Queue

The content queue holds drafts before they are published. Drafts that arrive in bulk go into content_queue instead of directly into posts, so you can read, fix and schedule an imported batch before any of it is public.

The Content Queue screen
Rows arrive here from outside, and you review them before anything is published.

Everything that goes from the queue to the live site passes the same publishing policy as any other channel. The content quality gate runs, the decision is recorded, and the published post has source = queue in its audit trail. Bulk content gets the same checks as single posts.

Drafts produced in bulk can be inaccurate, repetitive or thin. The queue lets you make the final decision.

Where items come from

Three intake paths exist, all on the Import tab of the Content Queue screen.

JSON import takes an uploaded file containing an array of items. CSV import takes pasted CSV in the same shape. Use them when an external system needs to send drafts, because the REST API creates posts, not queue items; there is no API endpoint for content_queue. Generate a file and import it.

Google Sheets sync pulls rows from a spreadsheet. It reads the range A1:H1000, treats the first row as column headers and maps them by name, so a sheet with a title column and a few of content, excerpt, category, tags, featured_image, slug, scheduled_date, scheduled_time, meta_title, meta_description works without configuration. Rows without a title are skipped. Each imported row remembers where it came from in source_sheet and source_row_id, and a row that has already been imported is skipped on the next sync instead of being duplicated. It is skipped, not updated, so editing a row in the sheet after import does not change the queue item.

The Sheets path needs an API key and a spreadsheet id in settings (content_queue_api_key, content_queue_spreadsheet_id, and optionally content_queue_sheet_name, which defaults to Sheet1). Until those are present the panel shows the sync card greyed out. This configuration has no form in the current admin; the values have to be written directly into the settings table.

An AI workflow can also write into the queue instead of publishing, so you can review bulk-generated content.

What a queue item holds

| Column | What it is | |---|---| | title, slug, content, excerpt | the draft itself | | category, category_id, tags | taxonomy for the future post | | author_id | who it will be published as | | featured_image, featured_image_url | a local file, or a URL to fetch at publish time | | status | draft, pending, ready, queued, processing, completed, failed | | scheduled_date, scheduled_time | when it should go live | | priority | ordering hint | | source_sheet, source_row_id | provenance, and the duplicate guard | | post_id | set on publish; the link to the live post | | meta_title, meta_description | SEO fields carried into the post | | processed_at, error_message | result of the last publish attempt | | extra_json | free-form payload for anything else the workflow carries |

extra_json holds additional data: image plans, generation briefs for each image and Pinterest texts (pin title, description, tags and a vertical image). These are converted into post meta at publish time, so a pin written during generation reaches the social plugin even months later.

There is no cost column and no auto-publish rule builder. The table has three columns named pinterest_image, pinterest_pin_id and pinterest_url; they are legacy and nothing reads or writes them.

Working the queue

The Queue tab opens on drafts and filters by status. Open any item to edit every field before it goes anywhere. Approve marks an item ready; Approve all clears a whole batch; Move to Ready does the same for a selection. Reject and Delete drop items, and Clear all empties a status bucket in one go. Publish now sends a single item straight to the live site; the quality gate still runs.

Two batch tools save time. Match featured images scans the temp upload folder and attaches images by slug: a file named {slug}-img01 becomes an in-content image and {slug}-pinterest becomes the vertical pin asset, matched with Turkish characters folded so ogrenci finds öğrenci. Reschedule failed queues every failed item again, six days apart, starting today. This is useful after a temporary provider outage; match images first.

Publishing an item copies it into posts, links the queue row to the new post through post_id, and writes the audit trail. If the quality gate blocks it, the item is not dropped: it stays in the queue with error_message explaining what failed, so you can fix it and try again.

Scheduling

Instead of publishing everything at once, spread the batch over time. Select ready items, open Schedule, and pick a frequency (daily, twice daily, every other day, odd days of the month or even days), a start date and a daily time window (nine to five by default). jekcms assigns each item a date and a random time inside that window, and moves it to queued.

Due items publish on their own. The engine that does it runs from cron if you have one, from ordinary site traffic if you do not, and also whenever an admin opens the Content Queue screen, so a due batch never waits for someone to press a button. Cron Setup explains the difference in precision between those paths.

Import a batch. Read it, edit the items that can be improved and delete the rest; this review is the main purpose of the screen. Match images so that no post is published without one. Apply a schedule so the batch is published over days instead of minutes. Then check the failed filter: every item the gate stopped is listed there with a reason. All other items have been published with source = queue, so you can later see where each post came from.

Be the first to know

New features, release notes and CMS guides. We send a couple of emails a month.