Google Assistant
Google Drive
ifttt

An automated workflow using ifttt

Connects Google Assistant + Google Drive

[ACC] Shut down computer (Google Drive)

About this workflow template

This automation scenario allows you to connect Google Assistant and Google Drive

It can be build using Ifttt, a no-code workflow automation tool. Ifttt allows you to create automated bots using a simple drag-and-drop interface for non-technical users. This is a ready-made scenario, but it can be customized by adding more apps, actions, filters or branches.

Google Assistant and Google Drive can also be integrated using automation tools other than ifttt:

Diagram

[ACC] Shut down computer (Google Drive)
Workflow diagram: Google Assistant + Google Drive integration

How it works?

When this trigger fires in Google Assistant

Google Assistant

Say a simple phrase in Google Assistant

This trigger fires when you say “Ok Google” to the Google Assistant followed by a phrase you choose. For example, say “Ok Google, I’m running late” to text a family member that you’re on your way home.

Then this action happens in Google Drive

Google Drive

Upload file from URL in Google Drive

This action will download a file at a given URL and add it to Google Drive at the path you specify. NOTE: 100 MB file size limit.

How to set up this workflow

This guide contains information on how to set up an automatic workflow that allows to [ACC] Shut down computer (Google Drive).

Part I

Configure Applications

First, we need to connect Google Assistant and Google Drive to IFTTT.

  • Create IFTTT account.

    Create IFTTT account.

    Create IFTTT account if you don't have one.

  • Connect Google Assistant to IFTTT.

    Connect Google Assistant to IFTTT.

    Give IFTTT access to your Google Assistant account, using Google Assistant credentials.

  • Connect Google Drive to IFTTT.

    Connect Google Drive to IFTTT.

    Give IFTTT access to your Google Drive account, using Google Drive credentials.

Part II

Build an integration workflow

Next, we need to create a workflow automation scenario using graphical no-code web interface of IFTTT.

  • Set up a Trigger action for Google Assistant

    Set up a Trigger action for Google Assistant

    Choose the following trigger: Say a simple phrase (This trigger fires when you say “Ok Google” to the Google Assistant followed by a phrase you choose. For example, say “Ok Google, I’m running late” to text a family member that you’re on your way home.).

  • Then set up an Action for Google Drive

    Then set up an Action for Google Drive

    Choose this action: Upload file from URL (This action will download a file at a given URL and add it to Google Drive at the path you specify. NOTE: 100 MB file size limit.).

Part III

Test and Publish

Finally, we need to test this automation and publish it.

  • Customize data flow

    Customize data flow

    Configure the data that is exchanged between Google Assistant and Google Drive.

  • Test the workflow and turn it on for production use

    Test the workflow and turn it on for production use

    Test your scenario and publish to production. Now you have an automatic workflow, that will [ACC] Shut down computer (Google Drive)!

Supported triggers and actions

  • Google Drive

    New file in folder (legacy)

    Triggers when a new file is created within a specific folder (but not its subfolders). Please note for files moved to a folder, this trigger may not work as expected, use the newer version for that use case.

    zapier
    triggerbyzapier
  • Google Drive

    New file

    Triggers when any new file is added (inside of any folder).

    zapierautomateiopabbly-connect
    triggerbyzapierautomateiopabbly-connect
  • Google Drive

    New file in folder

    Triggers when there is a new file in a specific folder

    automateiozapier
    triggerbyautomateiozapier
  • Google Drive

    Watch files in a folder

    Triggers when a file is created or modified in a selected folder.

    integromat
    triggerbyintegromat
  • Google Drive

    Updated file

    Triggers when a file is updated in a specific folder (but not its subfolders).

    zapierautomateiopabbly-connect
    triggerbyzapierautomateiopabbly-connect
  • Google Drive

    New file in your folder

    This trigger fires every time a new file is added to the Google Drive folder you specify. Note: Does not work for Google Docs, Forms, or Sheets files.

    ifttt
    triggerbyifttt
  • Google Assistant

    Say a simple phrase

    This trigger fires when you say “Ok Google” to the Google Assistant followed by a phrase you choose. For example, say “Ok Google, I’m running late” to text a family member that you’re on your way home.

    ifttt
    triggerbyifttt
  • Google Assistant

    Say a phrase with a text ingredient

    This trigger fires when you say “Ok Google” to the Google Assistant followed by a phrase like “Post a tweet saying ‘New high score.’” **Use the $ symbol to specify where you'll say the text ingredient

    ifttt
    triggerbyifttt
  • Google Assistant

    New pushed voice message

    Triggers when invoked via Google Assistant

    zapier
    triggerbyzapier
  • Google Assistant

    Say a phrase with a number

    This trigger fires when you say “Ok Google” to the Google Assistant followed by a phrase like “Set Nest thermostat to 68.” **Use the # symbol to specify where you'll say the number ingredient

    ifttt
    triggerbyifttt
  • Google Assistant

    Say a phrase with both a number and a text ingredient

    This trigger fires when you say “Ok Google” to the Google Assistant followed by a phrase like “Block time for ‘exercise’ at 6 PM.” **Use the # symbol to specify where you'll say the number ingredient and $ where you'll say the text ingredient

    ifttt
    triggerbyifttt

Apps you need

Google Assistant

Google Assistant

Marketing Automation

AI-powered virtual assistant by Google

Meet your Google Assistant. Ask it questions. Tell it to do things. It's your own personal Google, always ready to help whenever you need it. Create custom voice commands for your Google Assistant. Available on Android, iOS and Google Home devices.

Google Drive

Google Drive

Cloud Storage

A comprehensive cloud storage solution

Google Drive is a versatile cloud-based platform that lets you store your files, photos, videos, and more safely. You can access them from anywhere and share with others, making collaboration a breeze.

IFTTT

IFTTT

Automation Platforms

An automation service with a simple formula - IF This Then That

IFTTT helps to create applications connections with a simple statement: if this then that. For example: "Tweet your Instagrams as native photos on Twitter". You define a task by a trigger and an action.