Tailflow
Skip to article
Browse documentation

Google Drive · Action

Copy file

Makes a copy of a file, with a new name and in another folder if you want one.

When to use it

Starting each event's report from the same template file, then sharing the copy.

At a glance

IntegrationGoogle Drive
Credits1
ConnectionGoogle Drive, by signing in

Settings

fileRequiredAccepts event fields
File. The file's id or link, usually from a step above. Only files made by Google Drive steps can be reached.
nameOptionalAccepts event fields
Name. Leave blank to let Google Drive name the copy.
folder
Folder. Leave blank to let Google Drive choose where the copy goes. Only folders made by Google Drive steps are listed. Picked from your account's own list, or typed.

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.drive_copy_file_1.id }} — the action’s key, then which one it is if you use more than one of the same kind.

id
The file's id. It is what Copy file and Share file take.
name
The file's name in Drive.
link
The address that opens the file in a browser.

Good to know

  • Only files made by Google Drive steps can be copied. A file you made yourself in Drive is out of reach.
  • A file that no longer exists fails the step. The flow keeps running.