How to Manage Long URLs for with 0CodeKit and Google Sheets

Learn how to handle long URLs on social media using Google Sheets and 0CodeKit. This guide shows you how to shorten URLs, making posts cleaner & more engaging.

Published
January 30, 2025

When working with social media platforms, handling links can sometimes be a bit overwhelming. We are not talking about embedding the link into certain keywords, or just adding the link as part of the body text. The difficult part comes when one has a character limit, like with X (formerly Twitter), or the links cannot be embedded and they are way too long, ruining the overall appearance of the text. Luckily, we have a new automation that can help you with that!

Setting Up the Automation

First, we will need a Google Sheet where we will add all of the links that we would like to shorten into one column. Once we have entered all links, we have to sign up or log into Make, or any other automation platform, and create a new scenario. Then, we need to add a Google Sheet module with the trigger "Search Rows", which will return the results matching the given criteria. For this module to work, we will have to fill some fields, such as:

  • Spreadsheet ID
  • Spreadsheet Name (in case there is more than one)
  • Defining if the table contains headers
  • Column range
  • The filter, which specifies in which column you would like to insert the shortened URLs

Later, we have to integrate a 0CodeKit module with the event "Create a Shortened URL" and fill the required fields. For the field "Destination URL", we need to enter the item that refers to the column that contains the long URLs. Then, for the field "Custom identifier", we can give the URL a custom name, or we can leave it empty and 0CodeKit chooses one for us.

Finally, we have to integrate another Google Sheet module but this time with the event "Update a Cell", this way the shortened URL can be added into our Google Sheet. Again, we need to fill some fields, such as:

  • Spreadsheet ID
  • Spreadsheet Name (in case there is more than one)
  • The cell, which is where we want to enter the shortened URL (We have to define the column and add the item "Row number")
  • The value, which is what will be entered into the determined cell (In this case, it is the "Shortened URL")

Once everything has been set up, we can run the scenario and let the automation do its magic. After receiving the notification that automation worked, we can check the Google Sheet for the generated shortened URLs.

What’s a Rich Text element?

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

Static and dynamic content editing

A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!

How to customize formatting for each rich text

Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.