Post daily tech news on Instagram with Gemini and SerpAPI
Needs changesWhat this workflow does
This AI workflow has 9 nodes and runs on a schedule (every day at 09:00). Along the way it connects Google Gemini Chat Model, SerpApi (Google Search), Google Gemini and Instagram (community) and 1 more.
How it runs
Trigger: On a schedule (every day at 09:00).
- Workflow Configuration (Edit Fields (Set)): sets 3 fields: newsQuery, contentType, targetAudience
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 1 tool (SerpAPI News Search Tool); output parser: Structured Output Parser
- Generate an image (Google Gemini): work with image
- Upload file to tmpfiles (Tmpfiles): uses Tmpfiles
- Post to Instagram (Instagram): work with image
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- SerpApi (Google Search) in SerpAPI News Search Tool: no direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| SerpApi (Google Search) SerpAPI News Search Tool | No direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node |
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - SerpApi (Google Search)
@n8n/n8n-nodes-langchain.toolSerpApi - Instagram
@mookielianhd/n8n-nodes-instagram.instagram - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Tmpfiles
n8n-nodes-tmpfiles.tmpfiles - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
From the author
How it Works The workflow runs on a daily schedule at a defined time. It sets the news topic, content type, and target audience. An AI Agent searches for the latest trending news using SerpAPI. The AI selects the most engaging story and generates: An image…