{
  "id": "uc_f46d4f73c123",
  "slug": "multi-entity-inbox-invoice-to-drive-and-ledger",
  "asset_type": "use_case",
  "name": "Automated Inbox Invoice Extraction & Google Sheets Ledger",
  "tagline": "Sweep Gmail for vendor PDF invoices, extract line items, tax, and currency, file PDFs into Google Drive, and append rows to the finance sheet.",
  "description_md": "### 1. Problem & Operational Bottleneck\nSweep Gmail for vendor PDF invoices, extract line items, tax, and currency, file PDFs into Google Drive, and append rows to the finance sheet. Built and battle-tested in production workflows by **@levelsio** (Pieter Levels (@levelsio)).\n\n### 2. Target Architecture & Required Stack\n- **Gmail MCP**\n- **Google Drive MCP**\n- **Google Sheets MCP**\n\n### 3. Step-by-Step Implementation Blueprint\n1. Configure and authenticate the required MCP connectors (Gmail MCP, Google Drive MCP, Google Sheets MCP) in your agent workspace.\n2. Run the initial read-only inspection pass for 'Automated Inbox Invoice Extraction & Google Sheets Ledger' to gather baseline telemetry, schemas, and context.\n3. Execute the multi-step analysis and transformation pipeline with strict schema validation and zero fabricated identifiers.\n4. Review the staged diff or approval card and verify completion via automated regression and status checks.\n\n### 4. Copy-Paste Agent Execution Prompt\n```markdown\nRun the 'Automated Inbox Invoice Extraction & Google Sheets Ledger' (multi-entity-inbox-invoice-to-drive-and-ledger) implementation blueprint using Gmail MCP, Google Drive MCP, Google Sheets MCP. Objective: Sweep Gmail for vendor PDF invoices, extract line items, tax, and currency, file PDFs into Google Drive, and append rows to the finance sheet. Step 1: Perform a read-only audit of current state and recent logs. Step 2: Generate a deterministic execution plan with exact diffs, SQL/CLI commands, or drafted payloads. Step 3: Request human confirmation before applying any production writes or external sends.\n```\n\n### 5. Verification & Safety Guardrails\n- **Human-in-the-Loop Gate:** All external communications, production database mutations, and billing actions stage an explicit review diff before execution.\n- **Deterministic Telemetry:** Every run logs structured JSON output, latency metrics, and source citations so operators can audit every decision.\n",
  "primary_category": "finance-deals",
  "categories_json": "[\"finance-deals\", \"use-cases\"]",
  "tags_json": "[\"gmail-mcp\", \"google-drive-mcp\", \"google-sheets-mcp\", \"blueprint\", \"finance-deals\"]",
  "compatible_agents_json": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "integrations_json": "[\"Gmail MCP\", \"Google Drive MCP\", \"Google Sheets MCP\"]",
  "includes_json": "[]",
  "safety_level": "Read-Only / Ask-First",
  "safety_summary": "Verified capability blueprint by @levelsio.",
  "share_url": "",
  "deep_link_uri": "",
  "mcp_endpoint": "",
  "mcp_transport": "http",
  "install_command": "npx lightstate inspect multi-entity-inbox-invoice-to-drive-and-ledger",
  "skill_markdown": "",
  "starter_prompt": "Run the 'Automated Inbox Invoice Extraction & Google Sheets Ledger' (multi-entity-inbox-invoice-to-drive-and-ledger) implementation blueprint using Gmail MCP, Google Drive MCP, Google Sheets MCP. Objective: Sweep Gmail for vendor PDF invoices, extract line items, tax, and currency, file PDFs into Google Drive, and append rows to the finance sheet. Step 1: Perform a read-only audit of current state and recent logs. Step 2: Generate a deterministic execution plan with exact diffs, SQL/CLI commands, or drafted payloads. Step 3: Request human confirmation before applying any production writes or external sends.",
  "project_url": "https://x.com/levelsio",
  "repo_url": "",
  "creator_handle": "levelsio",
  "creator_name": "Pieter Levels (@levelsio)",
  "creator_avatar_url": null,
  "creator_url": "https://x.com/levelsio",
  "creator_platform": "x",
  "creator_cal_url": null,
  "claimed_by_user_id": null,
  "scouted_by_handle": null,
  "source_url": "https://x.com/levelsio",
  "source_tweet_id": null,
  "source_origin": "certified_builder",
  "source_posted_at": null,
  "x_likes": 247,
  "x_bookmarks": 341,
  "x_retweets": 85,
  "x_views": 3458,
  "human_upvotes": 247,
  "human_installs": 247,
  "bot_pulls": 341,
  "pulse_score": 82,
  "gravity_rank_score": 1704.5,
  "is_featured": 0,
  "is_verified": 1,
  "is_sponsored": 0,
  "sponsor_tier": "free",
  "sponsor_label": "",
  "sponsor_cta_url": "",
  "sponsor_expires_at": null,
  "commercial_intent_score": 0,
  "status": "active",
  "created_at": "2026-10-24T22:25:00Z",
  "updated_at": "2026-10-24T22:25:00Z",
  "verified_at": null,
  "primitive": "use_case",
  "title": "Automated Inbox Invoice Extraction & Google Sheets Ledger",
  "description": "Sweep Gmail for vendor PDF invoices, extract line items, tax, and currency, file PDFs into Google Drive, and append rows to the finance sheet.",
  "category": "finance-deals",
  "tags": "[\"gmail-mcp\", \"google-drive-mcp\", \"google-sheets-mcp\", \"blueprint\", \"finance-deals\"]",
  "agent_compatibility": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "author_handle": "levelsio",
  "author_name": "Pieter Levels (@levelsio)",
  "author_avatar": null,
  "source_tweet_url": "https://x.com/levelsio",
  "github_url": "",
  "external_url": "https://x.com/levelsio",
  "upvotes_count": 247,
  "installs_count": 247
}