Templates / Generate AI Twitter posts with web research using GPT, Tavily and image generation

Generate AI Twitter posts with web research using GPT, Tavily and image generation

Unknown

by Ilyass Kanissi ✓ · 1,360 views · created 2025-08-18 · Content Creation, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

Community nodes

These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

Nodes used (7)

OpenAI Chat ModelAI AgentGmail

What it does

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. 🤖 AI-Powered Twitter Content Generator Transform topic ideas into ready to post Twitter drafts (text + image) using fresh web data and AI agents 🎯 What does this workflow do? This end to end automation creates complete Twitter posts by: Taking your topic input (e.g., "Agentic AI") via chat interface Generating fresh, research-backed content using AI agents: First agent uses GPT-4.1-MINI + Tavily to bypass LLM knowledge limits with real-time web data Second agent creates optimized prompt for image generation Producing custom visuals through OpenAI's gpt-image-1 Delivering polished drafts (text + image) via Gmail for review ⚙️ How it works User input: You provide a topic through chat node Content research: Agent 1 (GPT-4.1-mini + Tavily) researches current web data Generates factually fresh tweet content Visual creation: Agent 2 optimizes prompt for image generation HTTP request node calls OpenAI's gpt-image-1 model to generate the image Convert to file node converst the base64 string to a file so we can send it as an attachment Delivery: Gmail node sends compiled draft with text body + image attachment 🔑 Required setup Have a verified organization: OpenAI Org Settings OpenAI API Key: Create a Key Here Tavily API Key: Get it Here Gmail credentials: Google Cloud Console

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.