Templates / Create self-improving TikTok carousels with Gemini, fal.ai, OpenAI, Sheets and Upload-Post

Create self-improving TikTok carousels with Gemini, fal.ai, OpenAI, Sheets and Upload-Post

Needs changes

by Juan Carlos Cavero Gracia ✓ · 282 views · created 2026-08-25 · Content Creation, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 33 nodes and runs on a schedule (every 24 hours) (plus 1 other trigger). Along the way it connects Google Sheets, Google Gemini Chat Model, OpenAI and Upload Post (community). It also calls fal.run over HTTP.

How it runs

Trigger: On a schedule (every 24 hours) (plus 1 other trigger).

  1. Set Config (Edit Fields (Set)): sets 5 fields: product_name, product_description, upload_post_user…
  2. Read Performance Log (Google Sheets): uses Google Sheets
  3. Filter Posts for Stats (Code): runs custom JavaScript code
  4. Get Post Analytics (HTTP Request): calls an HTTP API
  5. Extract Stats (Code): runs custom JavaScript code
  6. Update Stats (Google Sheets): update
  7. Aggregate: combines items into one
  8. Get Profile Analytics (HTTP Request): calls an HTTP API
  9. Read Agent Skill (Google Sheets): uses Google Sheets
  10. Read Fresh Data (Google Sheets): uses Google Sheets

…plus 18 more steps. See the full node list below.

Services it uses

Google SheetsGoogle Gemini Chat ModelOpenAIUpload Post (community)

HTTP calls to: fal.run

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Strategy Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Strategy Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (15)

From the author

Quick overview This workflow runs daily (or manually) to refresh TikTok post analytics in Google Sheets, generate a new 4-slide TikTok carousel strategy with Google Gemini, render slide images with fal.ai, write a TikTok caption with OpenAI, publish via…

Excerpt from Juan Carlos Cavero Gracia'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.