Skip to main content

Automated digital certificate creator & validator with PDF generation

Workflow preview

Workflow preview
100%
Automated digital certificate creator & validator with PDF generation preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

A complete workflow to create, send, and verify digital certificates fully automated with n8n.Perfect for courses, events, onboarding, internal training, or product education. ![image.png](fileId:3...

Best for

  • Document Extraction automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.datatable, n8n-nodes-base.code, n8n-nodes-base.if, @pdfgeneratorapi/n8n-nodes-pdf-generator-api.pdfgeneratorapi, n8n-nodes-base.gmail, n8n-nodes-base.webhook, n8n-nodes-base.respondtowebhook, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Paolo Ronco.

Original n8n.io source

1.1 Workflow description

Title
Automated digital certificate creator & validator with PDF generation
Workflow name
Automated digital certificate creator & validator with PDF generation

A complete workflow to create, send, and verify digital certificates fully automated with n8n.Perfect for courses, events, onboarding, internal training, or product education.

Visit my website for the: full deploy guide

See my Templates on Github: paoloronco/n8n-templates)

Example-certificate

✔ 1. Certificate Generation

When a POST webhook request arrives, the workflow:

  • reads name, surname, course, and email

  • generates a unique Certification ID

  • saves everything in the Data Table

✔ 2. Data Storage

Every issued certificate is recorded in an n8n Data Table containing:

  • Name

  • Surname

  • CertificationID

This creates a permanent, searchable certificate registry.

✔ 3. PDF Creation

Uses PDF Generator API to create a professional PDF certificate from an HTML template:

  • fully customizable (layout, colors, branding)

  • includes candidate data, course, ID, and date

✔ 4. Email Delivery

The workflow automatically sends the certificate to the recipient using Gmail OAuth2 with:

  • a predefined subject

  • the PDF attached

  • a customizable message

✔ 5. Verification System

A public endpoint /certificationscheck allows:

  • validation of Certification IDs

  • returning the candidate’s name and surname if valid

  • responding with ok: true/false

✔ 6. Included Mini Verification Website

A ready-to-use HTML file allows users to:

  • enter a Certification ID

  • verify its authenticity

  • view name and surname if the certificate exists

  • Fully customizable (CSS, texts, branding).


🛠 Requirements

Before using this workflow, you must have:

  1. n8n Data Table with ID fields:
  • Name (string)

  • Surname (string)

  • CertificationID (string)

  1. PDF Generator API accountCredentials set in n8n as pdfGeneratorApi.

  2. Gmail OAuth2 credentialsConfigured in n8n as gmailOAuth2.

  3. Ability to call HTTP POST endpoints from your website, backend, forms, etc.


🚀 Installation

1. Import workflow

In n8n:

  • Go to Workflows → Import

  • Paste the JSON provided in this repository

2. Configure Data Table

Update the following nodes to point to your Data Table:

  • Insert_Certificaton

  • Find_Certification_By_ID

  • Find_Certification_By_ID1

Make sure the Data Table has the fields:

Field Type
Name string
Surname string
CertificationID string

3. Configure Credentials

In the workflow:

  • Node Generate_PDF → set PDF Generator API credentials

  • Node Email_Certification → set Gmail OAuth2 credentials

4. Activate Workflow

Click Activate in n8n.


🔧 How the Workflow Works

🧩 1. Webhook /certifications

Receives candidate data and triggers the workflow.

POST https://YOUR-N8N-DOMAIN.com/webhook/certification Headers: name: John surname: Doe course: email: [email protected]

🧩 2. Unique ID Generation

A Code node creates a random alphanumeric ID.If it already exists, a new one is generated.

🧩 3. Data Table Insert

Stores the certificate data for future lookup.

🧩 4. PDF Generation

Builds a PDF from the (fully editable) HTML template.

🧩 5. Email Sending

Delivers the certificate to the candidate.


🔍 Certificate Verification (/certificationscheck)

API Behavior

Send a POST request https://YOUR-N8N-DOMAIN.com/webhook/certificationcheck with header id: CERTIFICATION-ID.

Valid ID:

{ "ok": "true", "name": "John", "surname": "Doe" }

Invalid ID:

{ "ok": "false" }

This request can be made manually (from tools like Postman, cURL, or your backend), or automatically through the HTML verification page included in the GitHub repository (the Cerification_Check.html template) found in your project files

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Insert_Certificaton

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1

Block 2 - Generate_Certification_ID

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Find_Certification_By_ID

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1

Block 4 - Certification_ID_Exists

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 5 - Generate_PDF

Type / Role
@pdfgeneratorapi/n8n-nodes-pdf-generator-api.pdfGeneratorApi - pdfGeneratorApi
Config choices
Version 1

Block 6 - Email_Certification

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 7 - Webhook_Check

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 8 - Find_Certification_By_ID1

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1

Block 9 - Certification_Exists

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 10 - Respond_Found

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.4

Block 11 - Respond_NotFound

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.4

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Webhook_Creation

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 17 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automated digital certificate creator & validator with PDF generation
Complexity advanced
Nodes 19
Categories Document Extraction
Author Paolo Ronco
Published 21 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11097/11097.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automated digital certificate creator & validator with PDF generation do?

A complete workflow to create, send, and verify digital certificates fully automated with n8n.Perfect for courses, events, onboarding, internal training, or product education. ![image.png](fileId:3...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction use case.