# How my blog publishes itself: routine, covers, LinkedIn and where the human decision sits

Author: Carlos Imlau, AI Product Builder · Certified trainer (CCP) · AI applied to work. Creator of Tapinfy, FalaTuga and Sourmize.
Published on 2026-11-20 · Updated on 2026-11-20
URL: https://www.carlosimlau.com/blog/blog-que-se-publica-sozinho

## Summary

My blog publishes two articles a week without me pressing a single button. A scheduled Claude Code task writes, checks and publishes; two GitHub Actions handle the cover and the LinkedIn post; and I get an email with the result. The human decision has not disappeared: it has moved into the rules the AI has to follow.

## Key points

- A scheduled Claude Code task runs on Tuesdays and Fridays at 8am, reads an editorial guide and writes the article in five languages
- Before publishing, it runs the build, tests the links and rereads the Portuguese; if anything fails, it does not publish and emails me the reason
- A GitHub Action picks the cover on Unsplash or Pexels and a vision model confirms the photo fits
- Another Action publishes the LinkedIn post once the cover is live
- Approval lives in the written rules, the list of allowed facts and the email I get after every run

**How does a blog publish itself with AI?** In my case, with three pieces. On Tuesdays and Fridays, at 8am Lisbon time, a [scheduled Claude Code task](https://code.claude.com/docs/en/routines) reads the editorial guide, writes the article, checks everything and publishes it. Then one GitHub Action picks the cover and another publishes the post on LinkedIn. At the end I get an email with what went out. I do not approve article by article: I wrote the rules once and the AI has to follow them, or stop.

I work alone and orchestrate AI agents. This article is the behind-the-scenes view of the system that publishes this blog and the [daily tips](https://www.carlosimlau.com/dicas): the pieces, a Friday step by step, what went wrong and what you can copy for your own business.

## Why did I put the blog on autopilot?

On 17 October 2026 I decided to publish two articles a week: on Tuesdays, a piece of current news explained for people who work; on Fridays, a practical guide. At the same time, the tips started going out every working day. For one person juggling several projects at once, doing this by hand was not going to last.

The question was not "how does AI write for me?" but "what do I have to decide, and what can run without me?". Whatever repeats went to the machine; whatever needs judgement was written down as rules.

## What pieces make up the system?

- **The editorial guide.** A text file in the project with the audiences, the blog's pillars, the article format, the voice, the facts about me that may appear and what must never appear. It is the document that governs everything.
- **The calendar and the log.** The calendar sets the topic for each Friday and the preferred pillar for each Tuesday. The log records what has already gone out, so topics are not repeated.
- **The scheduled Claude Code task.** It runs in Anthropic's cloud, so it works [with my laptop closed](https://code.claude.com/docs/en/routines). It has a fixed prompt: read the guide, write, check, publish and send the email.
- **The GitHub Actions.** Small programs that GitHub runs when something happens in the repository. One handles the covers, the other LinkedIn.
- **Vercel.** Every change pushed to the repository's main branch [triggers a deploy](https://vercel.com/docs/deployments/git), which means it puts the new version of the site live.

## How does a Friday run, step by step?

1. **8:00am.** The scheduled task starts, reads the editorial guide, the calendar and the log, and works out what day it is. On Fridays it writes the planned topic; on Tuesdays it researches news from the last two weeks in official sources.
2. **It writes in European Portuguese first.** Then it adapts the article into Brazilian Portuguese, English, Spanish and French. A topic that only concerns Portugal goes out only in the two Portuguese versions.
3. **It writes the LinkedIn post.** Short, in the first person, using only facts from the article and without the link (that is added later).
4. **It checks.** It runs the site build (assembling the final version, which fails if there are errors), confirms that every external link responds and rereads the European Portuguese looking for Brazilian expressions and dashes.
5. **It publishes.** It updates the sitemap, records the article in the log, marks the calendar and pushes everything to the repository. Vercel puts the new site live.
6. **The cover.** The covers Action looks for a real photo on Unsplash or Pexels, with people, never repeated. A Cloudflare vision model looks at each candidate photo and only accepts one that fits the topic. It writes the photographer credit and the alt text in every language.
7. **LinkedIn.** When the covers Action finishes, the LinkedIn one starts on its own (GitHub lets you [chain one Action to run when another ends](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows)) and publishes the post through the [LinkedIn API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/posts-api), with the cover already in the card.
8. **The email.** I get the link, the pillar, the keyword, the sources, the post text and the result of the checks.

## And how do the tips go out?

On Sundays, another scheduled task writes the five tips for the following week, with the same rules on facts and voice. On every working day, at 8:25am, a cloud task triggers an Action that generates the carousel for the tip of the day, publishes it on LinkedIn on Mondays, Wednesdays and Thursdays, and puts the tip on the site.

On Fridays, the email with the week's tips was set up to sit as a draft in Brevo, the email tool I use, so I can approve it before it goes to subscribers. That is where manual approval makes the most sense: an article with a mistake can be fixed, an email that has been sent cannot be undone.

## Where does the human approval sit?

It is not an "approve" button. It sits in four places.

- **In the written rules.** The guide says every fact, number or date must link to its source, that dates are always absolute and that, if a claim cannot be confirmed, it comes out of the text.
- **In the list of facts about me.** The AI can only write in the first person what is on that list. No invented clients, results or numbers. For example, I wrote there that I work alone, so "my team" never shows up.
- **In the rule to refuse.** If the build fails, if it cannot publish or if there is doubt about a fact, the task does not publish and emails me the reason. I would rather have a day with no article than a wrong article.
- **In the email after every run.** I read what went out, and if something does not sit right with me I fix it and add a rule to the guide so it does not happen again.

There is also a safeguard for secrets: the tips build fails if it finds anything that looks like a key or a token. Since the tips show things I use in my work, that safeguard cannot depend on the AI "remembering".

## What went wrong along the way?

- **AI-generated covers that all looked alike.** I started with images from [Cloudflare Workers AI](https://developers.cloudflare.com/workers-ai/), which has a [free daily allowance](https://developers.cloudflare.com/workers-ai/platform/pricing/). After just a few articles, the covers all looked the same. I switched to real photos from Unsplash, which asks you to use the photo's original URL and give [credit to the photographer](https://help.unsplash.com/en/articles/2511245-unsplash-api-guidelines). Cloudflare became plan B.
- **A circus class on an article about training.** The search and the photo description looked right, but nobody was looking at the photo itself. That is where the vision model that confirms each cover came from.
- **GitHub's scheduler ran late.** Actions scheduled in GitHub itself sometimes went out hours late. Now the cloud task sets the time and triggers the Action.
- **Words that were not mine.** In one of the first versions, a text talked about teams I supported. That is not true, and it became a rule in the guide: on 23 October 2026 I wrote that I do not want to look like something I am not.

## Can a small business do the same?

Yes, and you do not need to start with the whole system. The order I would follow:

1. **Write the rules before you automate.** Who the audience is, what tone, what is never said, what facts may appear. Without this, the AI writes whatever it thinks.
2. **Automate one channel at a time.** The blog first, and only then LinkedIn or the newsletter.
3. **Start with manual approval.** Read everything before it goes out and turn each correction into a rule. When you stop correcting, remove the approval.
4. **Require sources and refusals.** An article without a link to its source does not go out. A run with doubts stops and tells you.
5. **Always get a summary.** Automating is not about no longer looking: it is about looking at the end, for two minutes, instead of doing everything by hand.

What it costs: scheduled Claude Code tasks need a [paid Claude plan](https://code.claude.com/docs/en/routines) (Pro or higher); Unsplash and Cloudflare's free allowance are enough for a small blog. For GitHub and Vercel, check which plan suits your case. Always confirm current prices with each service.

If you want to see other projects I built this way, they are in [cases](https://www.carlosimlau.com/cases). For simpler automations with no code, start with [automating tasks with AI without coding](https://www.carlosimlau.com/blog/automatizar-tarefas-com-ia-sem-programar).

## Frequently asked questions

### Does the AI write the articles on its own, without review?

It writes and publishes without me approving each one, but within written rules: mandatory sources, facts about me only from a closed list and automatic refusal when there is doubt. I read the summary of every run and, when something does not sit right with me, I fix it and add a rule.

### Do I need to know how to code to set up a system like this?

No. I am not a programmer and I built it with Claude Code, asking for it in stages and testing each one. You need to understand what each piece does and not be afraid of the terminal, but you do not need to write the code by hand.

### Does Google penalise articles written with AI?

According to [Google's official guidance](https://developers.google.com/search/blog/2023/02/google-search-and-ai-content), what counts is the quality and usefulness of the content, however it was produced. That is why this blog's rules insist on linked sources, absolute dates and a real question answered right in the first paragraph.

### Can I get help building something similar?

Yes. In [one-to-one mentoring](https://www.carlosimlau.com/formacao) we build your first automation together, with your rules and your channels. If you would rather start on your own, the [tips](https://www.carlosimlau.com/dicas) show one of these pieces every working day.
