Skip to content

Generate Document

This action will let you generate a document or a pdf file from a template Google Docs file.


  1. Name - By default, it is prefilled by the name of the action. You can change it based on your preferred action name.
    Template File
  2. Connection - Your selected Google Drive connection. Note that you have to select the connection where you have access to view, edit, create, or delete files.
    Destination File
  3. Destination Folder - The folder where the generated document will be saved.
  4. New Document Filename - The file name to be given to the generated document.
    Other File Types
  5. Generate HTML - If enabled, another HTML file will be generated based from the template file.
  6. Generate PDF - If enabled, another PDF file will be generated based from the template file.

Demonstration on how to use it in a flow

  1. Drag and drop the Generate Document action into the flow.
  2. Click the gear icon to open its settings. Google Docs Template
  3. Click the Connection dropdown list and select a particular Google Drive connection Google Docs Template Google Docs Template

    Or you can set up a new Google Drive connection by clicking the “Add Connection” icon. Google Docs Template

  4. Select a Google Docs template where the document to be generated will be based from. To do it, click the "Google Drive" icon on the field under the Connection field.

  5. Navigate to the file then select it.
  6. Click the “Select” button. Google Docs Template
  7. Select the destination folder of the document to be generated. To do it, click the "Google Drive" icon on the Destination Folder field.
  8. Navigate to the folder then select it.
  9. Click the "Select" button. Google Docs Template
  10. Enter your desired file name of the generated document. Google Docs Template


Upon executing this flow, a new Google Docs file with a filename Contract for Sasha Doe will be generated and saved to Employee Records folder. This generated Google Docs file is the same with the Contract Google Docs file that was selected as the template file except the filename. Google Docs Template