Tool

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.

google_docs

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

NameTypeDescription
templateIdrequiredstring

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 {{xyz}}.

folderIdrequiredstring

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.

namerequiredstring

Name of the file you want to create (eg. myFile will create a Google Doc called myFile and a pdf called myFile.pdf)

moderequiredstring[]

Specify if you want to create a Google Doc, PDF or both.

replaceValuesrequiredobject

Replace text placeholders in the document. Use the format {{xyz}} in the document but exclude the curly braces in the key. (eg. {{myPlaceholder}} in the document will be replaced by the value of the key myPlaceholder in the action.

Ready to vibe automate?

Join thousands of people who have transformed their workflows.

Workflows

Automations with AI agents

Collections

All your data, searchable

Chat Widget

Drop-in widget for your website

Developer API

Build AI-powered apps with ease

    We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy