Templates / Ensure required data tables exist using OpenAI and Google Gemini

Ensure required data tables exist using OpenAI and Google Gemini

Ready for 3.0

by Frantisek · 1 views · created 2026-08-06 · Document Extraction, AI Chatbot

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 15 nodes and runs when another workflow calls it. Along the way it connects Google Gemini Chat Model and Data table.

How it runs

Trigger: When another workflow calls it.

  1. List data tables (Data table): work with table
  2. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  3. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 8 tools (c1Table, c2Table, c3Table, c4Table…); memory: Simple Memory
  4. MatchingTableFound (If): checks a condition and branches into true / false

Services it uses

Google Gemini Chat ModelData table

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

From the author

Quick overview This workflow is called by another n8n workflow to ensure a specific n8n Data Table exists, checking existing tables first and creating the table with an OpenAI-powered agent and Data Table tools when it is missing. How it works 1. Receives…

Excerpt from Frantisek'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.