Explore Plans
Mobile menu Close menu
Google DocsGoogle Docs

New document added

This trigger fires when a new document is added to a Google Drive folder. Note: only works for docs created after the Applet is turned on.

Developer info

API endpoint slug
google_docs.new_document

Trigger fields

Path Text input > Other

Label
Drive folder path
Helper text
Format: folders separated by "/" like "Documents/Photos/Receipts." If blank, will look for files added to "My Drive."
Slug
path
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

Slug
created_at
Filter code
GoogleDocs.newDocument.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Document URLURL to the document on Google Docs.

Slug
document_url
Filter code
GoogleDocs.newDocument.DocumentUrl
Type
Web URL
Example
https://docs.google.com/document/d/1rjj18j2QxgXqS_ylk22j0_htn_UQ4kT-dlVGi8rsQd8/edit

NameThe name of the document.

Slug
name
Filter code
GoogleDocs.newDocument.Name
Type
String
Example
Poems

PathPath of the folder containing the new document.

Slug
path
Filter code
GoogleDocs.newDocument.Path
Type
String
Example
/IFTTT/Memos

BodyPlaintext body of the document.

Slug
body
Filter code
GoogleDocs.newDocument.Body
Type
String
Example
Great weather conditions in the Bay Area

Body HTMLHTML version of the contents.

Slug
body_html
Filter code
GoogleDocs.newDocument.BodyHtml
Type
String
Example
<body><p>Great weather conditions in the Bay area</p></body>