AUTOMATION SETUP — Daily blog auto-publish (10 articles/day at 10:00)
Share
AUTOMATION SETUP — Daily blog auto-publish (10 articles/day at 10:00)
Create this scheduled task in the branch/chat where the Shopify connector IS connected (not the writing branch — the scheduler runs in the environment it's created in, and it needs the Shopify MCP).
How to set it up: open the connected branch and say —
"Create a recurring scheduled task, daily at 10:00 (cron
0 10 * * *), taskIddaily-blog-publish-10, using the prompt inAUTOMATION-SETUP.md."
Notes before you create it: - The task runs only while the Claude desktop app is open. If the app is closed at 10:00, it runs on next launch. - It publishes a maximum of 10 articles per run and skips anything already live, so it safely drains the backlog (~29 remaining) over ~3 days, then keeps publishing any new clusters added later. - Schedule = daily 10:00 local time (America/Toronto).
Scheduled-task settings
-
taskId:
daily-blog-publish-10 -
cronExpression:
0 10 * * * - description: Publish up to 10 ready blog articles to the bmmold.com Shopify blog daily at 10:00.
Prompt (paste verbatim as the task prompt)
Publish up to 10 not-yet-published blog articles to the bmmold.com Shopify blog using the connected Shopify MCP (Admin API). Run this once per invocation.
SOURCE
Article folders live under: C:\Users\hello\Desktop\Projects\Bmmold.com - Блог - Статьи\Bmmold.com\
They are grouped in cluster folders named NN-... (e.g. 01-resin-for-beginners, 02-mixing-measuring, 03-silicone-molds, and any later 04-..., 05-... folders).
Each cluster folder contains a PUBLISH-BRIEF.md that lists its articles with: handle, title, target published_at date, and which infographic file(s) are embedded in the body.
Each article is at
STEPS (each run)
1. Read every PUBLISH-BRIEF.md (clusters in numeric order 01, 02, 03, ...). Build one ordered list of all articles sorted by their published_at date (earliest first).
2. Determine which are already live by checking the Shopify MCP (or fetching https://www.bmmold.com/blogs/news/.
d. Create the article via the Shopify MCP with: blog = News (handle "news"); title and url handle from the brief; author = "Nikolai Botsman"; published = true; publishedat = the date listed in the brief for that article; bodyhtml = the converted HTML; SEO page title = the article's Meta title; SEO meta description = the article's Meta description (Shopify metafields global.titletag and global.descriptiontag).
5. Verify each newly created post loads at https://www.bmmold.com/blogs/news/
CONSTRAINTS
- Featured image must stay EMPTY (the owner adds real photos later). Do NOT use an infographic as the featured/cover image.
- Never delete anything and never modify already-published posts.
- Internal links in the bodies are absolute https://www.bmmold.com/blogs/news/