System Integrations
How the system connects
The prototype combines customer data, workflow automation, AI reasoning and a web interface into one customer-health analysis flow.
Services
Seven building blocks, one flow
Each card states the service's role and its current status in the prototype.
Analysis path
Next.js
Web application
Provides the customer-facing interface and the /api/analyze proxy route.
Status: Deployed
n8n
Workflow orchestration
Receives analysis requests, retrieves customer data, calculates deterministic risk signals and coordinates the AI agents.
Status: Core workflow
Google Sheets
Customer data source
Stores the customer information used by the health analysis workflow.
Status: Connected
Google Gemini
AI reasoning
Powers the specialized agents that classify risk, extract signals and recommend follow-up actions.
Status: Connected
Hosting & operations
Slack
Operational notification
Used by the broader workflow to notify the team about customer-risk actions.
Status: Being reintegrated into the Web App flow
Vercel
Frontend hosting
Hosts the public Next.js web application.
Status: Deployed
Docker
Local development environment
Runs the local n8n development environment.
Status: Development
Integration flow
From a click to a recommendation
The response path the web app uses, with the Slack branch shown separately.
- Start
User
Picks a customer in the analyzer
Next.js on Vercel
BrowserNext.js Web App
Sends the selected customer ID
Proxy/api/analyze
Server-side proxy route
n8n workflow
Triggern8n Webhook
Receives the analysis request
DataGoogle Sheets
Customer record lookup
RulesRisk Calculations
Deterministic business rules
AIGemini Agents
Classifier, Signal Extractor, Action Reasoner
ResponseAPI Response
Structured JSON result
- Result
Web App
Displays the analysis result
AI Agents
Gemini agents and what they own
Agents work on top of the deterministic risk calculations computed earlier in the n8n workflow.
Risk Classifier Agent
Assigns risk level, category and confidence.
Risk Signal Extractor Agent
Extracts factual risk signals from the customer data.
Action Reasoner Agent
Recommends the operational follow-up.
Slack Composer Agent
Formats an already-made decision for Slack.
Broader workflow · being reintegrated into the Web App flow
Transparency
Prototype boundaries
What the prototype offers today, and what is still being built.
Available9
- Public Next.js interface
- Customer portfolio
- Customer detail pages
- Analyzer interface
- Deterministic risk logic
- Gemini multi-agent reasoning
- Google Sheets customer retrieval
- API proxy
- Vercel deployment
In Progress5
- Public production n8n endpoint
- Complete end-to-end public analysis
- Task creation / dedup reintegration
- Slack reintegration
- Production hardening
See the integrations at work
Follow the guided demo to run an analysis through the analyzer.