Skip to main content
Best answer

Uploading Microsoft Word document from GitLab to Google Drive when any commit happens

  • January 10, 2021
  • 6 replies
  • 126 views

AlvinSeville7cf

Hello! I want to upload Microsoft Word document from GitLab to Google Drive when any commit happens. My Zap config is:

But when I run it i obtain some strange document (the content is wrong):

How to fix it?

Best answer by Troy Tessalone

That link goes to a GitLab page.

The link needs to be a direct link to the file.

There is a download link available, but that produces a .zip file.

 

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

6 replies

Troy Tessalone
Forum|alt.badge.img+14

Looks like you’re using the URL to the location of the file in GitLab rather than the link of the GitLab file.

The field is expecting a file object or a direct link to a publicly accessible file.


AlvinSeville7cf
Troy Tessalone wrote:

Looks like you’re using the URL to the location of the file in GitLab rather than the link of the GitLab file.

The field is expecting a file object or a direct link to a publicly accessible file.

Do you mean permanent link to file by it?


Troy Tessalone
Forum|alt.badge.img+14

Yes, should be a permalink to the file, instead of a link to the GitLab page that displays the file along with other options.


AlvinSeville7cf

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31450 replies
  • Answer
  • January 10, 2021

That link goes to a GitLab page.

The link needs to be a direct link to the file.

There is a download link available, but that produces a .zip file.

 


AlvinSeville7cf

Thanks! And I found out that I can simply replace blob with raw in initial url. :)