コミュニティアチーブメントバーを展開する。

Applications for the Community Advisor Program Class of 2025 are NOW OPEN – Apply Today!
解決済み

How to export a file to a Google Drive folder ?

Avatar

Level 2

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

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

Hello @Terry25 ,

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

元の投稿で解決策を見る

2 返信

Avatar

正解者
Community Advisor

Hello @Terry25 ,

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

Avatar

Level 2

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