I have a zap as pictured.
Stage 1 triggers on a newly labelled message
Stage 2 works fine
Stage 3 successfully uploads the the plain text from the email to google drive as a google docs document
Stage 4 uses the exportlinks/pdf to save a pdf copy alongside the google docs version. This fails with error message “unauthorized”
Stage 5 uses the exportlinks/pdf to email a pdf copy. This also fails with error message “unauthorized”
Stage 6 works fine
The failure happens with other export links options such as zip, but doesn’t happen if you just use the file output.
I’ve reconnected my connected apps in https://zapier.com/app/connections and running test connection returns ‘test successful’.
Testing the exportlink url that zapier receives as in input in the browser search bar downloads the pdf successfully (when signed into my google suite).
Adding an extra zap stage to set the file permissions to ‘anyone on the internet can view’ does fix the issue, but this seems a bit of a hack and doesn’t conform with GDPR etc. Plus, there doesn’t seem to a be an ‘unshare’ option to hide the file after the fudge has been performed even if i was willing to do it.
Is there a way to do this with google drive that doesn’t involve revealing the file to the big wide world?
Thanks,