AutomationMart
Home/Browse/Create Facebook posts and images with Google Gemini and Facebook Graph API
n8n

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

n8nn8n11 modulesv1.0
Google SheetsTelegramLinkedInFacebookGemini

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, this workflow is perfect for you. How it works Trigger & Configuration: The workflow begins with your raw text and brand guidelines, configured entirely within a single Set Context node. AI Copywriting: A Google Gemini Agent analyzes the inpu

At a glance

Create Facebook posts and images with Google Gemini and Facebook Graph API is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Google Sheets, Telegram, LinkedIn, Facebook. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Google Sheets, Telegram, LinkedIn, Facebook, Gemini
Modules
11
Price
Free
Version
v1.0
Create Facebook posts and images with Google Gemini and Facebook Graph API workflow diagram

About this workflow

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, this workflow is perfect for you. How it works Trigger & Configuration: The workflow begins with your raw text and brand guidelines, configured entirely within a single Set Context node. AI Copywriting: A Google Gemini Agent analyzes the input and crafts an engaging Facebook caption—complete with hooks, emojis, and hashtags—alongside a highly detailed image generation prompt. Image Processing: The workflow intelligently branches. If you provide an original image, Gemini edits and enhances it for social media. If no image is provided, Gemini generates a brand-new illustration from scratch. Facebook Publishing: The final text and image are automatically published to your Facebook Fanpage via the Graph API. How to use 1. Connect your Google Gemini API key in the AI Agent and Language Model nodes. 2. Connect your Facebook Graph API credentials in the Post to Facebook node. 3. Edit the Set Context node to update the rawcontent, fanpagename, contentstyle, and your specific pageid. 4. Run the workflow to automatically generate and publish your content. Requirements n8n Version: Built and tested on n8n 2.9.4+. (Note: It is highly recommended to update to the latest n8n version to use this workflow effectively). Google Gemini API key (googlePalmApi credential). Facebook Page Access Token with pagesmanageposts permissions. Customizing this workflow Automate the input: Swap the Manual Trigger for a Webhook, Google Sheets, or Telegram node to generate posts on the fly from external apps. Expand to other platforms: Replace the Facebook node with a LinkedIn or X (Twitter) node to distribute your AI-generated content across multiple channels. --- About the Author Created by: Nguyễn Thiệu Toàn (Jay Nguyen) Email: me@nguyenthieutoan.com Website: nguyenthieutoan.com Company: GenStaff (genstaff.net) - AI Staff. Always On. Always Yours. Socials (Facebook / X / LinkedIn): @nguyenthieutoan More templates: n8n.io/creators/nguyenthieutoan

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Create a Thankster card when row is added to Google Sheet spreadsheet

When a new row is added in a Google Sheets spreadsheet, a new Thankster card is created.

Free

Summarize emails with ChatGPT and store on a Google Sheet

This template logs new emails in Google Sheets with generated AI summarizes using ChatGPT for streamlined email management and record-keeping.

Free

Autonomous customizable support chatbot on Intercom + Discord thread reports

Click here to access this Workflow for free. --- Connect your own LLM-boosted chatbot to Intercom (f their overly priced FlN Agent), and stay in touch on Discord This workflow connects your Intercom chat system with your own AI Agent and sends a complete log of each conversation to Discord using threads. It allows you to run a fully automated support system while maintaining full visibility of the bot's behavior in real time. For every new conversation in Intercom, a thread is created in a speci

Free

Generate document drafts from PDFs using Google Drive, GPT-4 & notifications

Automate Drafts From Google Drive This workflow automates the end-to-end process of extracting and summarizing information from PDFs stored in a specific Google Drive folder. When a new PDF or any binary data is added, the workflow is triggered and begins by downloading and processing the PDF to extract all available text. If multiple PDFs are detected, their content is aggregated into a single, combined dataset. This automation eliminates the time consuming task of manually reading, taking not

Free

Trigger Etsy shop receipts and add rows to Google Sheets

Automatically log Etsy shop receipts into Google Sheets. Streamline your sales tracking by adding each receipt as a new row in your spreadsheet.

Free

Discover & analyze n8n workflows from GitHub with OpenAI and Google Sheets

Overview Discover and analyze the most valuable community-built n8n workflows on GitHub. This automation searches public repositories, analyzes JSON workflows using AI, and saves a ranked report to Google Sheets — including summaries, use cases, difficulty, stars, node count, and repository links. --- ⚙️ How It Works 1. Search GitHub Code API — queries for extension:json n8n and splits results 2. Fetch & Parse — downloads each candidate file’s raw JSON and safely parses i

Free

Extract & process Q&A from URLs with Airtop, OpenRouter AI & Safety Guardrails

Transform your Telegram bot into a secure content analyzer: send any URL, and get safe, structured Q&A extractions with AI-powered safety checks and web search capabilities. 📋 What This Template Does This workflow activates when a user sends a valid URL to your Telegram bot. It extracts questions and answers from the webpage using Airtop, applies NSFW and PII guardrails to ensure safe content, then uses an OpenRouter AI agent (with optional Tavily search) to generate and send a concise response.

Free

Send cold outreach emails and follow-ups with Resend, Postgres and HubSpot

Automate your cold email outreach with this 3-stage workflow that sends emails, triggers follow-ups after 3 days, and syncs responses to HubSpot CRM automatically. - Uses: n8n, Postgres/Supabase, Resend API, HubSpot - Features: Scheduled triggers, automatic follow-ups, response tracking via webhooks, CRM auto-sync Perfect for sales teams and marketers who want to scale outreach without manual work. 📺 Full tutorial included 📧 Questions? Need customization? Connect with me on LinkedIn: Click here

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free