AutomationFlowsAI & RAG › Dsaprojeto7 Fluxo1

Dsaprojeto7 Fluxo1

DSAProjeto7-Fluxo1. Uses vectorStoreSupabase, documentDefaultDataLoader, embeddingsOpenAi, textSplitterRecursiveCharacterTextSplitter. Event-driven trigger; 8 nodes.

Event trigger★★★☆☆ complexityAI-powered8 nodesSupabase Vector StoreDocument Default Data LoaderOpenAI EmbeddingsText Splitter Recursive Character Text SplitterHTTP Request
AI & RAG Trigger: Event Nodes: 8 Complexity: ★★★☆☆ AI nodes: yes Added:

This workflow follows the Documentdefaultdataloader → OpenAI Embeddings recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "DSAProjeto7-Fluxo1",
  "nodes": [
    {
      "parameters": {
        "content": "## IA e Fluxos Cognitivos Para Automa\u00e7\u00e3o de Processos de Neg\u00f3cios (BPA) com n8n\n\n### DSA - Projeto 7\n\n**Fluxo de Automa\u00e7\u00e3o Para Constru\u00e7\u00e3o de RAG com IA e Banco de Dados Supabase Para Atendimento de Suporte**\n\n**Fluxo 1**\n\nwww.datascienceacademy.com.br",
        "height": 192,
        "width": 944,
        "color": 5
      },
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        32,
        32
      ],
      "typeVersion": 1,
      "id": "29204559-48a4-4caa-b315-7eac8e276ed6",
      "name": "Sticky Note5"
    },
    {
      "parameters": {
        "mode": "insert",
        "tableName": {
          "__rl": true,
          "value": "tb_suportedsa",
          "mode": "list",
          "cachedResultName": "tb_suportedsa"
        },
        "options": {}
      },
      "id": "774ff6f5-7325-46f8-be00-f86c13a3e618",
      "name": "Insert de Documentos",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        640,
        352
      ],
      "typeVersion": 1,
      "credentials": {
        "supabaseApi": {
          "name": "<your credential>"
        }
      },
      "notes": "DSA Log - Node para insert no banco de dados vetorial."
    },
    {
      "parameters": {
        "dataType": "binary",
        "loader": "pdfLoader",
        "options": {}
      },
      "id": "7e21c67e-438a-47ea-ba0b-93d1c85581f1",
      "name": "Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        736,
        576
      ],
      "typeVersion": 1,
      "notes": "DSA Log - Data loader."
    },
    {
      "parameters": {
        "model": "text-embedding-3-small",
        "options": {}
      },
      "id": "981d836d-8834-472f-99bb-f6c4fc863dcd",
      "name": "Modelo de Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        608,
        576
      ],
      "typeVersion": 1,
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "notes": "DSA Log - Modelo de embeddings."
    },
    {
      "parameters": {
        "chunkSize": 800,
        "chunkOverlap": 30,
        "options": {}
      },
      "id": "e5c81860-2c5d-4196-9c0c-977c72341312",
      "name": "Recursive Character Text Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        816,
        784
      ],
      "typeVersion": 1,
      "notes": "DSA Log - Divisor de texto."
    },
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        -64,
        352
      ],
      "id": "ddc8262c-cd6a-434e-aee5-00623d80f44e",
      "name": "DSA - Inicia ao Clicar em Execute Workflow",
      "notesInFlow": false,
      "notes": "DSA Log - Node de in\u00edcio do workflow."
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "1125794e-cfc3-4897-8d84-57b5830ee684",
              "name": "dsa_url_arquivo",
              "value": "https://zdwijyhexkppqmenvboo.supabase.co/storage/v1/object/sign/dsap7/Politicas_de_Suporte_de_TI.pdf",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        160,
        352
      ],
      "id": "07cdc227-8c1d-4984-a489-0c26f8ff2ad3",
      "name": "DSA - Definindo Parametros",
      "notes": "DSA Log - Defini\u00e7\u00e3o de par\u00e2metros para a an\u00e1lise com IA."
    },
    {
      "parameters": {
        "url": "={{ $json.dsa_url_arquivo }}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        384,
        352
      ],
      "id": "53940ac7-7bc9-4521-9181-b084ffe402c7",
      "name": "DSA - Download Manual Suporte",
      "notes": "DSA Log - Download do manual em PDF para extra\u00e7\u00e3o do texto."
    }
  ],
  "connections": {
    "Data Loader": {
      "ai_document": [
        [
          {
            "node": "Insert de Documentos",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Modelo de Embeddings OpenAI": {
      "ai_embedding": [
        [
          {
            "node": "Insert de Documentos",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Recursive Character Text Splitter": {
      "ai_textSplitter": [
        [
          {
            "node": "Data Loader",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "DSA - Inicia ao Clicar em Execute Workflow": {
      "main": [
        [
          {
            "node": "DSA - Definindo Parametros",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DSA - Definindo Parametros": {
      "main": [
        [
          {
            "node": "DSA - Download Manual Suporte",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DSA - Download Manual Suporte": {
      "main": [
        [
          {
            "node": "Insert de Documentos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "0a584082-fac3-45b8-92a1-32ccee573779",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "WFREorrSqBorltua",
  "tags": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

DSAProjeto7-Fluxo1. Uses vectorStoreSupabase, documentDefaultDataLoader, embeddingsOpenAi, textSplitterRecursiveCharacterTextSplitter. Event-driven trigger; 8 nodes.

Source: https://github.com/alexmabud/Pos-Graduacao-Engenharia-Automacao-Processos-IA-DSA/blob/b5ab72601b40d41d89e374e66355aaa3ea833761/projetos_dsa/modulo_4/projetos_7_modulo_4/DSAProjeto7-Fluxo1.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

Supabase RAG AI Agent Custom Auth. Uses lmChatOpenAi, documentDefaultDataLoader, embeddingsOpenAi, toolVectorStore. Event-driven trigger; 27 nodes.

OpenAI Chat, Document Default Data Loader, OpenAI Embeddings +10
AI & RAG

What it is: An n8n workflow that enables AI-first WhatsApp support with seamless human handoff. Why it’s unique: The AI agent answers queries using RAG (Supabase vector store + Gemini). If a human int

Twilio, Google Drive Trigger, Google Drive +13
AI & RAG

How it works A manual trigger sets the research topic and generates three parallel Tavily web search queries A Summarizer Agent (Groq Llama 3.3 70B) and an Analyst Agent (OpenRouter GPT) process the s

Groq Chat, HTTP Request, Agent +6
AI & RAG

This workflow syncs files from Supabase Storage into a Supabase vector store using OpenAI embeddings, then exposes an n8n chat trigger where an AI agent answers questions by retrieving relevant docume

HTTP Request, Document Default Data Loader, Text Splitter Recursive Character Text Splitter +7
AI & RAG

This n8n workflow ensures data freshness in the RAG system by handling modifications to existing files. It complements the "Document Ingestion" workflow by triggering whenever a file in the monitored

Supabase, Google Drive, HTTP Request +6