What is the validity time of the link to a file uploaded using a ZAP to Dropbox?
I am using ZAPIER to integrate to dropbox. The process is as follows:
Write file to dropbox folder with a specific file name (ZAP task)
Get a link to the file added in step 1 above via ZAPIER and include the link in an email (ZAP task)
My question: How long will the link I got via ZAPIER be valid for?
To put some context into my question, I ran the process and the links expired within twently four hours.
Page 1 / 1
Hi @OnlineInterpretersWorldwide, great question!
I’m not sure what the default is, but there are settings in Dropbox for defining the shared link expiration. So I’m thinking that adjusting those settings might help to fix the issue here. You can find details on how to do that here: How to set an expiration date for a shared link
Eager to ensure you’re all set so please let us know whether adjusting the file expiration settings in Dropbox solves it!
Hi @OnlineInterpretersWorldwide, great question!
…..there are settings in Dropbox for defining the shared link expiration. So I’m thinking that adjusting those settings might help to fix the issue here. …..
Thx@SamB.
I have my settings set to “no expiery date”…. It seems as though the ZAP is doing something at the time it calls dropbox for a link to the file.
I connected the first line support, but they don’t have access to this level of detail, so they have escalted the ticket up to the devloper team (I believe) to find an answer.
In the meantime, does anyone use this integration to dropbox? Does anyone have any experience with it?
Here is one of the actual files that is representative of the whole folder:
You can use a Formatter > Text > Replace step in the Zap to prep the URL.
Hi @OnlineInterpretersWorldwide
This is the view link of the file. (ends with dl=0)
You can use a Formatter > Text > Replace step in the Zap to prep the URL.
Thx Troy.
Not sure I understand what you are saying as my work flow is:
I generate the pdf in a seperate app (also using a ZAP from a 500 record database)
The ZAP has a task to write the generated file to dropbox with the email address as the name
The next ZAP task generates an email from a template in which I specify the dropbox account, folder and file name structure i.e. the email - via parameters in the ZAP
The emails get generated and sent out. The links generated work for 24 hrs and then tehy give the following error message:
So the link is notlonger active. However if I generate a link in dropbox for the same file, it is active.
Conclusion is that ZAPIER is adding some Meta Data to the link that makes it valid for 24hr only.
@OnlineInterpretersWorldwide
We’ll need to see detailed screenshots with how your Zap steps are configured in order to have full context, thanks.
My previous feedback was for using the direct download link of a Dropbox file vs the view link for a file from Dropbox.
Depends how you are using the file link in the email: body of email as a link OR as an attachment
Here is a pdf with the screenshots of each step i.e.:
I generate the pdf in a seperate app (also using a ZAP from a 500 record database) - no screen shot
The ZAP has a task to write the generated file to dropbox with the email address as the name - screenshot nr 2 - I do this as soon as the file enerated in step 1 has a URL valid for one hr only. However the file uploaded to dropbox is still accessible when I go into the folder in my dropbox account
The next ZAP task generates an email from a template in which I specify the dropbox account, folder and file name structure i.e. the email - via parameters in the ZAP - Screenshot 3 is the Zap that adds the dropbox link to the cusotomer record in SendInBlue. Screen shot 1 shows how I call the dropbox link in my email app i.e. SendInBlue.
SO the link I have uploaded to the Cusromer record in SendInBlue from dropbox with the ZAP seems to have the Meta Data that has the restrictions in it. The file is visible in my dropbox account. The ZAP generated link to the dropbox file has the limited time validity.
@OnlineInterpretersWorldwide
You may need to add a Zap step for Dropbox:
The mapped variable for the Direct Media Link seems to be a temp file as you’ve mentioned.
You can use a Formatter > Text > Replace step in the Zap to prep the URL.
This doesn’t show how the Link field is being used in the email template. (in the body of the email or as an attachment)
The thing is @Troy Tessalone my ZAP works. All the tasks are carried out and be seen in the logs and the tests. I even ran the ZAP on 200 of the 500 records and everything was fine….for the first 24 hrs. The only problem is that the link becomes inactive after 24hrs. The link validity is the issue and not the link itself. The link works fine for the first 24hrs.
If I rerun the ZAP the links genertaed are also ok….for 24 hrs...then they give an error 404.
@OnlineInterpretersWorldwide
Correct, you need to use a different link because the one you are trying to use is a temp link that expires.
You need to use the direct download link of the file. (ends with dl=1)
You can use a Formatter > Text > Replace step in the Zap to prep the URL.
A very kind person on the ZAPIER support team went through the API documentation of dropbox and found out that there is an issue with the validity of the link generated by the ZAP used in the way I was using it. The recommended way to get the url from dropbox is by using this action.