# Test a lead magnet from the form to the inbox to the file

> A free guide behind a form is three systems: the form, the email tool and the file. Any of them can break unseen. One test signs up, opens the email and checks the file.

By Jason Nguyen, Founder, Testsy. Published 2026-11-21. https://testsy.dev/blog/test-a-lead-magnet-from-form-to-inbox-to-file/

## Three systems behind one button

A client's site offers a free checklist, a price guide or an e-book in exchange for an email address. It is often the main way the site makes leads, and it depends on three things working together:

1. **The form** on the page, sometimes a pop-up from a separate plugin.
2. **The email tool** that receives the address and sends the delivery email, often through an automation.
3. **The file** itself, hosted somewhere, behind a link in that email.

Each can fail on its own, and none of the failures shows on the page. Users of email tools describe them on community forums: a [subscribe-to-download automation that sends nothing](https://community.constantcontact.com/t5/Questions-Discussions/Subscribe-to-Download-Whitepaper/m-p/428866), [PDF links in a sent campaign that do not work](https://community.constantcontact.com/t5/Questions-Discussions/PDF-Links-not-working/m-p/431991), existing subscribers who [never get the lead magnet](https://community.klaviyo.com/marketing-30/lead-magnet-to-new-and-existing-contacts-5834/index2.html) because they already went through the welcome flow. Stan Store's help centre warns that its confirmation email is [not sent unless a file or link was uploaded](https://help.stan.store/article/118-confirmation-emails-for-my-lead-magnets-are-not-sending) successfully.

The client sees fewer leads and assumes the offer stopped working.

## The test

Give the test a [mailbox](https://testsy.dev/docs/mailbox-phone-endpoints/), so each run signs up with a fresh address, the way a new visitor does.

```text
Open the page "Free kitchen planning checklist".
Enter the name "Test Lead" and the test's email address in the
form and press "Send me the checklist".
Check the page thanks you and mentions the checklist.
Wait for the email with the checklist and open it.
Follow the download link in the email.
Check the downloaded file is a PDF titled "Kitchen planning
checklist" with at least 2 pages.
```

The last check is the one that matters most. A link can open a 404 page, a login page of the file host, or last year's version of the file, and only a check on the file's content tells them apart. Testsy opens downloaded files and reads what is inside: PDFs, spreadsheets, CSV files, images and ZIP archives.

![From a run on our practice site: each file check says what was found inside the file.](https://testsy.dev/blog/img/web-download-csv-xlsx-checks.webp)

That run is written up in [Test what is inside a downloaded file](https://testsy.dev/blog/test-what-is-inside-a-downloaded-file/); open [the run](https://app.testsy.dev/share/UKvT2tbEVb11HB1bCYj2kBtvGzivpVOj) (live until 18 February 2027). We have not run the whole chain above on a client's site; its two halves, an email read from the run's mailbox and a file checked inside, each have a published run ([the email run](https://testsy.dev/blog/test-email-verification-codes-wrong-code-and-resend/)).

## Variations

- **Instant download.** If the file is offered on the thank-you page instead of by email, the same test checks the file there, and a second line checks the welcome email still arrives.
- **Existing subscriber.** Sign up twice with the same address (`+lead` before the @ reaches the same mailbox) and check the second sign-up still gets the file, the case the Klaviyo thread is about.
- **Double opt-in.** If the email tool asks for confirmation first, add that step: [Test a newsletter signup with double opt-in](https://testsy.dev/blog/test-a-newsletter-signup-double-opt-in/).

## Keep the client's list clean

Each run adds a subscriber. Tag them, or remove addresses at `inbox-test-engine.testsy.dev` from the list on a schedule, so the client's numbers stay honest ([how](https://testsy.dev/blog/run-tests-in-production-without-polluting-your-data/)). Run the test weekly, or after any change to the form, the pop-up plugin or the email tool's automations.

This post is part of [Find the bug before your client does](https://testsy.dev/blog/find-the-bug-before-your-client-does/).
