Question

How to save list of files in Google Drive using webhook - JSON

  • 11 January 2024
  • 1 reply
  • 34 views

Hi guys,

I am struggling with saving the list of files in google drive using webhook. 

---------The image is saved in my database like that: 

IMAGE: https://image-example.jpeg - to save it on my google drive I use JSON and I don’t have any problem to save it (this is not a list, but just one item), all works good.

---------BUT, when it comes to files, my files are saved in my database (BUBBLE.IO) like below:

FILES: My first list of files as a list of files:
           //file1-example.pdf
           //file2-example.docx

           My second list of files as list of files:
          //file3-example.pdf
          //file4-example.docx

My JSON for WEBHOOK for list of files:

{

          "FirstListOfFiles": [

                "https:file1-example.pdf",
                "https:file2-example.docx"

],
          "SecondListOfFiles": [
                "https:file3-example.pdf",
                "https:file4-example.docx"
]
}

So I use webhook and “Encode file URLs for GOOGLE DRIVE” it doesn’t work and saves these files as .TXT file in my Google Drive.

I tried a lot of configuration so I would appreciate any help with it.

Thank you.


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @charleski 

Good question.

Try using the Looping app to iterate thru 1+ files.

https://zapier.com/apps/looping/help