Generate Gmail reply drafts with GPT-4o, pgvector, and PostgreSQL
Parse & Validate
IF Valid
OpenAI Chat Model
openai
Simple Memory
noOp
AI Agent - Classify
openai
Merge
Parse Classification
Generate Email Embedding
Extract Embedding
DB - Fetch KB Data
postgres
DB - Fetch Similar Corrections
postgres
DB - Fetch Similar Scenarios
postgres
DB - Fetch Customer Transactions
postgres
Resolve Scenario
Assemble Draft Prompt
Generate Draft
openai
Extract Draft Text
Create Gmail Draft
gmail
DB - Save AI Draft
postgres
DB - Log Success
postgres
DB - Log Skipped
postgres
Gmail Trigger
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.