Auto-generate & post AI images to Facebook using Gemini & Pollinations AI
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 7 nodes and runs on a schedule (every day at 07:00). Along the way it connects Google Gemini Chat Model and Facebook Graph API.
How it runs
Trigger: On a schedule (every day at 07:00).
- Log Schedule Time (Code): runs custom JavaScript code
- Generate Image Prompt (Gemini) (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
- Create Pollinations URL (Code): runs custom JavaScript code
- Fetch AI Image (HTTP Request): calls an HTTP API
- Post Image to Facebook (Facebook Graph API): uses Facebook Graph API
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - HTTP Request
n8n-nodes-base.httpRequest - Facebook Graph API
n8n-nodes-base.facebookGraphApi
From the author
This workflow is designed for content creators or AI artists who want to automate posting unique AI-generated images to their Facebook Page multiple times a day. It uses Google Gemini via LangChain to generate imaginative image prompts, and Pollinations AI to…