Generate LMS completion certificates with Groq, PDFShift, Gmail and Slack
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Slack, Google Sheets and Gmail. It also calls api.groq.com and api.pdfshift.io over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Lookup Course Pass Threshold (Google Sheets): uses Google Sheets
- Slack: uses Slack
- Check – Score Meets Pass Threshold (If): checks a condition and branches into true / false
- Groq AI – Generate Personalised Certificate Text (HTTP Request): calls api.groq.com (POST)
- Build Styled HTML Certificate (Code): runs custom JavaScript code
- PDFShift – Convert HTML Certificate to PDF (HTTP Request): calls api.pdfshift.io (POST)
- Log Issued Certificate to Registry (Google Sheets): append or update
- Gmail: uses Gmail
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
HTTP calls to: api.groq.com, api.pdfshift.io
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Error Trigger
n8n-nodes-base.errorTrigger - Slack
n8n-nodes-base.slack - HTTP Request
n8n-nodes-base.httpRequest - Webhook
n8n-nodes-base.webhook - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow receives an LMS course-completion webhook, checks a passing score from Google Sheets, generates personalised certificate text with Groq (Llama), converts a styled HTML certificate to a PDF with PDFShift, logs the issuance to…