Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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 Accepted Solution

Avatar

Correct answer by
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

View solution in original post

2 Replies

Avatar

Correct answer by
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

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