Generate and email PDF certificates with Google Sheets, Apify, and Gmail

Go to Workflow
0 views
Built by Egra Egra
Created on September 29, 2026

Description

Quick overview
This workflow reads participant data from Google Sheets, generates personalized PDF certificates via the Apify Bulk Certificate & Diploma PDF Generator, downloads each PDF, and emails it to the matching recipient using Gmail.

How it works
Runs manually to start the certificate generation process.
Reads participant rows from Google Sheets and combines them with the certificate design and text settings.
Sends the prepared records to Apify’s Bulk Certificate & Diploma PDF Generator to create one PDF certificate per participant.
Matches each generated certificate back to the participant’s email address using the certificate ID.
Downloads each certificate PDF from the provided Apify URL.
Sends each participant an email via Gmail with their certificate PDF attached.

Setup
Connect Google Sheets OAuth credentials, then select the target spreadsheet and sheet in the Google Sheets read step.
Connect Gmail OAuth credentials for the account that sends the certificate emails.
Create an n8n HTTP Header Auth credential named “Apify API token” with header name Authorization and value Bearer , and select it in both Apify HTTP requests.
Ensure your Google Sheet includes name and email columns (plus any optional fields you reference like course and date), then customize the certificate text/design and email subject/sender name in the Settings step.

Nodes Used (4)

Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest