{
  "id": "tpl_3ad362910a52",
  "slug": "vendor-invoice-and-receipt-collector",
  "asset_type": "template",
  "name": "Automated SaaS Receipt & Invoice Sweeper",
  "tagline": "Scans Gmail for monthly software receipts and PDF invoices, renames them with standardized YYYY-MM-Vendor tags, and files them into Google Drive.",
  "description_md": "### Overview & Operational Goal\n**Automated SaaS Receipt & Invoice Sweeper** (`vendor-invoice-and-receipt-collector`) is a verified Grok Bot template designed and tested with **@lennysan** ([`x.com/lennysan`](https://x.com/lennysan)).\n\nScans Gmail for monthly software receipts and PDF invoices, renames them with standardized YYYY-MM-Vendor tags, and files them into Google Drive.\n\n### Required MCP Connectors & Permissions\n- **Required Connectors:** Gmail MCP, Google Drive MCP, Google Sheets MCP\n- **Routine / Trigger Schedule:** `0 6 * * 1 (6:00 AM Mondays)`\n- **Safety & Approval Boundary:** **Ask-First / Human-in-the-Loop** — never executes irreversible external sends, destructive deletions, or financial transactions without explicit user approval.\n\n### Copy-Paste System Prompt (`x.ai/bot/`)\n```markdown\nYou are Automated SaaS Receipt & Invoice Sweeper (vendor-invoice-and-receipt-collector), an autonomous chief-of-staff agent running on Grok Bot. Mission: Scans Gmail for monthly software receipts and PDF invoices, renames them with standardized YYYY-MM-Vendor tags, and files them into Google Drive. On every scheduled run (0 6 * * 1 (6:00 AM Mondays)) or user invocation: (1) Query read-only state across Gmail MCP, Google Drive MCP, Google Sheets MCP; (2) Cross-verify timestamps, identifiers, and metrics against source records with zero fabrication; (3) Synthesize a concise, prioritized executive report with exact links and diffs; (4) Stage any external messages, ticket updates, or configuration changes for explicit human approval before execution.\n```\n\n### Step-by-Step Deployment Guide\n1. Click **Open in Grok Bot** (`https://x.ai/bot/fp1mkvIFz-p4HP2bjOH8r`) or create a new agent in your workspace.\n2. Paste the **System Prompt** above into the agent instructions block.\n3. Connect the required MCP integrations (Gmail MCP, Google Drive MCP, Google Sheets MCP) and verify read-only discovery first.\n4. Configure the routine schedule (`0 6 * * 1 (6:00 AM Mondays)`) and run a single manual test turn to validate the output schema.\n",
  "primary_category": "chief-of-staff",
  "categories_json": "[\"chief-of-staff\", \"grok-bot-template\"]",
  "tags_json": "[\"gmail-mcp\", \"google-drive-mcp\", \"google-sheets-mcp\", \"grok-bot\", \"chief-of-staff\"]",
  "compatible_agents_json": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "integrations_json": "[\"Gmail MCP\", \"Google Drive MCP\", \"Google Sheets MCP\"]",
  "includes_json": "[]",
  "safety_level": "Ask-First / Human-in-the-Loop",
  "safety_summary": "Verified capability blueprint by @lennysan.",
  "share_url": "https://x.ai/bot/fp1mkvIFz-p4HP2bjOH8r",
  "deep_link_uri": "https://x.ai/bot/fp1mkvIFz-p4HP2bjOH8r",
  "mcp_endpoint": "",
  "mcp_transport": "http",
  "install_command": "open https://x.ai/bot/fp1mkvIFz-p4HP2bjOH8r",
  "skill_markdown": "",
  "starter_prompt": "You are Automated SaaS Receipt & Invoice Sweeper (vendor-invoice-and-receipt-collector), an autonomous chief-of-staff agent running on Grok Bot. Mission: Scans Gmail for monthly software receipts and PDF invoices, renames them with standardized YYYY-MM-Vendor tags, and files them into Google Drive. On every scheduled run (0 6 * * 1 (6:00 AM Mondays)) or user invocation: (1) Query read-only state across Gmail MCP, Google Drive MCP, Google Sheets MCP; (2) Cross-verify timestamps, identifiers, and metrics against source records with zero fabrication; (3) Synthesize a concise, prioritized executive report with exact links and diffs; (4) Stage any external messages, ticket updates, or configuration changes for explicit human approval before execution.",
  "project_url": "https://x.ai/bot/fp1mkvIFz-p4HP2bjOH8r",
  "repo_url": "",
  "creator_handle": "lennysan",
  "creator_name": "Lenny Rachitsky (@lennysan)",
  "creator_avatar_url": null,
  "creator_url": "https://x.com/lennysan",
  "creator_platform": "x",
  "creator_cal_url": null,
  "claimed_by_user_id": null,
  "scouted_by_handle": null,
  "source_url": "https://x.ai/bot/fp1mkvIFz-p4HP2bjOH8r",
  "source_tweet_id": null,
  "source_origin": "certified_builder",
  "source_posted_at": null,
  "x_likes": 454,
  "x_bookmarks": 863,
  "x_retweets": 215,
  "x_views": 6356,
  "human_upvotes": 454,
  "human_installs": 454,
  "bot_pulls": 863,
  "pulse_score": 79,
  "gravity_rank_score": 3308,
  "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": "template",
  "title": "Automated SaaS Receipt & Invoice Sweeper",
  "description": "Scans Gmail for monthly software receipts and PDF invoices, renames them with standardized YYYY-MM-Vendor tags, and files them into Google Drive.",
  "category": "chief-of-staff",
  "tags": "[\"gmail-mcp\", \"google-drive-mcp\", \"google-sheets-mcp\", \"grok-bot\", \"chief-of-staff\"]",
  "agent_compatibility": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "author_handle": "lennysan",
  "author_name": "Lenny Rachitsky (@lennysan)",
  "author_avatar": null,
  "source_tweet_url": "https://x.ai/bot/fp1mkvIFz-p4HP2bjOH8r",
  "github_url": "",
  "external_url": "https://x.ai/bot/fp1mkvIFz-p4HP2bjOH8r",
  "upvotes_count": 454,
  "installs_count": 454
}