Automated URL Shortening with TinyURL API via Webhook

somdn_product_page

This n8n workflow automates the process of creating shortened URLs using the TinyURL API triggered by an incoming webhook. When a URL is posted to the webhook, the workflow sends a request to TinyURL’s API to generate a short link, then responds back to the webhook caller with the shortened URL.

The workflow begins with a webhook node that listens for POST requests containing the original URL and optional parameters like alias and description. This data is then passed to an HTTP request node, which makes a POST request to TinyURL’s API, including an API token for authentication. Upon receiving the shortened URL from TinyURL, the workflow sends the response back to the original caller via the ‘respond to webhook’ node.

This automation is useful for quickly generating short links for sharing in emails, social media, or messaging platforms without manually interacting with the TinyURL website or API each time.

Node Count

0 – 5 Nodes

Nodes Used

httpRequest, respondToWebhook, stickyNote, webhook

Reviews

There are no reviews yet.

Be the first to review “Automated URL Shortening with TinyURL API via Webhook”

Your email address will not be published. Required fields are marked *