Merge Fields

Learn how to map Google Form responses to placeholders in your document templates and enable dynamic image or QR code generation.

Mapping Form Fields to Placeholders

In the Merge Fields Tab, you connect your Google Form responses to the placeholders used in your selected template (Docs, Slides, or Sheets).

  • Smart Form Publisher automatically detects all placeholders from the chosen template.
  • Each placeholder (e.g., {{Full Name}}, {{Email}}, {{Date}}) can be mapped to a corresponding question in your Google Form.
  • If an automatic match isn’t found, you can manually map the placeholder to the correct field from your form.

This mapping ensures that each respondent’s data is inserted correctly when the document is generated.

Merge Field Mapping Interface

Merging Images from File Upload Questions

To insert respondent-uploaded images (like a profile photo, logo, or ID card) into your document:

  1. Add a File Upload question in your Google Form.
  2. In the Merge Fields tab, map that question to an image placeholder in your template — for example: {{Photo}}, {{Profile Picture}}, {{Company Logo}}.
  3. The add-on automatically scales and positions the image proportionally to fit the placeholder box in your Doc, Slide, or Sheet.
🔐 Important: Uploaded files must have “Anyone with the link can view” access. Without this, Smart Form Publisher won’t be able to fetch and display the image.
File Upload Mapping Example

QR Code Generation

Smart Form Publisher can generate unique QR codes dynamically within your documents. This is especially useful for certificates, receipts, or verification workflows.

To Enable QR Codes:

  1. In the Merge Fields tab, select a form field you want encoded in the QR (such as Email, Form ID, or Custom Code).
  2. Insert the {{QR}} placeholder into your template where the QR should appear.
  3. Each generated document will include a unique QR based on the selected data.

Common Use Cases:

  • Add a QR that encodes the respondent’s verification link.
  • Include a QR that redirects to a specific Google Form response or Drive file.
  • Generate internal document tracking codes.

Pro Tip

You can mix both text and image placeholders in your template. For instance, your certificate or document could include:

  • {{Full Name}} – Respondent’s name
  • {{Date}} – Submission date
  • {{Photo}} – Uploaded image
  • {{QR}} – Unique verification code

Smart Form Publisher automatically merges them all during document generation — no manual editing required.


By configuring the Merge Fields tab correctly, you ensure every published document contains accurate, personalized data and dynamic visuals.