Skip to content
TeamElGhazi
ENChange language
Make a request
PDF guide for an email

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

The tools

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

In briefTeamElGhazi's "PDF guide for an email" template helps an organisation that publishes a guide, a white paper or a report to know who is reading it: the visitor fills in a short form, n8n checks the request and records it in Google Sheets, then the page gives access to the guide. Every read becomes a request followed up by your teams.

Google4,8out of 5 · 11 Google reviews

In practice

Problem
A guide distributed without knowing who reads it, or sent by hand with a delay
Trigger
Submission of the form on the guide page
Result
A row in the prospect table 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
Set-up by TeamElGhazi
On quotation
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 nobody you know

You have written a good guide. With open access, it is read, but you do not know by whom. Sent by hand, on every request, it sometimes goes out three days later.

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

Avant de publier

The real workflow, from the request to the 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 to respond to the browsers of 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 ticked
  3. If the request is refused, 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 organisation, country, language, source and next action. It trims texts that are too long and neutralises any that would start like a formula
  5. A Google Sheets node adds the row to the prospect tracking table
  6. The workflow replies "yes" and the page displays the link to the guide 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 cannot 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 sending node or by a person who reads it over before writing.

You keep the guide (it is the guide that brings people back, not the workflow), the consent wording and what comes next: a person reads the table, 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 machine for winning clients.

  • The workflow does not check that the address exists: a typing mistake passes the format check
  • The PDF link can be shared. For a restricted guide, you need a time-limited link, and therefore a longer workflow
  • Only write "you will also receive it by email" if a sending step really does it
  • 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 move of the prospect into your tracking tool: this is the work of our email marketing and CRM service. For a lead magnet set up in your organisation, from the guide to the tracking table, 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 in our own organisation, for our own guide aimed at schools.
When
November 2026
Other templates

Other workflows
ready to plug in.

Each template has its 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 opens it.

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

    Update by ID

    The same case three times in the spreadsheet? Never again.

    Result
    A tracking sheet with no duplicates
    Trigger
    A submission 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

    Posting log

    Four networks, one register, one row per post.

    Result
    A single, dated register of social media activity
    Trigger
    A web request sent by each tool after an action
    Output
    One row 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
    Working days, in the morning (sending, follow-up)
    Result
    One row per organisation, 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 that is invisible to a visitor and that only spam programs fill in. If it contains anything, the request is refused silently.

Is the guide sent by email or displayed on the page?

In this workflow, the link is displayed 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 messages that are really sent.

Is this template suitable for a large organisation?

Yes: the same workflow serves several guides, several languages and several websites; only the number of forms and the sales follow-up change. It also suits a freelancer.

Your request

Your request
comes in here.

in 100 languages
01 · Make 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 for a project, or your lesson hours.

Choose a slot
03 · A call, an e-mail06 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.
Make a requestMeeting