Latenode

Automatically shorten Google Drive file URLs using Latenode

This automation template allows users to automatically shorten URLs for any new files added to their Google Drive. It leverages the URL Shortener tool by Latenode to generate a shortened URL for each new file, providing a more concise and shareable link.

This integration streamlines the process of sharing Google Drive content by reducing the length of URLs, making them easier to copy, paste, and distribute. The automation connects Google Drive and the URL Shortener service, seamlessly handling the URL shortening process in the background, ensuring users can focus on creating and sharing their content effectively.

Updated Apr 12, 2026Est. run: 13sEst. cost: $0.0038
How Latenode estimates time and cost

Latenode bills workflow runs in credits: 1 credit = 30 seconds of processing. Minimum charge per run depends on your plan. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how credits work →
Integrations & automation

Workflow preview

What this template does

  • Automates URL shortening for new files added to Google Drive
  • Generates concise, shareable links using the Latenode URL Shortener
  • Reduces length of Google Drive file URLs for easier distribution
  • Integrates Google Drive and Latenode URL Shortener for seamless workflow
  • Provides shortened URLs for new Google Drive files to enhance content sharing

How it works

1
Trigger

Connect to Google Drive

The automation starts by connecting to the user's Google Drive account. This step authenticates the integration and allows the automation to access new files added to the user's Google Drive.

2
Action

Extract File Metadata

When a new file is added to the user's Google Drive, the automation extracts key metadata about the file, including the filename, file URL, and other relevant information.

3
Action

Shorten the File URL

The automation then utilizes the Latenode URL Shortener service to generate a shortened version of the file's URL. This condensed link makes it easier to copy, paste, and share the Google Drive content.

4
Logic

Store the Shortened URL

The shortened URL is stored for the new file, allowing the user to access and share the concise link as needed. This streamlines the process of distributing Google Drive content with others.

Setup guide

1

Connect Google Drive

1. In the Latenode builder, add a Google Drive node. 2. In the node settings, click the 'Connect Google Drive' button and follow the authentication flow to grant Latenode access to your Google Drive account.

2

Configure URL Shortener

1. In the Latenode builder, add a Latenode URL Shortener node. 2. In the node settings, click the 'Connect Latenode' button and follow the authentication flow to grant Latenode access to your Latenode account. 3. Map the 'Long URL' input field in the URL Shortener node to the 'Download URL' output from the Google Drive node.

3

Handle File Metadata

1. In the Latenode builder, add a 'Get File Metadata' node after the Google Drive node. 2. Map the necessary file metadata fields (e.g. file name, file type) from the 'Get File Metadata' node to the URL Shortener node's inputs.

4

Output Shortened URL

1. In the Latenode builder, add an 'Output' node after the URL Shortener node. 2. Map the 'Short URL' output from the URL Shortener node to the 'Output' node, so the shortened URL is available for further use or sharing.

5

Test and Customize

1. In the Latenode builder, test the workflow by manually triggering it or setting up a trigger on new file creation in Google Drive. 2. Customize the workflow as needed, such as adding additional data transformation or notification steps.

Requirements

Connect your Google Drive account to authorize the automation access to your files
Obtain a URL Shortener API key or connect your Latenode account to use the URL Shortener integration
Ensure the Google Drive and URL Shortener integrations are enabled and configured within your workspace
Grant the necessary permissions for the automation to access and shorten URLs for new files in your Google Drive

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.

More templates

You might also like

Browse all templates →
Integrations & automation

Site monitor to RSS

Tools schedules checks, Headless Browser loads each monitored URL, JavaScript diffs visible text or selectors against the last snapshot in Database, and rss.app (or JavaScript POST) publishes feed items when changes exceed your threshold. Replaces Zapier+rss.app-only diagrams with explicit Latenode nodes.

7s$0.0004
Integrations & automation

Automatically translate new Discord messages using Google Cloud Translate

This automation integrates Discord and Google Translate to monitor specific Discord channels for new messages. When a new message is detected, the automation will automatically translate the text into a target language using Google Translate and then post the translated message back to Discord or another destination. This allows users to stay connected with their communities across language barriers, facilitating global collaboration and discussion within the Discord platform.

26s$0.0703
Integrations & automation

Translate Telegram messages to any language via Google Translate

This automation workflow allows users to monitor a Telegram chat or channel, automatically detect new messages, translate the text into a target language using Google Translate, and then send the translated version back to the same Telegram chat or save it to a designated destination. This integration between Telegram and Google Translate streamlines cross-language communication, making it easier for users to stay connected and understand content shared in different languages. The automation simplifies the process of translating messages, saving time and effort for users who need to communicate across language barriers.

26s$0.0703