Skip to main content

Automatically issue training certificates and send via Gmail

Workflow preview

Workflow preview
100%
Automatically issue training certificates and send via Gmail preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This n8n workflow automates the generation and delivery of student completion certificates . Features: Retrieves student data from the n8n integrated datastore and processes it. Loads a certificate...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.n8ntrainingcustomerdatastore, n8n-nodes-base.stickynote, n8n-nodes-base.editimage, n8n-nodes-base.set, n8n-nodes-base.crypto, n8n-nodes-base.httprequest, n8n-nodes-base.gmail

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automatically issue training certificates and send via Gmail
Workflow name
Automatically issue training certificates and send via Gmail

1. Workflow Overview

This n8n workflow automates the generation and delivery of student completion certificates.

Features:

  • Retrieves student data from the n8n integrated datastore and processes it.
  • Loads a certificate template image and inserts the student's name and unique ID.
  • Generates a completion certificate and sends it automatically via email.

By using this workflow, the certificate issuance process can be streamlined and efficiently managed.


2. Prerequisites

To execute this workflow, you need to set up the following:

Gmail OAuth2 Integration (Required for sending certificates via Gmail in n8n)
n8n Training Customer Datastore Connection (Ensure access to student data from the datastore)
Google Fonts Installation (Required for using Courier New and Comic Sans MS fonts)


3. Key Features & Roles

📌 Node List & Functions

  1. When clicking 'Test workflow' (Manual Trigger)

    • Triggers the workflow manually for testing
  2. Customer Datastore (n8n training)

    • Retrieves student data from n8n's datastore
  3. Get Email & Name (Set Node)

    • Extracts the student's name and email
  4. Generate Crypto (UUID Generation)

    • Creates a unique ID for each certificate
  5. Load Image (HTTP Request)

    • Loads the certificate template image
  6. Write Text(name) / Write Text(uuid) (Edit Image)

    • Inserts the student's name and UUID onto the image to generate the certificate
  7. Send Email (Gmail Node)

    • Automatically sends the generated certificate via email

4. Workflow Process (Step-by-Step)

1️⃣ Retrieve Student Data - Fetches name and email from the n8n Training Customer Datastore 2️⃣ Generate UUID - Creates a unique ID for each certificate 3️⃣ Load Certificate Template Image - Fetches the template via HTTP request 4️⃣ Insert Name and UUID into the Image 5️⃣ Send Certificate via Gmail


5. Expected Outputs

  • Upon successful execution, the student receives an email with the certificate image attached.
  • Example of the sent email:
    Dear John Doe,
    
    You have successfully completed this training program. Please find your completion certificate attached.
    Completion Date: 2025.02.22
    
    Best regards,
    Data Popcorn Team
    
  • Certificate Sharing Method: The certificate can be downloaded and shared via email.

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 - When clicking ‘Test workflow’

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

Block 2 - Customer Datastore (n8n training)

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

Block 3 - Sticky Note2

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

Block 4 - Sticky Note8

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

Block 5 - Sticky Note9

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

Block 6 - Sticky Note10

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

Block 7 - Sticky Note11

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

Block 8 - Sticky Note12

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

Block 9 - Sticky Note13

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

Block 10 - Write Text(name)

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

Block 11 - Write Text(uuid)

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

Block 12 - Get Email & Name

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 13 - Generate Crypto

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

Block 14 - Load Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 15 - Get Info

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

Block 16 - Send Email

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

Block 17 - Sticky Note

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

Block 18 - Sticky Note1

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

3. Summary Table

Workflow Automatically issue training certificates and send via Gmail
Complexity advanced
Nodes 18
Categories Document Extraction
Author Nathan Lee
Published 09 Mar 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3114/3114.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 Automatically issue training certificates and send via Gmail do?

This n8n workflow automates the generation and delivery of student completion certificates . Features: Retrieves student data from the n8n integrated datastore and processes it. Loads a certificate...

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.