Lead Pulse Guard watches your Facebook comments, Lead Ads forms and mailboxes, drafts the reply with AI, and then either waits for you to approve it or sends it out for you. You do not miss a single opportunity. 线索监控器 可以通过监控你的 Facebook 的评论、广告线索、邮箱等,用AI起草回复,然后人工确认或者直接回复客户,让你不错过任何一条商机。 未来还会增加WhatsApp消息等更多的渠道。WhatsApp and more channels are on the way.
You pay for the ads. Customers come back interested. And you still miss their message. 你花钱推广,客户也表示感兴趣,但你可能会错过他们的信息
You cannot keep a VPN on around the clock. Frequent network switches get the account frozen, and an unstable connection means the app never tells you anything happened. 不能24小时使用VPN,频繁切换网络导致账户被冻结,网络不稳定都会使你无法收到应用通知
Leads come from anywhere in the world, and even the major languages number in the dozens. If you cannot read the comment, you cannot do business. 潜在客户可能来自全球任何地方,就算主流语言也有数十种,如果你看不懂别人的留言,那就没办法做生意
Nobody wants to work around the clock. Evenings off and weekends are not up for negotiation. 没人愿意24小时都干活,我们都要双休,不要996
Every channel converges on the same card: the original message, the model’s draft, and the buttons to send, edit or ignore. 所有渠道最终汇到同一张卡片:原始消息、模型草稿,以及一个可以「发送 / 改后发送 / 忽略」的按钮。
| Entrance入口 | Delivery投递方式 | How we stop you missing one防遗漏措施 |
|---|---|---|
| Page comments主页评论 | webhook · feed | Our own replies are not pushed back自己的回复不推送 |
| Lead Ads forms广告线索表单 | webhook · leadgen | Irrelevant leads are filtered out不相关的线索不投递 |
| Mailbox邮箱 | IMAP poll · read-only | We poll actively, so no lead is missed主动轮询,保证不漏线索 |
We measured a day when fifty Lead Ads submissions arrived and only forty-seven produced a webhook event. No error, no log line, no retry — a broken feed and a quiet day look identical from the receiving end. 我们实测过一天:实际有 50 条广告线索,webhook 却只推送了47条。没有报错,没有日志,也没有重试 —— 从接收端看,链路断了和今天没线索来是一样的。 — why you need the lead monitor— 这就是为什么要使用线索监控器器
So the lead poller and the comment poller run alongside the webhooks. The pollers do not re-implement the decision logic: the comment poller re-signs each comment as a webhook and feeds it back to the gateway, so "should we reply to this" exists in exactly one place. Worst case moves from never to ten minutes. 所以除了 webhook,还要对所有的渠道进行主动轮询。轮询器不复制判断逻辑:轮询会把线索重新签名、当成一条 webhook 送回网关,于是最坏情况从「永远收不到」变成「最多晚十分钟」。
Everything below is in the repository and covered by the reasoning in the docs. 以下每一项都在仓库里,设计理由写在 docs 中。
X-Hub-Signature-256 checked against the bytes as received, with a timing-safe compare. Invalid requests get 403 and are not logged. 对收到的原始线索计算 X-Hub-Signature-256,并用定时安全比较。签名不对的请求返回 403,且不记录内容。
It holds no downstream credential. Compromising it gets an attacker a write to a spool file, nothing more. 它不持有任何下游凭据。即使被攻破,攻击者最多也只能往一个 spool 文件里写一行字。
The handoff is an append-only JSONL spool. No broker to operate, and every event is replayable. 交接是一个只追加的 JSONL 文件。没有中间件要运维,每一条事件都能重放。
Each Page loads its own confirmed facts and a do-not-state list. Empty KB means the model may state nothing specific. 每个主页加载各自的「已确认事实」和「禁止表述」清单。知识库为空时,模型不得作出任何具体陈述。
Output is strict JSON with answers_question and invented_specifics flags, so a bad draft is visible before a human reads it. 输出是严格 JSON,带 answers_question 和 invented_specifics 两个自检字段,草稿有问题在人工读到之前就能看出来。
Once a lead comes in, AI analyses it first, and only then is it pushed to a human for review. 获得线索后先让AI分析,然后再推送给人工审核
Webhook and poller race on the same activity ID; whichever arrives first claims it, the other becomes a no-op. webhook 和轮询会争抢同一个活动 ID,先到的占位,后到的自动变成空操作。
Every fetch uses BODY.PEEK. Nothing is marked read, moved or deleted. Replies need human approval by default, and you can switch to fully automatic replies if you prefer. 全部用 BODY.PEEK 取信,不标已读、不移动、不删除;默认需要人工审核以后才回复,也可以设置为AI自动回复
Do not want to set it up yourself? Buy the deployment service and keep your attention on product and sales. 不想自己折腾,可以购买代部署服务,你只需要关注产品和销售。
One-time. We configure everything up to the first real conversation. 一次性付费。一直配到第一条真实对话跑通为止。
Monthly. You do not touch the server, and you do not hear about an expired token from a customer. 按月。你不用碰服务器,也不会等客户告诉你,才发现令牌过期了。
Scoped project. For setups that are not one Page and one language. 按项目。适用于不是一个主页、一种语言就够的场景。
Fixed scope, quoted before anything starts. Hosting is a flat monthly fee. No per-message charges — your cost should not grow just because a post went viral. 固定范围,开工前给报价。托管是固定月费。不按消息条数收费 —— 一条内容火了不该让你多付钱。
Three cases where automation makes things worse, and we say so before taking money: 有三种情况,自动化只会让事情更糟。这三种我们会在收钱之前说清楚:
With AIW_POST_ENABLED=false the Send button reports a simulated send and nothing reaches Facebook. Flip it only after a few drafts have come through. AIW_POST_ENABLED=false 时,点「发送」只会提示「模拟发送」,不会有任何内容发到 Facebook。先看几条草稿,再考虑打开。
# 1. clone and configure git clone https://github.com/yangke821115/lead-pulse-guard.git cd lead-pulse-guard cp .env.example .env # 2. gateway (verify → tag → dedupe → spool) docker compose up -d gateway # 3. worker (spool → KB → LLM → approval card) python3 -m venv venv && ./venv/bin/pip install -r requirements.txt AIW_POST_ENABLED=false ./venv/bin/python -m worker.main
Two sentences is enough: what you sell, roughly how many inquiries a day, and where they arrive. We will tell you whether this is worth automating — including when the answer is no. 两句话就够:你卖什么、一天大概几条询盘、从哪几个入口进来。我们会告诉你值不值得上自动化 —— 包括答案是「不值得」的时候。
replies usually within one business day 通常一个工作日内回复
The project stays open source and free to use. Keeping it going takes time and effort every day. If it is useful to you and you want to see it keep improving, you can sponsor it below. 这个项目会继续保持开源和免费使用。维护一个项目需要持续投入时间与精力,如果你觉得它对你有所帮助,并且愿意支持它继续迭代,欢迎通过下面的方式赞助。
Sponsorship and paid services are two different things. Services are in the section above. Sponsoring is a way of saying the maintenance matters, not a condition of using anything: you can use the repository, open issues, send pull requests and join the discussion without paying anything. A star, a bug report, a suggestion or a documentation fix all help. 赞助是对项目维护的认可,不是使用门槛。不赞助也完全不影响你使用仓库、提 Issue、提交 PR 或参与讨论。Star、反馈、建议、文档修正,都是很实在的支持。
Any amount, one-off. Put "lead-pulse-guard" in the transfer note so it can be matched up. Alipay is not a card payment, so it cannot be embedded as a button here — transfer from the Alipay app using the address above. 金额随意,一次性。转账时请在备注里写「lead-pulse-guard」,方便对账。支付宝不是卡支付,没法在这里做成一个按钮,直接在支付宝 App 里转给上面这个邮箱即可。
Even if you are only passing by, we are glad to have you around. If something is not working as it should, or you have a better idea, tell us. 如果你只是路过,也欢迎交个朋友;如果你在使用中发现问题或有更好的想法,欢迎提意见。