How to Use Google Sheets Data
In the example below, we'll use a publicly available read-only Google sheet.
Create Variables in GraFx Studio
- In your template, create variables corresponding to the column names in Google Sheets.
- As long as the names match and a data source is connected, the values will be populated automatically.
Link the Google Sheet
- Select the Connector Instance (for the right Authentication method)
- Copy the link of the public document.
- Paste it into the data source field.
Preview in Run Mode or Studio UI
Run Mode (in Studio Workspace)
Studio UI
Output
To generate output with dynamic data, create an output setting.
Ensure the Data source is enabled for batch processing.
All output formats can use the data source. For PDF, the output setting decides how records are grouped: for example, all records in a single PDF with a page per record, or one record per PDF. Other formats (PNG, JPG, GIF, MP4) produce one file per record, delivered in a ZIP.
Google Sheet Setup guidelines
- Column Range: Values from all columns will be read1.
- Header: Your Google Sheet column names must match the Smart Template variable names
- Column Data Type
- Row Structure: The sheet must NOT contain empty rows between rows with data

- Sharing
OAuth2.0 JWT Bearer authentication: Share it with the service account setup during configuration of the Connector.
OAuth2.0 Authorisation Code: share with the user who is authorising.
Public: All people with the link can access your document. You can set it to read-only or editable.
-
Although all columns from the Google Sheet will be read, relying on too many variables may significantly slow down performance. ↩











