Create file from text
The Google Drive Create File from Text tool enables users to effortlessly generate new files directly within their Google Drive using plain text input. Ideal for automating document creation, this tool supports multiple text formats and can organize files within specific folders or shared drives.
Features
- Supports creation of files in formats including plain text, markdown, HTML, RTF, and CSV.
- Allows specification of the target drive, including My Drive or Shared Drives.
- Enables placing new files inside designated folders via parent folder ID.
- Customizable file naming for easy identification and organization.
- Integrates with Google Drive API to streamline file creation seamlessly within workflows.
Benefits
- Streamlines the process of creating and saving text-based files in Google Drive without manual intervention.
- Enhances productivity by automating file generation as part of broader automated workflows.
- Ensures better organization by supporting file placement in specified folders or shared drives.
- Supports multiple file formats to fit various document and data needs.
- Facilitates easy integration with other tools and services via API for comprehensive automation solutions.
Description
Create a new file from plain text. See the documentation for more information
Parameters
5 parameters
| Name | Type | Description |
|---|---|---|
| drive | string | Defaults to |
| parentId | string | The folder you want to add the file to. If not specified, the file will be placed directly in the drive's top-level folder. |
| name | string | The name of the file you want to create (e.g., |
| content | string | Enter text to create the file with. |
| mimeType | enum | The format in which the text is presented |