Skip to content
TeamElGhazi
EN-USChange language
Submit a request
PDF guide in exchange for an email

Send a PDF guide in exchange for an email with n8n (lead magnet)

The tools

A useful guide in exchange for an email address. Nothing more, nothing hidden.

At a glanceTeamElGhazi's "PDF guide in exchange for an email" template helps an organization that publishes a guide, a white paper or a report know who is reading it: the visitor fills out a short form, n8n checks the request and records it in Google Sheets, then the page gives access to the guide. Every download becomes a request your teams can follow up.

Google4,8out of 5 · 11 Google reviews

In practice

Problem
A guide distributed without knowing who reads it, or sent by hand with delays
Trigger
Submission of the form on the guide's page
Result
A row in the leads sheet and immediate access to the PDF
Tools
n8n, Google Sheets, a form on your website, a hosted PDF
Workflow size
6 nodes, no code node
Protection
Anti-spam trap field, email format check, mandatory consent
Setup by TeamElGhazi
On quote
Le flux réel

Un guide contre un e-mail, et rien sans vérification

Le flux de notre aimant PDF : le formulaire est vérifié, la demande rejoint le suivi, la réponse renvoie le guide.

Formation · Aimant PDFactif

Formulaire aimante-mail contre le guide
Formulaire valide ?champs remplis ?
Préparer la lignedate, source, guide
Refuséréponse d'erreur
Ajouter au Pipelinele suivi des demandes
Réponsele lien du PDF
Flux réel de TeamElGhazi, actif ; identifiants et adresses masqués.
Le problème

A guide that everyone reads, and no one you know

You wrote a good guide. Freely available, it gets read, but you don't know by whom. Sent by hand with every request, it sometimes goes out three days later.

An example: an accounting firm publishes the list of documents to prepare before a year-end close. Each person who requests it leaves an email address and a type of business; the firm knows who is interested, and the list arrives right away.

Avant de publier

The actual workflow, from request to link

The workflow has six n8n nodes, with no code node.

  1. The form on the page sends the request to a Webhook node, set up to respond to browsers on your site
  2. A condition node checks three things: the anti-spam trap field is empty, the email address has a valid format, and the consent box is checked
  3. If the request is rejected, the workflow replies "no" and the page displays a clear error message
  4. If it is accepted, a Set node prepares the row: date, name, email, type of organization, country, language, source and next action. It trims texts that are too long and neutralizes any that would start like a spreadsheet formula
  5. A Google Sheets node adds the row to the lead tracking sheet
  6. The workflow replies "yes" and the page displays the guide link in the language of the page

What you need, and what you decide

A website with a form, n8n, Google Sheets and a PDF hosted at an address that can't be guessed. In this workflow, n8n does not send an email: it records the request and notes the next action. A follow-up email is a separate step, to be handled by a send node or by a person who reviews before writing.

You keep the guide (it's the guide that brings people back, not the workflow), the consent wording and what happens next: a person reads the sheet, spots the serious requests and decides whom to write to. AI can prepare a draft reply; it does not send it.

What the law and common sense require

A lead magnet is not a client-generating machine.

  • The workflow does not verify that the address exists: a typo passes the format check
  • The PDF link can be shared. For a restricted guide, you need a time-limited link, which means a longer workflow
  • Only write "you will also receive it by email" if an email is actually sent
  • Personal data places obligations on whoever collects it: clear consent, simple unsubscribing. Check the rules that apply to you (Law 09-08 and the CNDP in Morocco, European rules for visitors from Europe); this template is not legal advice
  • A mediocre guide attracts addresses, not clients

After the guide, the rest of the journey

After access to the guide come the welcome email, one or two useful follow-ups and the handoff of the lead into your tracking tool: that is the work of our email marketing and CRM service. For a lead magnet set up in-house, from the guide to the tracking sheet, request a quote.

The diagram

Un guide remis, un lecteur connu

  1. 01
    Le formulaire envoyéLa page du guide transmet la demande au flux.
  2. 02
    Trois contrôlesChamp piège vide, adresse valable, consentement coché ; sinon, un message d’erreur clair.
  3. 03
    La ligne de suiviDate, structure, pays, langue, source et prochaine action, dans le tableau.
  4. 04
    Le guide ouvertLa page affiche le lien du guide.
Chez nous

Notre propre guide
passe par ce flux.

Le guide que nous destinons aux établissements scolaires est remis par ce flux, la demande rangée dans notre suivi.
For
TeamElGhazi (in-house project)
What was done
This template runs first at our own company, for our own guide aimed at schools.
When
November 2026
Other templates

More workflows
ready to plug in.

Each template has its own page, its diagram and its installation request.
  • 01

    Add a row

    Three entry points, one sheet, no retyping.

    Problem
    A tracking sheet filled in by hand, always behind
    Trigger
    A submission from one of your tools: form, website or AI agent
    Result
    Rows added to the chosen tab, and their number returned in the response
  • 02

    Read and Write a Range

    Your website reads the spreadsheet. Nobody has to open it.

    Result
    A spreadsheet your applications can read and edit, under control
    Trigger
    A request from one of your tools: which sheet, which range
    Tools
    n8n, Google Sheets API, any application that sends a web request
  • 03

    Update by ID

    The same case three times in your sheet? Never again.

    Result
    A tracking sheet with no duplicates
    Trigger
    A send from one of your tools, each row with its number
    Tools
    n8n, Google Sheets, any application that sends a web request
  • 04

    Create a tab

    On the first of the month, the month's tab is already there.

    Result
    A tab created at the right time, with the right name
    Trigger
    A request sent from one of your tools, or a date
    Tools
    n8n, Google Sheets
  • 05

    Publishing log

    Four networks, one register, one line per post.

    Result
    A single, dated register of social media activity
    Trigger
    A web request sent by each tool after an action
    Output
    One line per action, in ten columns
  • 06

    B2B email prospecting with n8n and Google Sheets: one list

    A few emails a day, a single follow-up, and a “STOP” that is respected.

    Problem
    Sends, follow-ups and unsubscribes tracked by hand
    Triggers
    Business days, in the morning (sending, follow-up)
    Result
    One row per organization, a status that moves forward
Frequently asked questions

Your questions
about automation.

5 answers

Why a trap field in the form?

It is a field invisible to a visitor, which only spam programs fill in. If it contains anything, the request is rejected silently.

Is the guide sent by email, or does it appear on the page?

In this workflow, the link appears on the page as soon as the request is accepted. Sending by email is an extra step, to be added only if you want to keep that promise.

Can the guide be offered in several languages?

Yes: the form sends the language of the page, the workflow records it and the page displays the matching PDF. One PDF per language is enough.

What should I write in the consent box?

What the person will receive, from whom, and how to stop. Only promise emails that are actually sent.

Is this template suitable for a large organization?

Yes: the same workflow serves several guides, several languages and several sites; only the number of forms and the sales follow-up change. It also suits an independent professional.

Your request

Your request
goes here.

in 100 languages
01 · Submit a request
Your request
You
At least one of the two: email or phone.
Sending

Your data is used only to reply to you (Law 09-08, GDPR). Privacy
02 · Meeting30 min

Individuals, institutions, companies: you choose your slot online. A first 30-minute conversation about a project, or your hours of lessons.

Choose a slot
03 · A call, an email06 60 66 59 52

Call us, or write to contact@teamelghazi.com

Service delivered in
  • 100 languages
From Casablanca: on site in Morocco, remotely everywhere.
Submit a requestMeeting