Save the date! Join us on October 16 for our Product Ops launch event. Register here.
Nov 07, 2022 11:31 PM
ALL IS OK till here
Why?
Nov 08, 2022 02:50 AM
Your document needs to be in a publicly-accessible folder, and you need to use the “Get A Share Link” module to get the web download link.
Nov 08, 2022 05:38 PM
Also is the shared file link you are using in format like this?
https://drive.google.com/uc?id={fileID}&export=download
Nov 11, 2022 10:21 AM
Which is interesting because while Make says “share link”, it really needs the download link as mentioned by @Greg_F. I suspect Make will take the share link but likely converts it behind the curtain to a download link.
Nov 11, 2022 10:50 AM
Make is not providing the share link, Google is. Make is just providing an easy front-end to Google’s API that provides the share link.
Here’s an example of what some Google Drive modules look like in Make:
Nov 11, 2022 11:03 AM
I totally get that. What I’m saying is that a Share Link is not what Make actually uses under the covers. It must be transforming the share link into a download link, otherwise, it would not be suitable for Airtable’s upsert into an attachment field.
Nov 11, 2022 11:29 AM
Sorry for confusing matters here.
I understand what you’re saying — that there is a difference between a “share link” and a “download link”
And you are absolutely 100% correct.
What I meant to say in my instructions above is that even though you use Make’s “Get a Share Link” module, that module then returns several different values in a JSON response from Google. One of these values is Google’s “Web Content Link” (which is the web content download link).
This “Web Content Link” (aka “web content download link”) is the value that you must choose to insert into Airtable’s attachment field.
Below is a sample of the JSON data that is returned by Google when using Make’s “Get A Share Link”:
[
{
"kind": "drive#permission",
"id": "anyoneWithLink",
"type": "anyone",
"role": "reader",
"allowFileDiscovery": false,
"shareLink": "https://drive.google.com/file/d/1AVKCBfygmtg9WEb5sPgyJ8vVWbZTuXiO",
"webContentLink": "https://drive.google.com/uc?id=1AVKCBfygmtg9WEb5sPgyJ8vVWbZTuXiO&export=download"
}
]