+ Start a Discussion
Aman wadhwa 18Aman wadhwa 18 

Auto upload attachments to google drive

Hi i have a requirement that if i upload any attachment to account it will automatically be uploaded to my google drive. Can anyone help me achieving this.
I had connected my google drive to salesforce org via Auth. provider and Named Credential.
dont know how to do next help.
Thanks in advance.
AbhishekAbhishek (Salesforce Developers) 

Your query is answered here,



Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Hi Aman,

Go through the below link for google drive integration. And before send your attachment save it in the Account object also in the UploadFile method.


I hope you find the above solution helpful. If it does, please mark it as Best Answer to help others too.

Thanks and Regards,
Sachin Arora
Aman wadhwa 18Aman wadhwa 18
Hi, @sachin I had integrated google drive using names credential and Auth. provider,  my requirement is when I upload a file/attachment to any account that attachment will automatically be uploaded to my drive is it possible if yes please help.
Thank you