← 返回 Skills 市场
sawera557

Flashrev Mailer Notion Tracker

作者 Sawera Khadium · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ pending
45
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install flashrev-mailer-notion-tracker
功能描述
Use this skill whenever emails are sent or dry-run previewed via the flashrev-mailer CLI and you need to log, track, or audit those emails in Notion. Trigger...
使用说明 (SKILL.md)

\r \r

FlashRev Notion Email Tracker\r

\r Pushes every flashrev-mailer send attempt into your Notion database using the Notion API directly. Reads NOTION_TOKEN and NOTION_DATABASE_ID from OpenClaw config — no MCP, no extra setup beyond those two values.\r \r ---\r \r

One-time setup\r

\r The user must add two values in OpenClaw settings before the skill works:\r \r NOTION_TOKEN\r Notion → Settings → Connections → Develop or manage integrations → New integration → copy the Internal Integration Secret.\r \r NOTION_DATABASE_ID\r Open your target Notion database → Share → Copy link → grab the 32-char ID from the URL:\r notion.so/workspace/abc123...?v=...\r \r Then share the database with the integration: open the database → ... menu → Add connections → select your integration.\r \r ---\r \r

Running the tracker\r

\r

Step 1 — Install dependencies (first use only)\r

cd scripts && npm install && cd ..\r
```\r
\r
### Step 2 — Push after every send batch\r
After each `flashrev-mailer send` or `--dry-run` completes, run:\r
```bash\r
node scripts/notion-push.js --campaign CAMPAIGN_ID\r
```\r
Use the exact `--campaign` slug from `flashrev-mailer` (e.g. `launch-001`).\r
\r
### Step 3 — Read the output and report to user\r
```\r
🔗 Connected to Notion database: FlashRev Tracker\r
📂 Loaded 48 entries (campaign: launch-001)\r
🔍 Deduplication: 2 already exist, 46 new\r
✓ Batch 1 / 5 — 10 written\r
...\r
✅ Done. 46 written · 2 skipped (dup) · 0 errors\r
🔗 https://notion.so/abc123...\r
```\r
\r
### Query without writing\r
```bash\r
node scripts/notion-push.js --campaign CAMPAIGN_ID --query-only\r
```\r
\r
---\r
\r
## Integration sequence with flashrev-mailer\r
\r
```\r
1. flashrev-mailer  →  send --campaign X --limit 10 --dry-run --yes\r
2. this skill       →  node scripts/notion-push.js --campaign X\r
3. user approves live send\r
4. flashrev-mailer  →  send --campaign X --limit 10 --live --yes\r
5. this skill       →  node scripts/notion-push.js --campaign X\r
6. repeat 4-5 for each approved batch\r
```\r
\r
---\r
\r
## Error messages\r
\r
| Script output                        | Tell the user                                                        |\r
|--------------------------------------|----------------------------------------------------------------------|\r
| `NOTION_TOKEN is not set`            | Add NOTION_TOKEN in OpenClaw settings                                |\r
| `NOTION_DATABASE_ID is not set`      | Add NOTION_DATABASE_ID in OpenClaw settings                          |\r
| `Could not find send-log`            | flashrev-mailer send has not completed yet — check the CLI output    |\r
| `API token is invalid`               | NOTION_TOKEN is wrong or expired — regenerate it in Notion           |\r
| `Could not find database`            | NOTION_DATABASE_ID is wrong, or integration not shared with database |\r
| `Property does not exist`            | Database is missing a column — add it manually in Notion             |\r
\r
---\r
\r
## What gets logged (11 fields per email)\r
\r
Name · Recipient Email · Subject Line · Body Preview (300 chars) · Campaign ID · Send Timestamp · Validation Status · Sender Mailbox · Send Mode · Send Result · Error Detail
能力标签
cryptocan-make-purchases
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install flashrev-mailer-notion-tracker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /flashrev-mailer-notion-tracker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
**Switched to direct Notion API with simpler setup and usage.** - Now uses Notion API token and database ID from OpenClaw config (no Notion MCP or legacy references required). - Added scripts/notion-push.js for CLI-driven logging and querying. - Removed dependency on `refrences/notion-schema.md` and `send-log-schema.md`; all schema details are in the main docs. - Updated integration steps: run the provided Node.js script after each mailer send/dry-run for Notion sync. - Clearer one-time setup instructions and improved error messages for missing config, network, or schema issues.
v1.0.0
This skill stores FlashRev Mailer emails on notion
元数据
Slug flashrev-mailer-notion-tracker
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Flashrev Mailer Notion Tracker 是什么?

Use this skill whenever emails are sent or dry-run previewed via the flashrev-mailer CLI and you need to log, track, or audit those emails in Notion. Trigger... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 45 次。

如何安装 Flashrev Mailer Notion Tracker?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install flashrev-mailer-notion-tracker」即可一键安装,无需额外配置。

Flashrev Mailer Notion Tracker 是免费的吗?

是的,Flashrev Mailer Notion Tracker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Flashrev Mailer Notion Tracker 支持哪些平台?

Flashrev Mailer Notion Tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Flashrev Mailer Notion Tracker?

由 Sawera Khadium(@sawera557)开发并维护,当前版本 v1.0.1。

💬 留言讨论