When to use it
Sharing the report a step above saved with whoever needs to see it, or making it public and posting the link in a message.
At a glance
| Integration | Google Drive |
|---|---|
| Credits | 1 |
| Connection | Google 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.
with- Share with.
emailOptionalAccepts event fields- Email. The person to share with. Not used for anyone with the link.
role- Access.
notify- Notify. Send the person an email from Google saying the file was shared. On or off.
messageOptionalAccepts event fields- Message. Added to the email when Notify is on. Under More options.
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_share_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.
permission_id- The id Google Drive gave this share.
Good to know
- No email is sent unless Notify is on.
- The file is never given away. The person who connected Google Drive stays its owner.
- Only files made by Google Drive steps can be shared.
- Anyone with the link can open the file without signing in. Use it only for files that may be public.