---
title: "Leads and webhooks"
description: "Every lead your widget captured, on a page of its own: who opened their report, the report's score, what it cost and whether they opened an account. Filter, sort and export them, follow them up with a pitch and a cadence, read their conversation with the agent, and send the same events to your own tools with webhooks. Agency Plus only."
url: https://help.rankprompt.com/en/articles/105-leads-and-webhooks
collection: "Agency mode"
updated: 2026-11-09
language: en
---

# Leads and webhooks

Every lead your widget captured, on a page of its own: who opened their report, the report's score, what it cost and whether they opened an account. Filter, sort and export them, follow them up with a pitch and a cadence, read their conversation with the agent, and send the same events to your own tools with webhooks. Agency Plus only.

## Where the leads live

**Outreach > Website leads**, a page of their own, apart from the companies you go after in [Prospecting](https://help.rankprompt.com/en/articles/76-prospecting.md). **Widget settings**, at the top of the page for the account owner, opens the widget; the widget's **See leads** brings you back. Before the first lead the page offers to set the widget up.

The page opens with what waits on you, then two tabs: **Leads** (every lead with what only the app can tell you: what the report found, what it cost you, and whether the visitor became a user) and **Follow-up** (the same leads as a list you work, with a pitch, a cadence and sends).

## What waits on you

Four counts sit on top:

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Count</p></th><th colspan="1" rowspan="1"><p>What it counts</p></th></tr><tr><td colspan="1" rowspan="1"><p><strong>Opened their report</strong></p></td><td colspan="1" rowspan="1"><p>Leads who opened the report you sent and were not contacted, won or lost yet</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>New this week</strong></p></td><td colspan="1" rowspan="1"><p>Leads that came in over the last 7 days</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Report ready</strong></p></td><td colspan="1" rowspan="1"><p>Leads whose report finished and who were not contacted, won or lost yet</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Not worked yet</strong></p></td><td colspan="1" rowspan="1"><p>Leads not contacted, won or lost yet, whatever their report</p></td></tr></tbody></table>

Under them, **Call them first** lists the leads who opened their report and nobody worked yet, newest open first, three at a time, with a button to call or email each one. Click one to open the lead. The card is not shown while nobody is waiting.

## The table

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Column</p></th><th colspan="1" rowspan="1"><p>What it tells you</p></th></tr><tr><td colspan="1" rowspan="1"><p><strong>Company</strong></p></td><td colspan="1" rowspan="1"><p>The business the visitor named, and the email they left</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>From</strong></p></td><td colspan="1" rowspan="1"><p><strong>Your site</strong> (the form on your own pages) or <strong>Your page</strong> (your hosted page)</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Stage</strong></p></td><td colspan="1" rowspan="1"><p>Where the lead is: New, Generating, Ready, then the follow-up stages (Contacted, Following up, Replied, Won, Lost)</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Score</strong></p></td><td colspan="1" rowspan="1"><p>The Visibility score of the report they received</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Named</strong></p></td><td colspan="1" rowspan="1"><p>How many of the report's answers named their brand. One prompt asked on 4 AI platforms is 4 answers</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Credits</strong></p></td><td colspan="1" rowspan="1"><p>What this lead actually cost, read from your credit ledger</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Account</strong></p></td><td colspan="1" rowspan="1"><p>Whether they claimed an account on your domain from the report email, and whether that seat is still there</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Email</strong></p></td><td colspan="1" rowspan="1"><p>Whether the report email arrived: Delivered, Bounced, Marked as spam or Unsubscribed</p></td></tr><tr><td colspan="1" rowspan="1"><p><strong>Captured</strong></p></td><td colspan="1" rowspan="1"><p>When the form was sent</p></td></tr></tbody></table>

A lead at New usually means the day's limit was reached or the visitor still has to confirm their email. A report that fails sends the lead back to New, so it can run again.

Company, Score, Account and Captured sort across every page, not only the one you are looking at. You can filter by stage, by origin and by claimed or not, and search company, site or email. Changing a filter takes you back to the first page.

**Export** downloads the filtered list as a CSV that Excel opens with accents intact. It holds only what the visitor gave you.

* * *

## The follow-up

The **Follow-up** tab is your leads' own list, worked the same way as any list in Prospecting: a **Table** or the **Pipeline** (Found, Report, Pitch drafted, Approved, Sent), a pitch per lead written from its report, approving and sending, and its **cadence** (**Edit cadence**, at the top of the tab). The menu beside it holds the **Sender details** every outreach email needs and **Export CSV**.

Two things differ from a list of prospects:

-   **A lead's report starts on its own.** The widget runs it, so the Found lane has no report step, and a card dragged out of Found says so. A lead at Found is usually waiting for the day's limit or for its email confirmation. You can still run one by hand from the table
    
-   **The automation never runs on these leads**, and nothing is imported into the list: only the widget adds to it
    

## The lead detail

Click a row, or a lead under **Call them first**. The panel shows the score, the answers that name them, the credits spent and each email (the report, the confirmation, the claim link), then what they did with the agent:

-   **Conversation.** Once the lead claims their account, they land on Home with a normal chat with the agent, which links their report. There are no setup questions. The messages they exchange with the agent are here, in order
    

It stays empty until the lead claims their account, and the panel says so.

From the same panel you can **Send again** the report, the confirmation or the claim link (a new claim link replaces the one they hold), and **Delete for a data request** when somebody asks you to remove their data. Deleting removes the lead and the report brand and seat that came with it, unless another lead still uses that brand. It is refused once the brand has become a real client brand; delete it from **Brands** instead.

* * *

## Webhooks to your own tools

Set them up in the **Webhooks** section of **White label > Widget**, or on app.rankprompt.com under **Settings > API**, **Webhooks** tab, with **Account** picked under **Webhooks for**. Both show the same endpoints. Only the account owner sets these up. You can have up to 5 active endpoints, each subscribed to any of six events: four for your widget's leads and two for your [prospects](https://help.rankprompt.com/en/articles/76-prospecting.md):

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Event</p></th><th colspan="1" rowspan="1"><p>When it fires</p></th></tr><tr><td colspan="1" rowspan="1"><p><code>lead.created</code></p></td><td colspan="1" rowspan="1"><p>The form was sent and the lead is saved</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>lead.report_ready</code></p></td><td colspan="1" rowspan="1"><p>The report finished and the email went out, with the share link</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>lead.report_failed</code></p></td><td colspan="1" rowspan="1"><p>The report could not be made, so no report email went out</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>lead.claimed</code></p></td><td colspan="1" rowspan="1"><p>The lead opened an account on your domain</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>prospect.report_ready</code></p></td><td colspan="1" rowspan="1"><p>A prospect's report finished</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>prospect.stage_changed</code></p></td><td colspan="1" rowspan="1"><p>A prospect moved stage: won, lost, reopened, contacted or replied</p></td></tr></tbody></table>

Every lead event carries the lead as `lead_id`, so the four match on one field:

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Event</p></th><th colspan="1" rowspan="1"><p>Fields in <code>data</code></p></th></tr><tr><td colspan="1" rowspan="1"><p><code>lead.created</code></p></td><td colspan="1" rowspan="1"><p><code>lead_id</code>, <code>company_name</code>, <code>website</code>, <code>source</code>, <code>source_url</code></p></td></tr><tr><td colspan="1" rowspan="1"><p><code>lead.report_ready</code></p></td><td colspan="1" rowspan="1"><p><code>lead_id</code>, <code>report_id</code>, <code>visibility_score</code>, <code>share_url</code></p></td></tr><tr><td colspan="1" rowspan="1"><p><code>lead.report_failed</code></p></td><td colspan="1" rowspan="1"><p><code>lead_id</code>, <code>report_id</code>, <code>failure_reason</code></p></td></tr><tr><td colspan="1" rowspan="1"><p><code>lead.claimed</code></p></td><td colspan="1" rowspan="1"><p><code>lead_id</code>, <code>brand_id</code>, <code>claimed_at</code></p></td></tr></tbody></table>

The prospect events carry the prospect as `prospect_id`, and never a contact's name or email:

<table style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p>Event</p></th><th colspan="1" rowspan="1"><p>Fields in <code>data</code></p></th></tr><tr><td colspan="1" rowspan="1"><p><code>prospect.report_ready</code></p></td><td colspan="1" rowspan="1"><p><code>prospect_id</code>, <code>list_id</code>, <code>report_id</code>, <code>visibility_score</code>, <code>opportunity_score</code>, <code>ai_platforms</code>, <code>share_url</code> (only when the report was already shared)</p></td></tr><tr><td colspan="1" rowspan="1"><p><code>prospect.stage_changed</code></p></td><td colspan="1" rowspan="1"><p><code>prospect_id</code>, <code>list_id</code>, <code>from</code>, <code>to</code>, <code>lost_reason</code>, <code>changed_at</code>, <code>report_viewed_at</code></p></td></tr></tbody></table>

A lead you move through your pipeline sends `prospect.stage_changed` only, never a `lead.*` event for the same change.

On `lead.report_failed`, `report_id` is null when the report never started. `failure_reason` is `out_of_credits` (the account ran out of credits), `stuck` (the report stopped moving and was failed after six hours) or `engines_failed` (no AI platform answered any prompt), and null for any other cause. Treat a value you do not know like null, since the list can grow. The same lead can fail more than once, for example when the visitor confirms again after a failure, and every failure is its own event.

**Send as** picks the format: **Signed JSON** (the event itself, for your server, Zapier, Make or n8n), or a readable **Slack** or **Discord** message with the lead's company, site and a link to your Website leads page. **Send a custom header** adds a header name and value, for catch hooks that check one.

Every delivery is signed. Verify the `X-RP-Signature` header with the signing secret shown once when you create the webhook. **Rotate secret** makes a new one; the old one keeps verifying for 24 hours, so nothing drops while you deploy.

**Send test** sends a sample of any event you subscribed to, marked `"test": true`, and shows the answer and how long it took. A failed delivery is retried with a growing delay. An endpoint that keeps failing turns itself off and you get a notification; fix it and click **Enable**.

Expand an endpoint for its delivery log: recent attempts with the response code and time, tests marked as such, and **Replay** for any of them. A replay is a new delivery of the same event: the delivery id (`X-RP-Delivery-Id`) is new, while the event id (`X-RP-Event-Id`) and the body are the original's, so a receiver that removes duplicates by event id treats it as the event it already has.

These account webhooks are separate from the brand webhooks on the same tab (**Brand** under **Webhooks for**). Nothing here changes those, or the public API.

* * *

## FAQ

### Does a lead use up one of my client seats?

No. Client seats count seats over brands you created. A lead's report brand is a different type and sits outside that cap.

### What if the lead's email already has an account?

The flow stops: no seat, nothing written on their existing account, and the lead shows **Has an account**. They get a note telling them to open the report from the account they already have.

### Why did a lead not get the email?

The **Email** column says why: a mailbox that refused it, a spam report, or an address that unsubscribed from email sent through Rank Prompt, which gets none, even from you. Copy the report link and send it yourself.

### How long does the report take?

A few minutes. The form tells the visitor to watch their inbox, and the report is emailed as soon as it is ready.

### Can I get the leads into my CRM without writing code?

Export the CSV, or point a webhook at a Zapier, Make or n8n catch hook.

### Who on my team sees Website leads?

The account owner and team members with access to every brand. Editors work the leads; viewers read them and change nothing. Team members limited to some brands and client seats do not see the page. The widget's settings stay with the account owner.

### What happens to my leads if the account leaves Agency Plus?

They stay: Website leads keeps showing them and you can still delete one. Writing pitches, sending, cadences and sending an email again wait for Agency Plus. On a trial everything here works, with 5 lead reports a day and 1 account webhook endpoint.

* * *

## Next steps

-   [Lead widget](https://help.rankprompt.com/en/articles/104-lead-widget.md): set the widget up and price it
    
-   [Prospecting](https://help.rankprompt.com/en/articles/76-prospecting.md): the companies you go after, on a page of their own
    
-   [Client access](https://help.rankprompt.com/en/articles/103-client-access.md): what a lead sees once they claim their report
    

* * *

## Questions?

Email [support@rankprompt.com](mailto:support@rankprompt.com) and I'll help.
