How an AI pipeline wrote a 285-article city guide in 12 days
Translated from Russian. Read the Russian original.
If you live abroad, you know the cycle. Someone in a group chat asks how to get a tax ID. Five people reply: three say different things, one says "just Google it," and one drops a link to a post from two years ago. A week later, the next person asks the same question. And around it goes again.
I live in Florianópolis, Brazil, and I got tired of watching this. That's how floripa.today was born: a handbook for people who have moved to Floripa — documents, rentals, healthcare, schools, beaches. In 12 days it grew to 285 guides and 105 pages about the city and its places — all of it also in English, Spanish, and Portuguese.
I didn't write any of it. I built the pipeline that writes. Here's how it works, where the AI fell flat, and what you can take for your own business.
Step 1. First, find out what people actually need
The most common mistake in content projects is writing what seems important to the author. I went the other way: I took exports from five Russian-speaking chats about Floripa and Brazil covering a year and a half. That's 428,000 messages.
Then a script took over, no AI involved:
- it pulled the questions out of the messages — 9,181 of them;
- filtered out ads, buy-and-sell posts, and flame wars;
- sorted the questions into 90 topics across 17 sections;
- counted what people ask about most.
The ranking surprised me. Number one wasn't residency or rentals — it was sending packages with travelers: 785 questions. Residency got 203, long-term rentals 179, the CPF tax ID 175. I'd never have guessed that order by eye, and it set the plan for the first few weeks.
Step 2. Other people's data doesn't go into the AI
The chats are full of names, phone numbers, ID numbers, and addresses. You can't send that to a model, not even "just for analysis."
So the raw exports stayed on my laptop. Right there, a script replaces everything personal with placeholders — [ИМЯ], [ТЕЛЕФОН], [ДОКУМЕНТ], [АДРЕС] (name, phone, document, address) — and then checks its own work, hunting for leftover phone numbers, emails, and usernames. All 9,181 questions passed, with zero leftovers. Only then does the masked file go to the server.
One more rule: quotes from the chats never make it onto the site, period. The chats are there to understand the question. The site answers only from official sources.
If your process involves customer data, masking goes before the AI, not in a "we'll deal with it later." It's one page of code and a good night's sleep.
Step 3. An AI writer and an AI reviewer
The guides are written by an AI agent following a strict template: "In short" (what, where, how much it costs, how long it takes) → who it's for → step by step → common mistakes → Q&A → official sources. Every requirement like "you must" or "you can't" gets a footnote to a government website. Anything known only from the chats is flagged: "based on members' experience, not officially confirmed."
Next to it runs a second agent — the reviewer. It checks the finished guide against the criteria and decides: "ready" or "hold."
The rule was simple: the agent earns trust only when 4 out of 5 guides in a row pass review with no edits. Here's what day one looked like:
| Batch of 5 guides | Passed review |
|---|---|
| 1 | 0 of 5 |
| 2 | 1 of 5 |
| 3 | 0 of 5 |
| 4 | 1 of 5 |
| 5 | 0 of 5 |
| 6 | 4 of 5 |
Six batches, thirty guides, one day. Without these numbers I'd have shipped the very first batch — it looked pretty decent.
Step 4. Anything that repeats three times becomes a script
The most useful discovery of the whole project. In the first batch, the reviewer wrote the same thing 5 times out of 5: "Portuguese word without a translation." The AI writer stubbornly kept leaving "Remessa Conforme" or "Taxa de Pedido de Prorrogação" unexplained, no matter how many times it was asked.
So I stopped asking. I wrote a small script that, in a fraction of a second, finds Latin-script words without a Russian explanation, numbers without a source, claims without a footnote, and links to guides that don't exist. The agent runs it on its own and keeps fixing until it comes back clean.
The result: from batch 4 on, that review item passed 5 out of 5. The script doesn't get tired, doesn't argue, and doesn't cost a single token.
That gave me a rule I now use in every project: if the same note comes up a third time, it's not an AI mistake — it's a missing line in the rules or a missing script.
Step 5. Everything else is scripts too
Once the guides were flowing, there was almost no manual work left:
- The site rebuilds itself every 15 minutes if anything has changed.
- Once a day, an AI translator picks up new and updated guides and translates them into English, Spanish, and Portuguese. A counter script runs first: if there's nothing to translate, the model doesn't even start. Right now there are about 370 pages in each language.
- A separate agent writes SEO titles and descriptions, again only for what changed.
- Beach water quality, waves, and wind are pulled in by scripts from open data.
The model only kicks in where thinking is required: writing, reviewing, translating. Everything mechanical is free scripts. That's what makes the economics work: AI does the work of an editorial team, not the work of cron.
What 12 days produced
- 285 guides and 105 pages about the city, beaches, neighborhoods, and trips — in four languages.
- Google and ChatGPT are already sending people to the site: 30–50 visitors a day right now. Not a lot, but for a site that's a week and a half old, it's a solid start.
- I didn't write a single guide by hand. My job: tweaking the template, going through what the reviewer held back, and making yes/no calls.
What didn't work
- AI confidently writes numbers that aren't in the source. Amounts, deadlines, and opening hours sound plausible — and don't always match the government website. That's why every number gets a footnote, the script hunts for numbers without a source, and the reviewer checks the footnote against the source itself.
- The reviewer can overdo it too. In batch 3 it started nitpicking: the name of the currency, the channel's sign-off. The review criteria had to be tightened just like the writer's rules.
- Manual edits break the automation. I fixed a translation by hand, and a few minutes later the translator overwrote it from the original. Now the rule is: we only edit the original or the instructions; translations stay untouched.
What to do today
You don't need a city guide to take away the main idea. Pick the place where you or your team get asked questions: a work chat, the support inbox, DMs. Export the last 3 months of conversations and ask an AI (with no personal data — swap out names and phone numbers first) to put together the top 20 recurring questions with counts.
Odds are 5 of them cover half of all the conversations. That's your first candidate for automation: an FAQ, a bot, or a reply template. Start with one.