Create file from template
The Google Drive Create File from Template tool allows you to effortlessly generate new Google Docs files using predefined templates. By leveraging placeholders within your templates, you can dynamically replace content to tailor documents to your specific needs.
Features
- Create new Google Docs files directly from a template document.
- Supports dynamic content replacement using placeholders in the format {{placeholderName}}.
- Option to specify the destination folder in Google Drive for the new files.
- Allows creation of files in Google Doc format, PDF format, or both simultaneously.
- Integrates seamlessly with automated workflows via Pipedream for enhanced productivity.
Benefits
- Streamlines document creation, saving time and reducing manual effort.
- Ensures consistency by using standard templates across all documents.
- Improves accuracy by automating data insertion with placeholders.
- Enables organized file management by specifying target folders automatically.
- Facilitates scalable document generation suitable for various business needs.
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 |