Turning Google Forms Submissions into PDFs
Google Forms makes it easy to collect information — event registrations, applications, feedback, orders. But the responses sit in a spreadsheet. What if each submission could automatically produce a polished PDF — a certificate, receipt, ticket, or confirmation letter — and even email it to the submitter?
This guide shows you three ways to connect Google Forms to Mergram for PDF generation, from fully manual to fully automated.
How It Works
The workflow follows a simple pipeline:
Google Forms → Google Sheets → Mergram → PDF
Google Forms automatically saves every submission to a linked Google Sheet. Mergram reads that spreadsheet data and merges it into your PDF template. Automation platforms like Zapier connect the pieces to run the pipeline automatically.
Method 1: Manual — Google Sheets Integration
This method requires no automation tools. You collect responses, then generate PDFs on demand.
Step 1: Create Your Google Form
- Go to forms.google.com and create a form
- Add fields that correspond to your PDF template (name, email, date, etc.)
- Click the Responses tab, then click Link to Sheets
- Google creates a spreadsheet with columns matching your form fields
Use short, descriptive field names
Google Forms uses your question text as column headers in the spreadsheet. Keep names short and clear (e.g., “FirstName” instead of “What is your first name?”). This makes mapping easier in Mergram.
Step 2: Design Your PDF Template
- Upload a PDF template to the Mergram editor
- Place text fields where form data should appear
- Add any static elements (logo, header text, decorative borders)
Step 3: Connect Google Sheets
- In the editor, click Load Data and select Google Sheets
- Authorize Mergram to access your Google account
- Select the spreadsheet linked to your form
- Choose the correct sheet tab (usually “Form Responses 1”)
Step 4: Map Fields and Merge
- Drag spreadsheet columns onto the canvas to create mapped fields
- Preview with real submission data to verify accuracy
- Click Merge to generate PDFs for all rows
Refresh data before merging
Google Sheets data in Mergram reflects the spreadsheet at load time. If new form submissions arrive, click the refresh button in the data panel to pull the latest rows before merging.
Method 2: Automated via Zapier
For hands-off operation, connect Google Forms to Mergram using Zapier.
Step 1: Create the Template in Mergram
- Design and save your PDF template in Mergram
- Note the template ID (visible in the URL or via the API)
- Generate an API key in Developer → API Keys
Step 2: Set Up the Zapier Zap
- Trigger: Choose Google Forms → New Response in Spreadsheet
- Select your form and the linked spreadsheet
Step 3: Add the Mergram Action
- Action: Choose Webhooks by Zapier → Custom Request
- Configure:
- Method:
POST - URL:
https://mergram.com/api/v1/merge - Headers:
Authorization: Bearer mg_your_api_key - Payload Type:
JSON
- Method:
- Build the data payload using form field values from the trigger:
{
"templateId": "your-template-id",
"data": [
{
"FirstName": "{{trigger.first_name}}",
"Email": "{{trigger.email}}",
"EventDate": "{{trigger.event_date}}"
}
]
}
Step 4: Test and Activate
- Submit a test response through your Google Form
- Verify the Zap triggers and Mergram generates the PDF
- Turn on the Zap for live operation
Add email delivery
Add a follow-up step in Zapier to send the generated PDF via email. After the merge completes, use the Zapier email action to notify the submitter with a download link or send the PDF directly via Mergram’s email campaign.
Method 3: API Automation (For Developers)
For maximum control, build a custom integration using the Mergram REST API.
Architecture
Google Form → Google Sheets → Your Script → Mergram API → PDF
Implementation Steps
- Watch for new rows — Use the Google Sheets API to detect new form submissions (polling or push notifications)
- Send to Mergram — POST new row data to
/api/v1/mergewith your template ID - Handle the response — Poll
/api/v1/jobs/:idfor completion status - Distribute — Download the PDF or trigger an email send
Webhook alternatives
If you’re building a custom backend, consider using Google Apps Script to push new form submissions directly to your server, which then calls the Mergram API. This avoids polling and gives you real-time processing.
Common Use Cases
| Form Type | Generated PDF | Distribution |
|---|---|---|
| Event registration | Event ticket or confirmation | Email to registrant |
| Course enrollment | Certificate of enrollment | Email + archive |
| Application form | Application confirmation letter | Email to applicant |
| Feedback survey | Summary report with responses | Internal download |
| Order form | Receipt or invoice | Email to customer |
| Waiver / consent | Signed consent PDF | Email + archive |
Tips for Google Forms Workflows
- Validate form fields — Use Google Forms built-in validation (required fields, email format, number ranges) to ensure clean data before it reaches Mergram
- Include a timestamp column — Google Sheets automatically adds a timestamp. Map it to your PDF for a submission date
- Handle file upload fields carefully — Google Forms file uploads go to Google Drive, not the spreadsheet. You cannot directly merge uploaded files into your PDF template
- Test with real submissions — Before automating, manually process a few real form responses to verify field mapping and output quality
- Set up error notifications — In Zapier, configure a notification step for failed merges so you know when something goes wrong
Common Issues and Troubleshooting
Column headers don’t match: Google Forms may modify your question text (adding spaces, truncating long names). Check the actual column headers in the linked spreadsheet and adjust your Mergram field names accordingly.
New submissions not appearing: Click the refresh button in Mergram’s data panel to pull the latest rows from Google Sheets. For automated workflows, the API receives data directly — no refresh needed.
Zapier payload format errors: Ensure the JSON payload uses the correct column header names from your Mergram template, not the Google Form question text. They may differ.
PDF looks different from preview: Upload a custom font to Mergram that matches your template’s typography. The default Inter font may not match your template’s original styling.
Get Started
Create a Google Form linked to a spreadsheet, design your PDF template in the Mergram editor, and connect the two. Start with manual merging, then add Zapier automation when you’re ready for hands-off operation.