Monthly Payslip Generator (WhatsApp & Email)
Generates a PDF payslip for every employee each month, saves it to Google Drive, sends it on WhatsApp and email, and marks payroll as sent in Google Sheets.

On this page
How it works
- A monthly trigger fetches pending payroll rows.
- Each employee's data is normalised into a payslip template.
- The HTML is converted to PDF and stored in a Drive folder.
- A shareable link is sent on WhatsApp and the PDF by email.
- The payroll status is updated in the sheet.
Use cases
- SMEs running payroll in spreadsheets
- HR outsourcing firms
- Contract staff payouts
What you need
This workflow connects to these apps.
- n8n
- Google Sheets
- Google Drive
You'll need an n8n instance, on n8n Cloud or self-hosted, and these credentials. Our credentials guide shows how to create each one.
- Gmail account
- Google Drive account
- Google Sheets account
- Twilio account
Data setup
Create these tables with these exact column names before the first run.
| Table | Columns |
|---|---|
| Automated Payroll Slip Sender → EmployeesGoogle Sheets | statusmonthReceipt PDF |
Setup
- Download the JSON and import it into n8n with Import from File, or copy it and paste it onto an empty canvas. The import guide walks through both.
- Connect the credentials listed above.
- Point the Sheets, Airtable, Drive, and Slack nodes at your own files and channels.
- Replace placeholder emails, phone numbers, and form links with your own.
- Times use the America/New York timezone and dates use MM/DD/YYYY. Change them if you need to, then test and activate. The setup guide covers this step by step.
Nodes
| Node | Type |
|---|---|
| Check If Receipt Folder Exists | if |
| Upload Receipt PDF (Existing Folder) | googleDrive |
| Upload Receipt PDF (New Folder) | googleDrive |
| Generate Public Receipt Link | set |
| Find “Staff Salary Receipts” Folder in Drive | googleDrive |
| Create “Staff Salary Receipts” Folder | googleDrive |
| Monthly Payroll Trigger | scheduleTrigger |
| Fetch Pending Payroll | googleSheets |
| Process Employees One by One | splitInBatches |
| Normalize Payroll Fields | set |
| Build Payslip HTML | code |
| Create HTML Binary | code |
| Convert Payslip HTML → PDF | httpRequest |
| Extract PDF Binary Only | code |
| Get & Rename PDF Binary to data | code |
| Make PDF Public (Read-Only) | googleDrive |
| Send Payslip via WhatsApp | twilio |
| Send Payslip via Email | gmail |
| Store Receipt Link & Mark Payroll as Sent | googleSheets |
Frequently asked questions
Generates a PDF payslip for every employee each month, saves it to Google Drive, sends it on WhatsApp and email, and marks payroll as sent in Google Sheets. It's a 20-node n8n workflow.
An n8n instance, on n8n Cloud or self-hosted, and credentials for Gmail, Google Drive, Google Sheets, and Twilio. It uses only nodes that ship with n8n, so there's nothing else to install.
It works with 1 table in Google Sheets. Create it with the column names listed under Data setup on this page before the first run.
Download the JSON, then in n8n create a new workflow, open the menu in the top right, and choose Import from File. You can also copy the JSON and paste it onto an empty canvas.
Yes. It's free to download, import, and change, with no sign-up. You only pay for the apps it connects to, where those aren't free on your plan.



