跳到正文
TakoAPI
返回技能列表

invoice-collector

由 mintannn 提供

Browser & Automation
441下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Collect invoices/receipts from Gmail and send a summary email with attachments.

描述

该技能的功能

Searches Gmail for invoice and receipt emails within a specified date range, downloads any PDF attachments, and takes Puppeteer screenshots of emails that contain no PDF. Sends a summary email to a destination address with all collected files attached.

Handles both PDF-attachment invoices and HTML-only receipt emails in a single workflow, so no manual downloading or forwarding is needed regardless of how the sender formats their billing email.

何时使用

  • Collecting last month's invoices for bookkeeping
  • Forwarding Stripe, AWS, and SaaS receipts to a finance address
  • Automating monthly invoice gathering via a cron job
  • Capturing HTML-only receipt emails as screenshots
  • Searching Gmail by sender to pull vendor-specific billing history

示例工作流

输入

User asks: Collect all invoices from last month and send them to keiri@company.com

智能体
  1. 1

    Search Gmail using invoice/receipt keywords scoped to last month's date range

  2. 2

    Iterate over results and check each email for PDF attachments

  3. 3

    Download PDF attachments directly via gogcli for emails that have them

  4. 4

    Extract HTML body and render a full-page Puppeteer screenshot for emails without PDFs

  5. 5

    Send a summary email to keiri@company.com with all PDFs and screenshots attached

输出

Summary email delivered with all invoice PDFs and receipt screenshots as attachments

前置要求

  • GOG_ACCOUNT environment variable (Gmail account email, e.g. user@gmail.com)
  • GOG_KEYRING_PASSWORD environment variable (password for gogcli keyring storage)
  • Google Cloud Console project with Gmail API enabled
  • OAuth 2.0 credentials JSON file (Desktop app type) from Google Cloud Console

安装

clawhub install mintannn/invoice-collector

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接