# Create and approve Facebook and Instagram image posts via Telegram and Gemini

> Quick overview This workflow turns a Telegram message into an approved AI-generated image post by using Google Gemini for captions and prompts, Cloudflare Workers AI for image generation, Google Drive for hosting, and the Facebook Graph API to publish to a Facebook Page and Instagram. How it works 1. Triggers when a new Telegram message arrives, ignores empty messages and commands, and loads your brand context and Meta account IDs. 2. Sends the request to Google Gemini to generate a JSON response containing an image prompt and a ready-to-post caption. 3. Sends the caption to Telegram for approval and, if rejected, regenerates once before flagging the request for manual review. 4. When approved, generates a square image with Cloudflare Workers AI (Flux), converts it to a 1440×1440 JPEG, uploads it to Google Drive, and makes the file publicly accessible. 5. Sends an image preview to Telegram for approval and, if rejected, regenerates once before stopping and requesting manual review. 6. 

- **Domain**: `n8n-workflow-20734.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/20734
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20734.n8n.io
- Documentation: https://n8n.io/workflows/20734
