How I run my content pipeline with two AI bots, Cloudflare R2 and Postiz
Описание и применение
Автоматизированный контент‑поток с двумя ИИ‑ботами: один генерирует изображения и публикует в Instagram, второй управляет хранением в Cloudflare R2, планированием и публикацией на X, LinkedIn и dev.to, используя Postiz для расписания.
Задача
Automating repetitive content creation and publishing across X, LinkedIn, dev.to, and Instagram while keeping human oversight for replies and quality control.
Результат
The pipeline reduces manual effort, ensures data integrity via notes.txt, prevents storage bloat by archiving to R2, and maintains a single source of truth for statistics used in posts.
Рабочий процесс
- 1. Creative bot generates carousel images and Portuguese Instagram posts, drops files in handoff folder, signals manager when ready.
- 2. Manager bot uploads folder to Cloudflare R2 via @aws-sdk/client-s3, sets correct ContentType, collects public URLs.
- 3. Manager verifies each URL returns 200 using Node fetch, then deletes local copy.
- 4. Manager writes English posts for X, LinkedIn, dev.to, schedules them through Postiz.
- 5. Manager updates x/latest.txt with today's prefix for easy retrieval.
Доказательства
there are two bots. a creative bot makes the images (carousels) and the Instagram posts in Portuguese. a manager bot owns everything else: it uploads the files to a public Cloudflare R2 bucket, plans the day, writes the English posts for X, LinkedIn and dev.to, and schedules them through Postiz.
the rule is: if it's published, it lives in R2, and the local copy gets deleted.
after upload the manager checks every public URL returns 200 before it deletes the local copy.
- Дата записи: 2026-10-21T15:11:18.251Z