Create document from template
The Google Docs Create Document from Template tool enables automated creation of Google Docs and PDFs from predefined templates. It supports dynamic content replacement through customizable placeholders, streamlining document generation workflows.
Features
- Create new Google Docs or PDFs from existing templates.
- Support for dynamic placeholder replacement in documents.
- Ability to specify destination folder for created files.
- Option to generate both Google Docs and PDFs simultaneously.
- User-friendly integration with Pipedream workflows for automation.
Benefits
- Saves time by automating document creation processes.
- Ensures consistent document formatting using templates.
- Simplifies customization with easy placeholder replacement.
- Enhances productivity by organizing output files automatically.
- Integrates seamlessly with other automation tools and APIs.
Description
Create a new Google Docs file from a template. Optionally include placeholders in the template document that will get replaced from this action. See documentation
IMPORTANT: The arguments have specific formats. Please follow the instructions below:
- mode: Return JSON in this format: string[]
Parameters
5 parameters
| Name | Type | Description |
|---|---|---|
| templateIdrequired | string | Select the template document you'd like to use as the template, or use a custom expression to reference a document ID from a previous step. Template documents should contain placeholders in the format |
| folderIdrequired | string | Select the folder of the newly created Google Doc and/or PDF, or use a custom expression to reference a folder ID from a previous step. |
| namerequired | string | Name of the file you want to create (eg. |
| moderequired | string[] | Specify if you want to create a Google Doc, PDF or both. |
| replaceValuesrequired | object | Replace text placeholders in the document. Use the format |