AI Agent Setup Guide · 30-Minute Deployment, Decision Tree, ROI Calculator

AI Agent Toolkit Guides · 30-Minute Setup, Decision Tree, Cost Estimator

📘 AI Agent Toolkit Guides

Everything you need to go from zero to deployed agent — in 30 minutes or less.
⏱️ 30-Minute Setup Guide
🔥 Start Here
📖 Type: Step-by-Step Tutorial 🎯 Goal: Deploy Email Triage Agent ⏱️ Time: 30 minutes

This guide walks you through deploying your first AI agent — the email triage agent — in 30 minutes. No prior experience required.

What You’ll Have After 30 Minutes

  • ✅ AI agent that scans your inbox every 5 minutes
  • ✅ Classifies emails by intent (complaint/inquiry/lead)
  • ✅ Flags urgent emails for immediate attention
  • ✅ Drafts polite replies for non-urgent messages
  • ✅ Syncs leads to your CRM (optional)

Before You Start

📋 Prerequisites (5 minutes):
– Gmail or Outlook account (free)
– n8n account (free — sign up here)
– OpenAI API key (or Gemini/Claude) — get free credits here

Step 1: Import the Workflow (5 minutes)

1.1

Download the email triage workflow from the Scripts page or copy it directly:

$ $ wget https://therightgpt.com/ai-agent-toolkit/scripts/01_email_triage_n8n.json
1.2

In n8n, go to Workflows → Import from File and select the downloaded file.

Step 2: Connect Your Email (5 minutes)

2.1

Double-click the Gmail Trigger node. Click Connect and authorize access to your Gmail account.

💡 Pro Tip: If using Outlook, replace with the Outlook node. The workflow structure remains identical.

Step 3: Add Your API Key (5 minutes)

3.1

Double-click the OpenAI Classify node. Click Connect and paste your API key.

3.2

Test the connection by clicking Test Node. You should see a JSON response with intent, sentiment, and draft reply.

Success! If you see a response, the AI is working.

Step 4: Configure Urgency Rules (5 minutes)

4.1

Double-click the Urgency Check node. This is where you define what counts as “urgent.”

Current rule: urgency > 3 (on a 1-5 scale)

To customize: Change the number to 4 for only highest urgency, or 2 to flag more emails as urgent.

Step 5: Set Up CRM Sync (Optional, 5 minutes)

5.1

If you use Salesforce, HubSpot, or Zendesk, double-click the Sync to CRM node.

Click Connect and authorize access to your CRM.

💡 No CRM? Delete this node or leave it disconnected. The workflow will still work.

Step 6: Activate (2 minutes)

6.1

Click Save in the top right.

Click Activate (toggle switch).

🎉 Congratulations! Your email triage agent is now running. It will check your inbox every 5 minutes.

Testing Your Agent

Send a test email to yourself with a question. Within 5 minutes, you’ll see:

  • A draft reply in your Gmail drafts folder
  • If marked urgent, you’ll receive a notification (if configured)
  • If lead, it appears in your CRM (if connected)
🔧 Troubleshooting:
– No response? Check the execution logs (click the execution ID)
– API errors? Verify your API key has credits
– Emails not triggering? Check Gmail trigger polling interval
🌳 Decision Tree: Which Script Should You Use?
⚡ Interactive
📖 Type: Interactive Flowchart 🎯 Goal: Choose the right agent for your problem ⏱️ Time: 2 minutes

Not sure which script to start with? Answer these questions to find your perfect match.

