Tailflow
Skip to article
Browse documentation

Google Docs · Action

Create document from text

Makes a new Google Doc at the top of your Drive, holding the text you write, filled in from the event.

When to use it

A short write-up per large transfer that somebody will read and comment on.

At a glance

IntegrationGoogle Docs
Credits1
ConnectionGoogle Docs, by signing in

Settings

nameRequiredAccepts event fields
Name.
contentRequiredAccepts event fields
Content.

What it hands on

Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.docs_create_from_text_1.id }} — the action’s key, then which one it is if you use more than one of the same kind.

id
The document's id. It is what Append text, Find and replace text and Get document content take.
name
The document's name.
link
The address that opens the document in a browser.

Good to know

  • The text goes in as plain paragraphs, one per line.
  • Each run makes a new document, even when one with the same name already exists.
  • The document is made first and the text is added second. If adding the text fails, an empty document with the name is left in your Drive, and the step's failure gives its id.