Skip to main content

Automate property link shortening & QR code generation with Google Sheets and Bitly

Workflow preview

Workflow preview
100%
Automate property link shortening & QR code generation with Google Sheets and Bitly preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

How It Works ️ This workflow automatically takes a long property URL from your Google Sheet, shortens it, generates a QR code, and then updates your sheet with the new links. 1. 0. Google Sheets (...

Best for

  • Content Creation automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.googlesheetstrigger, n8n-nodes-base.httprequest, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Marth.

Original n8n.io source

1.1 Workflow description

Title
Automate property link shortening & QR code generation with Google Sheets and Bitly
Workflow name
Automate property link shortening & QR code generation with Google Sheets and Bitly

How It Works ⚙️

This workflow automatically takes a long property URL from your Google Sheet, shortens it, generates a QR code, and then updates your sheet with the new links.

  1. 0. Google Sheets (New/Updated Row Trigger): 🚀 The workflow starts by constantly monitoring a specified Google Sheet. It triggers when a new property listing row is added, or when an existing row's "Property Link" column is updated.
  2. 1. Shorten URL (HTTP Request - Bitly): 🌐 This node takes the long property URL from the Google Sheet. It then makes an API call to a URL shortening service (like Bitly) to generate a much shorter, shareable URL.
  3. 2. Generate QR Code (HTTP Request - QR Code API): 📱 Using the shortened URL from the previous step, this node makes another API call to a QR code generation service. It generates an image link for a QR code that, when scanned, directs users to your property.
  4. 3. Update Google Sheet (Update Row): ✅ Finally, this node takes the newly generated short URL and the QR code image link and writes them back into the corresponding row in your Google Sheet. This centralizes all the necessary links for your property listings.

How to Set Up 🛠️

Follow these steps carefully to get your "Property Link Shortener & QR Code Generator" workflow up and running in n8n:

  1. Import Workflow JSON:

    • Open your n8n instance.
    • Click on 'Workflows' in the left sidebar.
    • Click the '+' button or 'New' to create a new workflow.
    • Click the '...' (More Options) icon in the top right.
    • Select 'Import from JSON' and paste the entire JSON code for this workflow.
  2. Prepare your Google Sheet:

    • Create a Google Sheet with columns for your property listings.
    • Crucially, ensure you have a column for the original long property URL (e.g., Property Link), a column for the shortened URL (e.g., Short URL), a column for the QR code image URL (e.g., QR Code URL), and a unique identifier for each row (e.g., Property ID).
  3. Configure 0. Google Sheets (New/Updated Row Trigger):

    • Locate the '0. Google Sheets (New/Updated Row Trigger)' node.
    • Credentials: Select your existing Google Sheets OAuth2 credential or click 'Create New' to set one up.
    • Spreadsheet ID: Replace YOUR_SPREADSHEET_ID with the ID of your Google Sheet. You can find this ID in the Google Sheet's URL.
    • Sheet Name: Enter the exact name of the sheet (tab) within your spreadsheet (e.g., Listings or Properties).
    • Trigger On: Choose Updated Row and select the column where your original long property link is located (e.g., Property Link). This ensures the workflow runs when you add or update a property link.
  4. Configure 1. Shorten URL (HTTP Request - Bitly):

    • Locate the '1. Shorten URL (HTTP Request - Bitly)' node.
    • Method: Set to POST.
    • URL: https://api-ssl.bitly.com/v4/shorten
    • Headers:
      • Add Authorization with value Bearer YOUR_BITLY_ACCESS_TOKEN. (You'll need to generate a Generic Access Token from your Bitly account settings > Generic Access Token).
      • Add Content-Type with value application/json.
    • Body: Select Raw and JSON.
    • In the JSON body, enter: {"long_url": "{{ $json[\"Property Link\"] }}"}. Ensure "Property Link" exactly matches your Google Sheet column header for the original URL.
    • Response Format: Set to JSON.
  5. Configure 2. Generate QR Code (HTTP Request - QR Code API):

    • Locate the '2. Generate QR Code (HTTP Request - QR Code API)' node.
    • Method: Set to GET.
    • URL: https://api.qrserver.com/v1/create-qr-code/?size=150x150&data={{ encodeURIComponent($('1. Shorten URL (HTTP Request - Bitly)').item.json.link) }}
      • Here, {{ $('1. Shorten URL (HTTP Request - Bitly)').item.json.link }} refers to the output of the previous Bitly node.
      • You can adjust size=150x150 as needed.
      • encodeURIComponent is important to handle special characters in the URL.
    • Response Format: Set to Binary. (This API directly returns the image, but we just need its URL which is in the url property of the response).
  6. Configure 3. Update Google Sheet (Update Row):

    • Locate the '3. Update Google Sheet (Update Row)' node.
    • Credentials: Select the same Google Sheets OAuth2 credential as in step 3.
    • Spreadsheet ID: Use the same YOUR_SPREADSHEET_ID.
    • Sheet Name: Use the same YOUR_SHEET_NAME_E.G._Listings.
    • Key Column: Set this to a unique identifier for your rows, e.g., Property ID (assuming you have one in your sheet).
    • Key Column Value: ={{ $json["Property ID"] }}. Make sure this matches your unique ID column from the Google Sheet.
    • Update Columns:
      • Add an entry:
        • Column: Short URL (exact name of your short URL column in Google Sheet)
        • Value: ={{ $('1. Shorten URL (HTTP Request - Bitly)').item.json.link }}
      • Add another entry:
        • Column: QR Code URL (exact name of your QR Code URL column in Google Sheet)
        • Value: ={{ $('2. Generate QR Code (HTTP Request - QR Code API)').item.url }} (This will be the URL of the QR code image from the HTTP request response).
  7. Review and Activate:

    • Thoroughly review all node configurations. Ensure all placeholder values (like YOUR_...) are replaced with your actual information and settings are correct.
    • Click the 'Save' button in the top right corner.
    • Finally, toggle the 'Inactive' switch to 'Active' to enable your workflow. 🟢 Your "Property Link Shortener & QR Code Generator" workflow is now live!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - 0. Google Sheets (New/Updated Row Trigger)

Type / Role
n8n-nodes-base.googleSheetsTrigger - googleSheetsTrigger
Config choices
Version 1

Block 2 - 1. Shorten URL (HTTP Request - Bitly)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 3

Block 3 - 2. Generate QR Code (HTTP Request - QR Code API)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 3

Block 4 - 3. Update Google Sheet (Update Row)

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 3

Block 5 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automate property link shortening & QR code generation with Google Sheets and Bitly
Complexity intermediate
Nodes 6
Categories Content Creation
Author Marth
Published 25 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6407/6407.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate property link shortening & QR code generation with Google Sheets and Bitly do?

How It Works ️ This workflow automatically takes a long property URL from your Google Sheet, shortens it, generates a QR code, and then updates your sheet with the new links. 1. 0. Google Sheets (...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation use case.