Auto-post to Shopify blogs via GraphQL
BlogAutoPost creates Shopify blog articles with the GraphQL Admin API, using the Admin API access token of an app installed on your store. This page lists the mutation, the permissions, what is sent and what you can read when a step fails.
The facts at a glance
| Item | What the connection uses |
|---|---|
| Mutation | articleCreate, sent to /admin/api/2026-10/graphql.json on your .myshopify.com address. 2026-10 was the latest API version on the day we read the reference. |
| Credential | The Admin API access token of an app installed on your store, sent in the X-Shopify-Access-Token header. Shopify no longer lets stores create new admin-created custom apps, so a new connection uses an app made in the Shopify Dev Dashboard or with the Shopify CLI; an existing custom app keeps working. |
| Scopes | Shopify says articleCreate needs write_content or write_online_store_pages. The setup asks you to grant read_content and write_content. |
| Visibility | The isPublished field. BlogAutoPost sends true, and only after you approve the post. |
| Author | Shopify requires one. BlogAutoPost sends your store name. |
| Blog | The blogId of the blog you chose, or the only blog the store has. |
What we publish
| Your article | Shopify field | Notes |
|---|---|---|
| Title | title | Required by Shopify. |
| Body | body | HTML, plus a credit line when the cover image needs one. |
| Slug | handle | The address segment you approved. |
| Excerpt | summary | Shown by themes on blog listing pages. |
| Tags | tags | Sent as a list of names. |
| Cover image | image with altText | The file goes to a staged upload target first; the returned address is used in the article. |
| Meta title and description | metafields | Namespace global, keys title_tag and description_tag. |
Approval and visibility
Shopify lets an article be hidden or visible. BlogAutoPost does not use hidden as a review stage: unapproved articles stay in your approval queue and are never sent, and an approved one is created visible. See approvals and scheduling.
What happens before a post goes out
- The blog is resolved. One blog is used automatically. With several, the connection must name one.
- The cover image is uploaded to the staged target. If that fails, nothing is posted.
- On any retry, and when the scheduler recovers an interrupted publish, BlogAutoPost first searches that blog for an article with the same handle. An exact match counts as already posted, so a repeat never creates a second copy.
- The article is created with one
articleCreatecall.
Failure messages you may see
| Code | When it appears | What to do |
|---|---|---|
auth_failed | Shopify rejected the token, or the app lacks permission (ACCESS_DENIED). | Copy the access token again, or grant the content scopes and reinstall the app. |
missing_scope | The scopes check found no content write permission. | Add write_content and read_content, install again, reconnect. |
not_found | No store at that address, or the chosen blog id does not exist. | Check the .myshopify.com address and the blog id. |
invalid_request | The store has no blog, has several and none was chosen, or Shopify returned a field error. | Create or choose a blog, or read the named field. |
conflict | Another article already uses the handle. | Change the slug and publish again. |
Shopify can answer HTTP 200 even when a call failed, so BlogAutoPost reads the error list inside the response too. A THROTTLED answer is retried shortly instead of failing. All codes are on the errors page; the full flow is under publishing.
What the connection test checks
- The token works, and the shop name and primary domain can be read.
- The app has a write scope and a read scope for content.
- The store has a blog, and the blog you chose exists among the first 50.
- The test creates and changes nothing in your store.
Setup: Shopify connect guide. Other platforms: WordPress, Webflow.
Frequently asked questions
Which Shopify permissions does the app need?
write_content (Shopify also accepts write_online_store_pages for the mutation) plus read_content. After changing scopes, install the app again.
My store has two blogs. Which one gets the post?
The one you save as the target. With several blogs and none saved, the connection test lists them with their ids and asks you to choose. A store with one blog needs no choice.
Why does the byline show my store name?
Shopify requires an author name on every article, so BlogAutoPost sends the name of your store.
What does the throttled message mean?
Shopify limits GraphQL calls by a calculated cost per query and answers THROTTLED when a store has used its allowance. Your setup is fine; BlogAutoPost waits and tries again.
Are the SEO title and description set on the article?
They are sent as two metafields in the global namespace, title_tag and description_tag. Open a published article to confirm your theme shows them as you expect.
Sources
- Shopify GraphQL Admin API reference (read 2026-10-19)
- Shopify articleCreate mutation (read 2026-10-19)
- Shopify ArticleCreateInput (read 2026-10-19)
Put BlogAutoPost on your blog
Start a 7-day trial, connect your WordPress, Shopify or Webflow blog and approve the first draft yourself.
- $1 for a 7-day trial. When the 7 days end, your card is charged from $95 a month for one site, and the plan renews every month until you cancel.
- Cancel any time with our ready-made cancel email. No reason needed.
- Your first paid month can be refunded within 7 days of paying it. Write to hello@blogautopost.com.