This playbook uploads files from Gmail to Google Drive. Check out the Dropbox alternative.
To save attachments from incoming emails to Google Drive automatically, you will need to set up a trigger event in the Automations tab.
Write the following command:
You can also specify other parameters such as the sender [from] or a keyword from the subject line [with subject matching].
After, select THEN and reference the playbook [Upload email attachment to Google Drive].