Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / Документы, PDF и OCR

Документы, PDF и OCR

Выдача сертификатов о завершении курса для группы с помощью Pdfmill, Gmail и Google Drive

Запускается вебхуком со списком участников группы: создаёт PDF-сертификат для каждого человека с помощью pdfmill, отправляет его по почте через Gmail и сохраняет копии в Google Drive.

Что делает

## Expected payload POST a cohort to the Production webhook URL: json { "program": "Automation 101", "organization": "Acme Academy", "issuer": { "name": "Ada Lovelace", "title": "Head of Training" }, "completedAt": "2026-08-01", "attendees": [ { "name": "Alan Turing", "email": "alan@example.com", "hours": 12 }, { "name": "Grace Hopper", "email": "grace@example.com", "hours": 12, "grade": "Distinction" } ] } ### Required cohort fields - program (or programName / course) - organization (or org) - issuer.name and issuer.title (top-level aliases are accepted) - completedAt as YYYY-MM-DD (or completionDate) ### Required attendee fields - attendees must be a non-empty array. - Every attendee needs name, one standard mailbox in email (or emailAddress), and positive numeric hours (or duration). recipientName/fullName, result, and completionDate are accepted aliases. Attendee grade is optional and defaults to Completed; an attendee completion date may override the cohort date. Certificate numbers include the n8n execution ID, preventing adjacent workflow executions from sharing numbers. Connect a pdfmill API credential, Gmail, and Google Drive. Select the Drive folder where certificates should be archived.

Шаги

  1. When a cohort completes
  2. Validate and build the cohort certificates
  3. Is the entire roster valid?
  4. Generate each certificate PDF
  5. Email each certificate to its attendee
  6. Archive each certificate in Google Drive
  7. Wait for email and archive
  8. Return the issued count
  9. Return one 400 roster error

Похожие автоматизации