Generate AI Twitter Posts with Web Research using GPT, Tavily and Image Generation
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
Related Templates
AI SEO Readability Audit: Check Website Friendliness for LLMs
Who is this for? This workflow is designed for SEO specialists, content creators, marketers, and website developers who ...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
š¤ Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
š Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments