How to export a file to a Google Drive folder ? | Community
Skip to main content
June 2, 2020
Solved

How to export a file to a Google Drive folder ?

  • June 2, 2020
  • 1 reply
  • 2874 views

Hi All,

 

Can someone explain me please how to explain me how to transfer a file from a workflow when it runs to a Google Drive folder via a file transfer or a web download activity ?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Manoj_Kumar

Hello @17379115 ,

We cannot use the Google drive as a SFTP location so the normal filer transfer activity will not work.
You will have to first use the file extraction activity to create a file on your server.

Then you will have to use the Google Drive API to push the file dynamically by writing the javascript code.
You can refer to the details documentation here on how to use the Google Drive API

 

Let me know if that helps

1 reply

Manoj_Kumar
Community Advisor
Manoj_KumarCommunity AdvisorAccepted solution
Community Advisor
June 2, 2020

Hello @17379115 ,

We cannot use the Google drive as a SFTP location so the normal filer transfer activity will not work.
You will have to first use the file extraction activity to create a file on your server.

Then you will have to use the Google Drive API to push the file dynamically by writing the javascript code.
You can refer to the details documentation here on how to use the Google Drive API

 

Let me know if that helps

Manoj     Find me on LinkedIn
June 16, 2020

Hi Manojk,

Thanks for your answer.

 

sorry, I’m not very familiar with JS. Would you mind please give me more explanation?

when you say I need to push the file by writing a JS code, do you mean in the WF where I want to export data ?

would you mind to give me an example ?

thanks