Skip to content
FlowHubFluxonLab
B
AI Automationfree

Automated AI Content Creation & Instagram Publishing from Google Sheets

by Onuradapted from n8n official workflow galleryUpdated Aug 2026
RequiresBBasic LLM ChainFacebook Graph APIFacebook Graph APIGoogle Gemini Chat ModelGoogle SheetsGoogle SheetsHTTP RequestHTTP RequestStructured Output ParserStructured Output Parser
Share Post Share
ScScheduled Start: Check for New PostsScheduled Start…1. Get Next Post Idea from Sheet1. Get Next Pos…Se2. Prepare Input Variables (Topic, Audience, etc.)2. Prepare Inpu…CL3a. Generate Content Concept (Gemini)3a. Generate Co…(LLM Model for Concept)(LLM Model for …OP(Parse Concept JSON)(Parse Concept …CL3b. Generate Image Prompt Options (Gemini)3b. Generate Im…(LLM Model for Prompts)(LLM Model for …OP(Parse Prompts JSON)(Parse Prompts …CL3c. Generate Post Caption (Gemini)3c. Generate Po…(LLM Model for Caption)(LLM Model for …OP(Parse Caption JSON)(Parse Caption …HR4. Generate Image using Prompt 1 (Replicate Flux)4. Generate Ima…Se5. Prepare Data for Instagram API5. Prepare Data…6a. Create Instagram Media Container6a. Create Inst…Wa6b. Wait for Container Processing6b. Wait for Co…6c. Publish Post to Instagram6c. Publish Pos…7. Update Post Status in Sheet7. Update Post …1234567891011121314151617
1/5
STEPS · 17
Runs on a schedule

Automated AI Content Creation & Instagram Publishing from Google Sheets This n8n workflow automates the creation and publishing of social media content directly to Instagram, using ideas stored in a Google Sheet. It leverages AI (Google Gemini and Replicate Flux) to generate concepts, image prompts, captions, and the final image, turning your content plan into reality with minimal manual intervention. Think of this as the execution engine for your content strategy. It assumes you have a separate process (whether manual entry, another workflow, or a different tool) for populating the Google Sheet with initial post ideas (including Topic, Audience, Voice, and Platform). This workflow takes those ideas and handles the rest, from AI generation to final publication. What does this workflow do? This workflow streamlines the content execution process by: Automatically fetching** unprocessed content ideas from a designated Google Sheet based on a schedule. Using Google Gemini to generate a platform-specific content concept (specifically for a 'Single Image' format). Generating two distinct AI image prompt options based on the concept using Gemini.

Tags

n8nreference-onlychain-llmfacebook-graph-apigoogle-sheetslm-chat-google-geminioutput-parser-structured
Connects
BBasic LLM ChainfacebookgraphapiFacebook Graph APIGoogle Gemini Chat ModelsheetsGoogle SheetsWHTTP RequeststructuredoutputparserStructured Output Parser
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes18
AddedMay 3, 2025

Related workflows

See all AI Automation
BCgmail
free

Verify Japanese invoice registration numbers from Gmail using Gemini, NTA API, Sheets and Slack

Quick Overview This workflow monitors Gmail for unread invoice emails with PDF attachments, extracts invoice details with Google Gemini, verifies Japanese qualified invoice registration numbers against the National Tax Agency (NTA) Invoice Web-API, logs results to Google Sheets, and sends Slack alerts for invalid, missing, or inconclusive checks. How it works Polls Gmail hourly for unread emails matching “has:attachment invoice” and downloads the first attachment. Extracts text from the attached invoice PDF. Uses Google Gemini to parse the invoice text into structured fields such as the T-registration number, issuer name, invoice date, and amounts. Normalizes and validates the registration number to ensure it matches the required “T + 13 digits” format. If the format is valid, calls the NTA Invoice Web-API to verify the registration number and interprets the response as valid, invalid, or not found. Appends the invoice details and verification status to a Google Sheets worksheet. Routes the outcome by sending the appropriate Slack alert for invalid/not found/inconclusive results or marking the invoice email as read when the number is valid. Setup Connect your Gmail OAuth2 credentia

by Oka Hironobu
BCgmail
free

Check Japanese ad copy compliance with Google Gemini, Sheets, Slack and Gmail

Quick Overview This workflow runs daily to review Japanese ad copy in Google Sheets using Google Gemini, writes compliance risk results back to the sheet, and alerts the right team in Slack (and drafts a Gmail revision request) based on high/medium/low risk. How it works Runs every day at 9:00 on a schedule. Reads ad copy rows from Google Sheets to find items that still need a compliance check. Sends each copy item to Google Gemini with the configured product category, target laws, and extra rules to generate a risk level, violations, and a compliant rewrite. Parses and normalizes the Gemini output into fields like risk level, violation count, and safe rewrite, and posts a Slack alert if the AI check fails. Updates the corresponding Google Sheets row with the compliance results to keep a record of the review. Routes the item by risk level and posts to Slack for legal blocking (high), marketing review (medium), publish-ready notification (low), or manual review when the result is inconclusive. For high-risk copy, also creates a Gmail draft requesting the author to revise the copy using the suggested compliant rewrite. Setup Add credentials for Google Sheets, Google Gemini (PaLM) API

by Oka Hironobu
autofixingoutputparserBopenaichatmodelstructuredoutputparser
free

Force AI to use a specific output format

This workflow is for anyone looking to automatically fetch, validate, and parse complex language-based queries into a structured format. Its unique capability lies in not only processing language but also fixing invalid outputs before structuring them. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team