# kabcasa/agentia architecture

> Architecture diagram of the GitHub repository kabcasa/agentia, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kabcasa/agentia
- Repository: https://github.com/kabcasa/agentia

## Overview

This repository is a portfolio of n8n automations rather than a shared application or code library. Its documented workflows cover document generation, RAG-based information replies, two appointment-request experiences, audio transcription and storage, and daily information monitoring. The graph treats each workflow as a distinct runtime unit and shows only the user interactions and integrations named in the README. Workflow JSON files are present in the tree, but no source excerpts were provided, so internal node sequences and unlisted data transfers are not inferred.

Main entry points: [`generation_doc_modifié.json`](https://github.com/kabcasa/agentia/blob/main/generation_doc_modifi%C3%A9.json) (Document generation), [`RAG_solutionsIA_GSheet.json`](https://github.com/kabcasa/agentia/blob/main/RAG_solutionsIA_GSheet.json) (RAG replies), [`User_request_for_meeting.json`](https://github.com/kabcasa/agentia/blob/main/User_request_for_meeting.json) (Meeting email response), [`Transcript_audio_Google_Drive_file.json`](https://github.com/kabcasa/agentia/blob/main/Transcript_audio_Google_Drive_file.json) (Audio transcription)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_documents["Document automation"]
  node_document_generation["Document generation"]
  node_form_submission["n8n form"]
  node_template_doc["Template Doc"]
  node_google_drive_docs["Google Drive"]
end

subgraph group_information["Information workflows"]
  node_rag_replies["RAG replies"]
  node_rag_qdrant[("RAG Qdrant")]
  node_google_docs["Google Docs"]
  node_gmail["Gmail"]
end

subgraph group_appointments["Appointment workflows"]
  node_appointment_slots["Appointment slots"]
  node_meeting_email["Meeting email response"]
  node_google_calendar["Google Calendar API"]
  node_ai_agent["AI agent"]
  node_deepseek["DeepSeek Chat"]
end

subgraph group_audio["Audio processing"]
  node_audio_transcription["Audio transcription"]
  node_whisper["Whisper AI"]
  node_google_drive["Google Drive"]
  node_audio_google_docs["Google Docs"]
end

subgraph group_monitoring["Daily monitoring"]
  node_daily_monitoring["Daily monitoring"]
  node_tavily_search["Tavily Search"]
  node_tavily_extract["Tavily Extract"]
  node_notion["Notion"]
  node_slack["Slack"]
end

node_user(("User"))

node_user -->|"submits form"| node_document_generation
node_document_generation -->|"uses form"| node_form_submission
node_document_generation -->|"uses template"| node_template_doc
node_document_generation -->|"uses"| node_google_drive_docs
node_user -->|"asks question"| node_rag_replies
node_rag_replies -->|"uses"| node_rag_qdrant
node_rag_replies -->|"uses"| node_google_docs
node_rag_replies -->|"uses"| node_gmail
node_user -->|"requests slots"| node_appointment_slots
node_appointment_slots -->|"uses"| node_google_calendar
node_user -->|"requests meeting"| node_meeting_email
node_meeting_email -->|"uses"| node_google_calendar
node_meeting_email -->|"uses"| node_ai_agent
node_meeting_email -->|"uses"| node_deepseek
node_user -->|"provides audio"| node_audio_transcription
node_audio_transcription -->|"uses"| node_whisper
node_audio_transcription -->|"stores in"| node_google_drive
node_audio_transcription -->|"stores in"| node_audio_google_docs
node_daily_monitoring -->|"uses"| node_tavily_search
node_daily_monitoring -->|"uses"| node_tavily_extract
node_daily_monitoring -->|"uses"| node_notion
node_daily_monitoring -->|"uses"| node_slack

click node_document_generation "https://github.com/kabcasa/agentia/blob/main/generation_doc_modifi%C3%A9.json"
click node_rag_replies "https://github.com/kabcasa/agentia/blob/main/RAG_solutionsIA_GSheet.json"
click node_appointment_slots "https://github.com/kabcasa/agentia/blob/main/Calender_free_time_slots.json"
click node_meeting_email "https://github.com/kabcasa/agentia/blob/main/User_request_for_meeting.json"
click node_audio_transcription "https://github.com/kabcasa/agentia/blob/main/Transcript_audio_Google_Drive_file.json"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_document_generation,node_form_submission,node_template_doc,node_google_drive_docs,node_user toneBlue
class node_rag_replies,node_rag_qdrant,node_google_docs,node_gmail toneAmber
class node_appointment_slots,node_meeting_email,node_google_calendar,node_ai_agent,node_deepseek toneMint
class node_audio_transcription,node_whisper,node_google_drive,node_audio_google_docs toneRose
class node_daily_monitoring,node_tavily_search,node_tavily_extract,node_notion,node_slack toneIndigo
```

## Components

### Document automation

- [Document generation](https://github.com/kabcasa/agentia/blob/main/generation_doc_modifi%C3%A9.json): `generation_doc_modifié.json`
- **n8n form**
- **Template Doc**
- **Google Drive**

### Information workflows

- [RAG replies](https://github.com/kabcasa/agentia/blob/main/RAG_solutionsIA_GSheet.json): `RAG_solutionsIA_GSheet.json`
- **RAG Qdrant**
- **Google Docs**
- **Gmail**

### Appointment workflows

- [Appointment slots](https://github.com/kabcasa/agentia/blob/main/Calender_free_time_slots.json): `Calender_free_time_slots.json`
- [Meeting email response](https://github.com/kabcasa/agentia/blob/main/User_request_for_meeting.json): `User_request_for_meeting.json`
- **Google Calendar API**
- **AI agent**
- **DeepSeek Chat**

### Audio processing

- [Audio transcription](https://github.com/kabcasa/agentia/blob/main/Transcript_audio_Google_Drive_file.json): `Transcript_audio_Google_Drive_file.json`
- **Whisper AI**
- **Google Drive**
- **Google Docs**

### Daily monitoring

- **Daily monitoring**
- **Tavily Search**
- **Tavily Extract**
- **Notion**
- **Slack**

### Other components

- **User**

## Connections

- User → Document generation: submits form (evidence: `README.md`)
- Document generation → n8n form: uses form (evidence: `README.md`)
- Document generation → Template Doc: uses template (evidence: `README.md`)
- Document generation → Google Drive: uses (evidence: `README.md`)
- User → RAG replies: asks question (evidence: `README.md`)
- RAG replies → RAG Qdrant: uses (evidence: `README.md`)
- RAG replies → Google Docs: uses (evidence: `README.md`)
- RAG replies → Gmail: uses (evidence: `README.md`)
- User → Appointment slots: requests slots (evidence: `README.md`)
- Appointment slots → Google Calendar API: uses (evidence: `README.md`)
- User → Meeting email response: requests meeting (evidence: `README.md`)
- Meeting email response → Google Calendar API: uses (evidence: `README.md`)
- Meeting email response → AI agent: uses (evidence: `README.md`)
- Meeting email response → DeepSeek Chat: uses (evidence: `README.md`)
- User → Audio transcription: provides audio (evidence: `README.md`)
- Audio transcription → Whisper AI: uses (evidence: `README.md`)
- Audio transcription → Google Drive: stores in (evidence: `README.md`)
- Audio transcription → Google Docs: stores in (evidence: `README.md`)
- Daily monitoring → Tavily Search: uses (evidence: `README.md`)
- Daily monitoring → Tavily Extract: uses (evidence: `README.md`)
- Daily monitoring → Notion: uses (evidence: `README.md`)
- Daily monitoring → Slack: uses (evidence: `README.md`)
