πŸ”¬ Automated digital certificate creator & validator with PDF generation

⚑ 201 views Β· πŸ”¬ Document Extraction & Analysis

πŸ’‘ Pro Tip β€” If you need GitHub data beyond what the REST API gives you, ScraperNode has a repository scraper that extracts metadata at scale without token rate limits.

View All Scrapers

Description

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

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:

βœ” 2. Data Storage

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

This creates a permanent, searchable certificate registry.

βœ” 3. PDF Creation

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

βœ” 4. Email Delivery

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

βœ” 5. Verification System

A public endpoint /certificationscheck allows:

βœ” 6. Included Mini Verification Website

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


πŸ›  Requirements

Before using this workflow, you must have:

  1. n8n Data Table with ID fields:
  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:

2. Configure Data Table

Update the following nodes to point to your Data Table:

Make sure the Data Table has the fields:

FieldType
Namestring
Surnamestring
CertificationIDstring

3. Configure Credentials

In the workflow:

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: john.doe@example.com

🧩 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

πŸ”— Nodes Used

Webhook, Gmail, Data table

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup