Skip to main content

Automate URL shortening with Bitly using Llama3 chat interface

Workflow preview

Workflow preview
100%
Automate URL shortening with Bitly using Llama3 chat interface preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Who is this for? This workflow is intended for online users who want and need workflow automation that minimizes link creation time and shortens links. This has an impact on the speed of work time ...

Best for

  • Personal Productivity automation workflows
  • AI Chatbot automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.bitlytool, @n8n/n8n-nodes-langchain.lmchatollama, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.chattrigger

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automate URL shortening with Bitly using Llama3 chat interface
Workflow name
Automate URL shortening with Bitly using Llama3 chat interface

Who is this for?

This workflow is intended for online users who want and need workflow automation that minimizes link creation time and shortens links. This has an impact on the speed of work time and energy. In reality, links created one by one and are very long are very time consuming and impractical, especially if we have to compile them first and send them. This is also a form of service to the community at n8n and the n8n company, and so that reality is no longer tiring and is able to answer existing reality problems. It can also be used to learn how automatic link building works.

How it works?

Easy explanation:

  1. Firstly, open chat is intended to trigger commands that are sent to the AI ​​model and Bitly Tools, you can do any command and just include the link. Later here we will also create a link.
  2. The two, AI Agents will send AI models to work according to input commands and produce output via open chat.
  3. Third, the Bitly tool that is set up to create links will do its job. Because it is tied to the AI ​​Agent and AI model.
  4. Finally, you can immediately see and open the link that has been created.

This is very simple and very simple. Makes it easy for everyone.

Set up instructions

Complete what is in the nodes as stated in the notes column.

  1. First, you download Ollama, using the guide that has been provided. Then after you run the model, you can create and connect a "Credential Account".

  2. Second, you need an open chat trigger node or you can use other triggers too.

  3. Third, the AI ​​Agent selects the Ollama model, and the Bitly tools that have been prepared are set up here.

  4. Fourth, just run it and it works.

This is very simple and very practical.

Requirements

As a reminder:

It should be set in each node, like what your goal is, also according to the conditions of your goal. There must be (if not, make sure it is registered) in each "Account Credential" by following the guide on how to do it n8n the guide is very complete Don't forget to save, and make sure the workflow is active.

How to customize this workflow to your needs

You can immediately add other nodes or other triggers to be able to send this link, such as email and so on, which will provide knowledge for your needs in additional nodes, so that accuracy is also high when carrying out tasks, task goals and responsibilities.

Congratulations on this automation and Thank you to n8n and the n8n community

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 - Create Link

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

Block 2 - Ollama Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOllama - lmChatOllama
Config choices
Version 1

Block 3 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 4 - Sticky Note6

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

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

Block 7 - Sticky Note2

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

Block 8 - Sticky Note3

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

Block 9 - Open Chat

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.1

3. Summary Table

Workflow Automate URL shortening with Bitly using Llama3 chat interface
Complexity intermediate
Nodes 9
Categories Personal Productivity, AI Chatbot
Author Ghufran Ridhawi
Published 06 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3885/3885.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 URL shortening with Bitly using Llama3 chat interface do?

Who is this for? This workflow is intended for online users who want and need workflow automation that minimizes link creation time and shortens links. This has an impact on the speed of work time ...

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 Personal Productivity, AI Chatbot use case.