Templates / Vectorize Medical Procedures for Semantic Search with TUSS, Gemini & pgVector

Vectorize Medical Procedures for Semantic Search with TUSS, Gemini & pgVector

Unknown

by Thiago Vazzoler Loureiro ✓ · 695 views · created 2025-07-27 · Engineering, AI RAG

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 8 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Postgres PGVector Store, Embeddings Google Gemini and Oracle Database Parameterization (community).

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. ORACLE DATABASE CONNECTION (Oracle Database with Parameterization): uses Oracle Database with Parameterization
  2. COLLECTION OF MEDICAL PROCEDURES (Code): runs custom JavaScript code
  3. FOR - MEDICAL PROCEDURES (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Postgres PGVector Store: stores documents in the Postgres PGVector Store vector store, with embeddings: Embeddings Google Gemini; document loader: Data Loader

Services it uses

Postgres PGVector StoreEmbeddings Google GeminiOracle Database Parameterization (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-oracle-database-parameterization is verified or supports 3.0 (used in ORACLE DATABASE CONNECTION).

Nodes used (8)

From the author

Description This workflow vectorizes the TUSS (Terminologia Unificada da Saúde Suplementar) table by transforming medical procedures into vector embeddings ready for semantic search. It automates the import of TUSS data, performs text preprocessing, and uses…

Excerpt from Thiago Vazzoler Loureiro'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.