Библиотека / Публикации в соцсетях
Публикации в соцсетях
Публикация одобренных изображений в Facebook и Instagram через Telegram и Gemini
Превращает идею поста в Telegram в подпись от Gemini и изображение Cloudflare Flux, затем публикует в Facebook и Instagram только после одобрения человеком в Telegram.
Что делает
## Turn a Telegram message into an approved Facebook + Instagram post For small businesses and agencies that post image content every week and want a human to approve every post before it goes live. ### How it works 1. Message your Telegram bot with a post idea. 2. Gemini writes a caption and an image prompt using your brand context. 3. You approve the caption in Telegram, or tap Regenerate. 4. Cloudflare Flux creates the image, which is converted to JPEG (Instagram requires it) and hosted on Google Drive. 5. You approve the image. 6. The post goes to Facebook, then to Instagram (container, status check, publish), and is logged in Google Sheets. After one regeneration the workflow flags the request for a manual look instead of looping. ### Setup steps 1. Telegram: create a bot with @BotFather and add the credential. 2. Gemini: Header Auth credential, name x-goog-api-key, value your key. 3. Cloudflare Workers AI: Header Auth, name Authorization, value Bearer . 4. Google Drive and Google Sheets: connect your accounts. Create a sheet with a tab named Log and columns timestamp, prompt, image_url, status. 5. Facebook Graph API: add a credential with a Page access token. 6. Fill in the Set Brand Context node (Page ID, Instagram Business account ID) and your Cloudflare account ID in the Generate Image URL. Step-by-step guide and free PDF checklist: https://uzzaman.dev/guides/instagram-facebook-auto-posting-setup/ ### Customization tips - Edit brand_context to match your tone. - Swap the image model by changing the Generate Image URL. - Raise the limit in Under Retry Cap? to allow more regenerations. - Drive images are shared publicly so Meta can fetch them. Use a dedicated folder.
Шаги
- Telegram Trigger
- Is Real Request?
- Reply: Send An Idea
- Set Brand Context
- Generate Image Prompt + Caption
- Parse LLM Output
- Approve Caption?
- Caption Approved?
- Load Latest Draft
- Generate Image
- Extract Image
- Convert to JPEG (IG requires this)
- Upload to Drive
- Make File Public
Всего шагов: 31.
Похожие автоматизации
Серверы и инструменты MCPСертификаты зон Cloudflare как MCP-серверШагов: 5Формы и опросыCreate and remove WordPress client projects with Hetzner, Docker, and Cloudflare DNSШагов: 29Отчёты, аналитика и дашбордыЭкспорт доменов Cloudflare с DNS-записями в Google SheetsШагов: 15Код, Git и инструменты разработчикаУправление хранилищем Cloudflare KV через полный APIШагов: 31