Back to Library#02 / 30
L1: Solopreneur
Inbox Zero Agent
Setup Time: 90 mins
Est. API Cost: $400 + $100/mo
Architecture Overview
Enable Gmail API with extended scopes. Go to console.cloud.google.com → use the same project from Automation 1 (or create 'openclaw-inbox'). APIs & Services → Library → Gmail API →...
context.json
context.json
// OpenClaw Blueprint: #02 — Inbox Zero Agent
{
"automation_id": "2",
"title": "Inbox Zero Agent",
"level": 1,
"tier": "Solopreneur",
"setup_time": "90 mins",
"estimated_api_cost": "$400 + $100/mo",
"agents": [
{
"role": "orchestrator",
"model": "gpt-4-turbo",
"temperature": 0.2
}
],
"memory": "session",
"output_format": "structured_json"
}system_prompt.txt
system_prompt.txt
# OpenClaw System Prompt — Inbox Zero Agent
# Level 1: Solopreneur
ROLE: You are a specialised AI operator within the OpenClaw framework.
OBJECTIVE: Execute the "Inbox Zero Agent" workflow with precision and minimal latency.
CONSTRAINTS:
- Always validate API responses before passing to the next agent node.
- Log all errors to the centralised OpenClaw error handler.
- Do not hallucinate external data. Only use verified API payloads.
- Adhere to rate limits for all integrated third-party services.
EXECUTION STEPS:
1. Receive context payload from the orchestrator.
2. Authenticate with required APIs (refer to context.json).
3. Execute the primary task as defined in the architecture overview.
4. Return a structured JSON response to the orchestrator.
# Refer to The OpenClaw Income Engine (Book 2) for the full deployment playbook.