Add the ‘Create New Document from Template’ Tool step to your Tool

You can add the ‘Create New Document from Template’ Tool step to your Tool by:
  1. Creating a new Tool, then searching for the ‘Create New Document from Template’ Tool step
  2. Click ‘Expand’ to see the full Tool step
  3. Select the account you would like to use
  4. Select the template you would like to use (this is just any existing document in your Google Drive)
  5. Select the folder to save the new document in
  6. Pick a name for the new document
  7. Select the output file type (PDF, DOCX or both)
  8. Enter the text you want to replace the placeholders with
  9. Click ‘Run step’ to test out the Tool

Parameters

Template
string
required
Select the document you would like to use as a template.
Folder
string
required
Specify the folder where the new document will be saved.
Name
string
required
This will be the name of the new file.
Mode
options
required
This is the file type of the new document. Choose from PDF, DOCX or both.
Replace Text Placeholders
json
required
This is a JSON object that contains the text placeholders and the text to replace them with.
{
  // This will replace all instances of {{Name}} with "John Doe"
  "Name": "John Doe",
  // This will replace all instances of {{Date}} with "2025-01-01"
  "Date": "2025-01-01"
}

Frequently asked questions (FAQs)