❓ Question 1: What problem are you trying to solve?
📧 “I’m drowning in emails”Script 1: Email Triage Agent
✍️ “I need to scale content creation”Script 2: Research & Write Crew
🔄 “My chatbot forgets everything”Script 3: Stateful LangGraph Agent
🛡️ “My AI hallucinates too much”Script 4: Production Guardrail Script
💻 “I want to automate my computer”Script 5: OpenClaw Local Controller
❓ Question 2: What’s your technical skill level?
🟢 No coding experienceScript 1 (n8n) or GOG Skill
🟡 Some PythonScript 2 (CrewAI)
🔴 Professional developerScript 3 (LangGraph) or Script 4 (Pydantic)
❓ Question 3: Where will this run?
🌐 Cloud (Gmail, Slack, etc.)Script 1 or GOG Skill
🔒 On my own server (privacy)Script 2 (CrewAI) or Whisper Skill
💻 Local terminal onlyScript 5 (OpenClaw)
❓ Question 4: What’s your budget?
💰 $0 (open source)Script 2 (CrewAI), Script 3 (LangGraph), or Whisper
💵 Small budget (API credits)Script 1 (n8n)
🏢 Enterprise budgetScript 4 (Pydantic) + paid skills
📊 Still unsure? Most users start with Script 1 (Email Triage) because it has the fastest time-to-value. Then they graduate to Script 2 (Content) or Script 3 (Stateful) as needs grow.
💰 Cost Estimator: Calculate Your Agentic ROI
📊 Spreadsheet
📖 Type: Excel/Google Sheets Calculator 🎯 Goal: Compare AI agent costs vs. human labor ⏱️ Time: 5 minutes

One of the most searched queries in 2026: “Agentic ROI vs offshore BPO”. This spreadsheet helps you calculate exactly how much an AI agent saves your organization.

What’s Inside the Cost Estimator

Section What It Calculates
📧 Email Triage Agent Cost per email processed vs. human assistant
✍️ Content Agent Cost per article vs. freelance writer
🔧 Developer Agent Cost per task vs. junior developer
🎯 ROI Summary Monthly savings, payback period, 12-month projection

Quick ROI Example (Based on 2026 Data)

📧 Email Triage Agent
├── API Cost: $0.002 per email
├── 500 emails/day → $3/day → $90/month
├── Human equivalent: 2 hours/day @ $25/hr = $1,250/month
└── Monthly Savings: $1,160 (92% reduction)

✍️ Content Agent (CrewAI)
├── API Cost: $0.50 per article (research + writing)
├── 30 articles/month → $15/month
├── Human equivalent: 4 hours/article @ $50/hr = $6,000/month
└── Monthly Savings: $5,985 (99.7% reduction)
⚠️ Important: These are rough estimates. Actual savings depend on your volume, API provider, and human labor costs. Download the spreadsheet for your specific numbers.

How to Use the Spreadsheet

1

Download the Excel file or make a copy of the Google Sheets version.

2

Enter your monthly email/article/task volume.

3

Enter your API provider’s pricing (OpenAI, Anthropic, etc.).

4

Enter your human labor cost per hour (or offshore BPO rate).

5

The spreadsheet automatically calculates your ROI and payback period.

Pro Tip: Share this spreadsheet at the end of page with your manager or CFO. The ROI numbers are the fastest way to get budget approval for AI agent deployment.
📊 Quick Start Comparison
Reference
📖 Type: Cheat Sheet 🎯 Goal: At-a-glance script selection
Script Best For Time to Value Technical Level Cost (Monthly)
Email Triage Inbox management, lead capture 30 min Beginner $5-50 (API)
Research & Write Content marketing, SEO 45 min Intermediate $10-100
Stateful LangGraph Customer support, project management 60 min Advanced $20-200
Guardrail Script Production safety, compliance 20 min Advanced $0 (adds to existing)
OpenClaw Local Desktop automation, file management 15 min Intermediate $0 (self-hosted)
💡 Pro Tip: Start with Email Triage. It’s the most searched, fastest to deploy, and saves the most time immediately.
← Browse Scripts Browse Skills → Back to Toolkit Home

Guides based on 2026 search trends: “30-minute AI agent setup” (25k monthly searches), “AI agent ROI calculator” (15k), “CrewAI vs LangGraph decision tree” (8k).

All guides are free. No signup required. Updated March 2026.

💰 AI Agent ROI Calculator

Enter your numbers:

Monthly savings: $0

← Browse Scripts Browse Skills → Back to Toolkit Home