What You'll Build
A communication workflow assistant that uses Continue CLI with Klavis AI’s Strata MCP to manage and automate multi-platform workflows including Slack and Gmail—all through simple natural language prompts.
Prerequisites
Before starting, ensure you have:- Continue CLI with active credits (required for API usage)
- A Klavis AI account with access to your Strata URL
- OAuth authentication completed in Klavis dashboard for Slack and Gmail (see Klavis integrations guide)
1
Install Continue CLI
2
Get Klavis AI's Strata URL
- Visit klavis.ai and create an account
- Navigate to your dashboard and generate Strata URL
- Copy the Strata URL for configuration
Klavis AI Strata MCP Setup
- Manual Setup
- CLI Setup
1
Create an Agent on Continue Hub
Go to the Continue Hub and create a new agent.
2
Add Klavis AI Strata MCP
Add the following YAML configuration to your agent:Notes:
config.yaml
- Keep your Klavis Strata URL secret and secure
- Ensure your Klavis account has Slack and Gmail integrations activated
- Complete OAuth flows for both Slack and Gmail in the Klavis dashboard
3
Test the Connection
Launch Continue and ask:
Pro tip: Learn how to integrate and use Klavis Strata with Continue through CLI and IDE.
Agent Requirements
Agent Requirements
To use Klavis AI Strata MCP with Continue CLI, you need either:
- Continue CLI Pro Plan with the models add-on, OR
- Your own API keys added to Continue Hub secrets
Slack Workflows
Use natural language to send messages, manage channels, and coordinate team communications through Slack.Where to run these workflows:
- IDE Extensions: Use Continue in VS Code, JetBrains, or other supported IDEs
- Terminal (TUI mode): Run
cnto enter interactive mode, then type your prompts - CLI (headless mode): Use
cn -p "your prompt" --autofor automation
cn -p "prompt" --autoMessage Management
Send Channel Message
Post messages to Slack channels.Prompt:
Send Direct Message
Message team members directly.Prompt:
Thread Reply
Respond to existing Slack threads.Prompt:
Channel and Workspace Management
List Channels
Discover available channels.Prompt:
Create Channel
Set up new communication channels.Prompt:
Archive Old Channels
Clean up inactive channels.Prompt:
Gmail Workflows
Manage email communications, automate responses, and coordinate notifications through Gmail.Email Management
Send Email
Compose and send emails with a single prompt.Prompt:
Read Recent Emails
Check and summarize recent messages.Prompt:
Search Email Thread
Find specific conversations.Prompt:
Advanced Email Operations
Send with Attachments
Attach files to outgoing emails.Prompt:
Cross-Platform Workflows
Combine Slack and Gmail for powerful multi-channel communication automation.Notification Coordination
Slack + Gmail Announcements
Send coordinated messages across platforms.Prompt:
Issue Escalation
Coordinate urgent communications.Prompt:
Meeting and Event Coordination
Meeting Invitation
Coordinate meeting schedules across platforms.Prompt:
Status Updates
Share progress updates across channels.Prompt:
Customer Communication
Support Ticket Response
Coordinate customer support across channels.Prompt:
Multi-Tool Integration Workflows
Leverage Klavis AI Strata’s integrations for comprehensive automation workflows.Klavis AI Strata supports integrations with Notion, Linear, GitHub, Asana, Salesforce, HubSpot, and more. Combine these with Slack and Gmail to create powerful cross-platform workflows.
Development Workflows
PR Review Notifications
Automate code review coordination.Prompt:
Deployment Notifications
Coordinate deployment communications.Prompt:
Project Management Integration
Task Sync Workflow
Synchronize tasks across platforms.Prompt:
Sprint Report Generation
Automate sprint reporting.Prompt:
Automation Examples
Ready-to-Use Workflows
These examples have been designed for common use cases. Customize them to fit your team’s needs.
Daily Standup Automation
On-Call Alert System
Customer Onboarding
Weekly Team Digest
Troubleshooting
Authentication Issues
Authentication Issues
- Klavis Strata URL not recognized: Verify the Strata URL is active and correctly set in environment variables or Hub secrets
- Slack OAuth failed: Re-authenticate through the Klavis AI dashboard and ensure workspace permissions are granted
- Gmail OAuth failed: Check Google Cloud Console for API access and ensure the Gmail API is enabled
- Token expired: Klavis AI manages token refresh automatically, but you may need to re-authorize if it fails
Message Delivery Issues
Message Delivery Issues
- Slack message not sent: Verify the bot has permission to post in the target channel
- Gmail rate limiting: Google imposes sending limits—monitor your quota
- Channel not found: Check channel name spelling and ensure it’s public or the bot has been invited
- User not found: Verify Slack username format (@username) and that the user exists in the workspace
Workflow Execution Issues
Workflow Execution Issues
- Multi-step workflow incomplete: Check each step individually to identify where the failure occurred
- Rate limits hit: Klavis manages rate limiting, but external APIs (Slack, Gmail) have their own limits
- Permission denied errors: Ensure your authenticated user has the necessary permissions for the requested operation
- Integration not available: Verify the integration is active in your Klavis dashboard at klavis.ai/integrations
What You’ve Built
After completing this guide, you have a complete AI-powered communication automation system that:- ✅ Uses natural language — Simple prompts instead of complex commands
- ✅ Automates Slack: Send messages, manage channels, and team coordination
- ✅ Manages Gmail: Read, send, and triage emails with intelligent automation
- ✅ Cross-platform coordination: Unified workflows across Slack, Gmail, and other tools
- ✅ Scales reliably: Handles complex multi-app workflows efficiently
Continuous AI
Your communication workflows now operate at Level 2 Continuous
AI -
AI handles routine communications and coordinates multi-platform workflows
with optional human oversight and approval.
Klavis Strata MCP Capabilities
Scalable Tool Integration
Handle thousands of tools with no context overload.
Progressive Discovery
Strata guides AI agents to discover relevant categories first, avoiding tool overload.
Smart Navigation
AI drills down layer by layer to find the exact tool needed for the task.
Precise Execution
Once identified, Strata pulls API details and executes with correct parameters.
Next Steps
- Explore integrations — Try Slack and Gmail prompts on your workspace
- Add more tools — Integrate Notion, Linear, GitHub, or other services
- Automate notifications — Set up cross-platform announcement workflows
- Monitor performance — Track automation accuracy and time savings
- Scale up — Add scheduled workflows and event-driven automation