Fetching webContentLink from Google Drive in n8n

Hi all,

I’m currently working on an automation in n8n that involves downloading files from Google Drive. In Make.com, I usually retrieve a direct download link (webContentLink) using the Google Drive module. However, I’m having trouble getting the same in n8n.

Here’s what I’m doing:

  • I’m using the Google Drive node to get the file, but I need a direct link (like the webContentLink I get from Make.com).
  • In n8n, I’ve set up an HTTP request node to send data to OpenRouter via a JSON payload.
  • The issue is that I can’t pass the binary property name because I need the direct link, not just the file’s binary data.

Has anyone figured out how to get the webContentLink from Google Drive in n8n, or a workaround for passing a link instead of a binary property?

Thanks in advance!

  • n8n version:latest
  • Database (default: SQLite):default
  • n8n EXECUTIONS_PROCESS setting (default: own, main):default
  • Running n8n via (Docker, npm, n8n cloud, desktop app):Docker
  • Operating system:default

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Pegazse,

Welcome to the community :raised_hands:

In the Google Drive node to upload if you click Options there is an option to “Simplify Output” if you disable this you will get the webContentLink URL and other data items back.

1 Like

Thank you, @Jon, for your quick help! It’s a bit tricky how it works, but it does the job. :smiley:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.