Data & databases · One purpose, multiple implementations
Gmail to Vector Embeddings with PGVector and Ollama
Adapt the published “Gmail to Vector Embeddings with PGVector and Ollama” workflow to other implementations while preserving its documented behavior.
The source contains 16 executable nodes and 17 connections. This draft is derived from the n8n export; it needs a human-reviewed purpose, input/output contract, and behavioral tests before a port can claim equivalence.
Open agent files on GitHub ↗Shared workflow
This initial Mermaid diagram shows observed connections from the n8n source, including model and tool dependencies. Unresolved connections are listed under Evidence. It is a starting point for the shared design; it does not execute the agent or establish correctness.
Rendering the workflow diagram…
Read the Mermaid source
flowchart LR n0["Embeddings Ollama"] n1["Default Data Loader"] n2["Recursive Character Text Splitter"] n3["Gmail Trigger"] n4["Loop Over Items"] n5["Split Out"] n6["Was manually triggered#63;"] n7["Manual Trigger"] n8["No Operation, do nothing"] n9["Set before and after dates"] n10["Extract email fields"] n11["Store structured"] n12["Store vectorized"] n13["Create the table"] n14["Explode interval into weeks"] n15["Get a batch of messages"] n5 -->|"main out 0 to in 0"| n4 n3 -->|"main out 0 to in 0"| n10 n7 -->|"main out 0 to in 0"| n13 n4 -->|"main out 1 to in 0"| n9 n13 -->|"main out 0 to in 0"| n14 n11 -->|"main out 0 to in 0"| n12 n11 -->|"main out 1 to in 0"| n4 n12 -->|"main out 0 to in 0"| n6 n0 -->|"ai_embedding out 0 to in 0"| n12 n1 -->|"ai_document out 0 to in 0"| n12 n10 -->|"main out 0 to in 0"| n11 n15 -->|"main out 0 to in 0"| n10 n6 -->|"main out 0 to in 0"| n8 n6 -->|"main out 1 to in 0"| n4 n9 -->|"main out 0 to in 0"| n15 n14 -->|"main out 0 to in 0"| n5 n2 -->|"ai_textSplitter out 0 to in 0"| n1
Implementations
Each implementation shares the agent’s purpose. Available source, planned ports, and verified results are labeled separately.
n8n
Source available · not runtime-tested
Read setup and source ↗Inspect the n8n canvas and download JSON →Build or operate with an assistant
Each prompt includes separate build and operating instructions tailored to this agent. They are untested instructions, not working implementations. Check the chosen product’s actual capabilities before using it.
Evidence and remaining work
The bulk collection has publication checks, not live-service testing. Diagrams and prompts are documentation. A port needs reviewed schemas, fixtures, actual execution results, and explicit limits before claiming equivalent behavior.
- Define input/output schemas and expected outputs.
- Review source expressions, external actions, and failure behavior.
- Determine whether model judgment is required or deterministic rules suffice.
Curated by Nik Bear Brown. Preserve each implementation’s original attribution and license. These source templates are separate from the audited Claude directory.