AI
AI-powered insights, an interactive chat assistant, and content generation tools — all tailored to your business data. The AI features use OpenAI GPT-4 to analyze your dashboard metrics, generate content, and provide actionable recommendations.
AI Insights
The Insights tab shows automated analysis across all your dashboard data:
| Insight Type | Description |
|---|---|
| Summary | Weekly performance highlights across leads, SEO, ads, analytics, and social |
| Anomaly | Alerts when metrics deviate from normal patterns (e.g. sudden traffic drops, unusual ad spend spikes) |
| Recommendation | Actionable suggestions to improve performance based on your data trends |
Each insight card shows:
- Type badge — Summary (blue), Anomaly (orange), or Recommendation (green)
- Category — Which section it relates to (SEO, Ads, Leads, CRM, Analytics, Social)
- Title — Clear, actionable headline
- Description — Detailed analysis with specific data points
- Timestamp — When the insight was generated
Managing Insights
- Pin — Keep important insights at the top of the list
- Dismiss — Remove irrelevant insights from view
- Filter — Filter by type (summary, anomaly, recommendation) or category (SEO, ads, leads, etc.)
AI Chat
An interactive AI assistant that understands your business context:
- Ask questions about your data — "How many leads did we get this week?", "What's our best performing ad campaign?"
- Get strategic advice — Marketing strategy, SEO recommendations, ad optimization
- Brainstorm content — Blog ideas, social media captions, email subject lines
- Multiple threads — Manage separate conversation threads for different topics
The chat assistant has access to your dashboard context — it can reference your actual lead counts, SEO rankings, ad spend, and other metrics when answering questions.
Chat Features
- Conversation history — Previous messages are preserved per thread
- Context awareness — The AI knows your business name, industry, and current metrics
- Code-free — No technical knowledge required, just ask in plain language
- Copy responses — One-click copy for any AI-generated text
Content Generator
Generate marketing content with AI across multiple formats:
| Content Type | Output | Use Case |
|---|---|---|
| Blog post | SEO-optimized article (500–1500 words) | Website content, thought leadership |
| Social media post | Platform-ready caption with hashtags | Facebook, Instagram, LinkedIn |
| Email copy | Newsletter or outreach draft | Email marketing, client communication |
| Ad copy | Headlines + descriptions | Google Ads, Facebook Ads |
| Landing page copy | Conversion-focused sections | Product/service landing pages |
How to Generate Content
- Select a content type from the dropdown
- Enter a keyword or topic — the primary subject for the content
- Choose a tone — Professional, casual, persuasive, informative, etc.
- Optionally set target audience and word count
- Click Generate — the AI produces a draft in seconds
- Edit the draft inline, copy to clipboard, or download as text
The content generator uses your business context and SEO keyword data to produce relevant, targeted content.
How It Works
AI features are powered by the OpenAI API (GPT-4):
- Insights are generated by a scheduled Cloudflare Worker that aggregates dashboard metrics and sends them to GPT-4 for analysis
- Chat uses the OpenAI Chat Completions API with system prompts that include your business context
- Content generation uses specialized prompts tailored to each content type
All AI interactions are logged and stored in the ai schema in Supabase with client_id for multi-tenant isolation.
