Templates / Api schema extractor

Api schema extractor

Ready for 3.0

by Polina Medvedieva ✓ · 29,665 views · created 2024-12-19 · Engineering, AI RAG

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 82 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Gemini Chat Model, Embeddings Google Gemini, Qdrant Vector Store and Google Sheets and 1 more. It also calls api.apify.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Get All Research (Google Sheets): uses Google Sheets
  2. Execution Data: uses Execution Data
  3. All Research Done? (If): checks a condition and branches into true / false
  4. EventRouter (Switch): routes items into 3 branches
  5. Get All Extract (Google Sheets): uses Google Sheets
  6. For Each Research... (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Web Search For API Schema (HTTP Request): calls api.apify.com (POST)
  8. Query Templates (Edit Fields (Set)): sets 1 field: queries
  9. Get API Operations (Google Sheets): uses Google Sheets
  10. All Extract Done? (If): checks a condition and branches into true / false

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

Services it uses

Google Gemini Chat ModelEmbeddings Google GeminiQdrant Vector StoreGoogle SheetsGoogle Drive

HTTP calls to: api.apify.com

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

From the author

This workflow automates the process of discovering and extracting APIs from various services, followed by generating custom schemas. It works in three distinct stages: research, extraction, and schema generation, with each stage tracking progress in a Google…

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