HOW TO ENSURE THAT FILES RECEIVED BY E-MAIL ARE AUTOMATICALLY TRANSFERRED TO DRIVE ?
Have you ever experienced :
- Opening a file in your e-mails
- Not downloading it
- Spending time to find it again ?
We have the solution ! Keep reading to learn more about our fantastic project...
WHAT WE OFFER
Let us introduce you to our API (Application Programming Interface) which will allow you to automatically upload your attachments to your Google drive. Thus, when you will be looking for your attachments, you will only have to do a quick research in your Google Drive and you will save a lot of time !
Simple, timeless and effortless !
HOW IT WORKS
API is a platform that connects two distinct applications and conveys information from one app to the other. It does not require any user intervention.
Basically, the API operates in three steps :
- When you receive an email with an attachment, our API (developed on Zapier, a software on which we can create APIs) is notified and triggers a webhook.
- The webhook retrieves the attached file...
- ...and uploads it directly into your Google Drive.
Now you can view your attachments directly in your drive !
HOW TO CREATE YOUR WEBHOOK
First step, create a webhook that will retrieve attached files from your mailbox.
- Create an account or log in to Zapier
- In the menu, click on "Create a Zap"
- Select the name of the application on which you receive your attachments, which is in this case Gmail
- Click on "New Attachment". Your API will now be triggered each time you receive an attachment
- Click on "Continue"
- Choose the Gmail account
- Log in to your Gmail account
- Continue
- Set up the type of message from which you want to retrieve attachments: Sent, Inbox, Important, Trash... ?
- Test your trigger to check if it works well
- Continue
Congrats, you're halfway there !
Now, let's create the second part of our webhook which consists in defining the location on our drive where we will upload the attachments.
- Choose the app on which you want to upload your attachments, here Google Drive
- Select your action. Here, as you wish to upload a file, click on "Upload a file", which will copy your existing file to Google Drive
- Continue
- Log in to the drive on which you want to upload your files
- Continue
- Choose in this order: the drive on which you are going to put your attachments, the target folder on which you are going to upload all your attachments
- Choose a file that will be uploaded as a test, and choose whether you want to convert it or not
- Continue
- Test your action
- If it was successful, then you can "turn on" your Zap :)
You have finished !