Templates / Create Facebook posts and images with Google Gemini and Facebook Graph API

Create Facebook posts and images with Google Gemini and Facebook Graph API

Ready for 3.0

by Nguyễn Thiệu Toàn (Jay Nguyen) ✓ · 954 views · created 2026-05-18 · Content Creation, Multimodal AI

Ready 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 11 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Gemini Chat Model, Google Gemini and Facebook Graph API.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set Context (Edit Fields (Set)): sets 5 fields: raw_content, fanpage_name, content_style…
  2. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; output parser: JSON Output Parser
  3. Select Image Mode (If): checks a condition and branches into true / false
  4. Download Image to Edit (HTTP Request): calls an HTTP API
  5. Generate New Image (Google Gemini): work with image
  6. Edit Original Image (Google Gemini): edit (image)
  7. Post to Facebook (Facebook Graph API): uses Facebook Graph API
  8. Post Result (Edit Fields (Set)): sets 5 fields: status, facebook_post_id, post_text_preview…

Services it uses

Google Gemini Chat ModelGoogle GeminiFacebook Graph API

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 (9)

From the author

This n8n template automates the creation of professional Facebook posts and visually striking illustrations directly from simple raw text. If you want to maintain a consistent social media presence without spending hours writing copy and designing images,…

Excerpt from Nguyễn Thiệu Toàn (Jay Nguyen)'s description on n8n.io.

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.