π¬ Track e-signatures and deliver signed PDFs with PDF Generator API, Gmail and Slack
β‘ 6 views Β· π¬ Document Extraction & Analysis
Description
Quick overview
This workflow receives PDF Generator API document callbacks, logs new form submissions to Google Sheets, and when a document is signed it updates the record, optimizes and downloads the signed PDF, then delivers it via Gmail, posts a Slack notification, and archives a copy in Google Drive.
How it works
- Receives a POST webhook callback from PDF Generator API at
/document-callbackwhen a form is submitted or a document is signed. - Routes the incoming event based on whether
action_data.actionequalssignedoraction_datais missing. - For form submissions, appends the signerβs details and
Signed = falseto a Google Sheets spreadsheet. - For signed events, updates the matching Google Sheets row by
Public IDto setSigned = trueand store the signing timestamp. - Uses PDF Generator API to optimize the signed PDF from the callback file URL and downloads it as a binary file.
- Emails the signed PDF to the signer via Gmail, posts a signed-notification message to a Slack channel, and uploads the PDF to a Google Drive folder for archiving.
Setup
- Add credentials for PDF Generator API, Google Sheets, Gmail, Slack, and Google Drive.
- In PDF Generator API, configure the template/form callback URL to the webhook production URL for
POST /document-callbackand ensure both submission and signed events are sent. - Create or select a Google Sheets spreadsheet with columns for the captured fields (for example: Full Name, Email, Phone, Address, City, Birth Date, Public ID, Signed, Signed At) and set the document and sheet IDs in the Google Sheets steps.
- Choose the target Slack channel, Google Drive folder, and adjust the Gmail recipient/subject/body and the uploaded PDF filename to match your process.
π Nodes Used
Google Sheets, Slack, Webhook, Google Drive, Gmail
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File