AutomationFlowsGeneral › Create A Short Url And Get The Statistics Of The Url

Create A Short Url And Get The Statistics Of The Url

Create A Short Url And Get The Statistics Of The Url. Uses manualTrigger, yourls. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexity3 nodesYourls
General Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        370,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "Yourls",
      "type": "n8n-nodes-base.yourls",
      "position": [
        570,
        300
      ],
      "parameters": {
        "url": "https://medium.com/n8n-io/sending-sms-the-low-code-way-with-airtable-twilio-programmable-sms-and-n8n-90dbde74223e?source=---------4-----------------------",
        "additionalFields": {
          "title": "Sending SMS the Low-Code Way with Airtable, Twilio Programmable SMS, and n8n"
        }
      },
      "credentials": {
        "yourlsApi": "<your credential>"
      },
      "typeVersion": 1
    },
    {
      "name": "Yourls1",
      "type": "n8n-nodes-base.yourls",
      "position": [
        770,
        300
      ],
      "parameters": {
        "shortUrl": "={{$node[\"Yourls\"].json[\"shorturl\"]}}",
        "operation": "stats"
      },
      "credentials": {
        "yourlsApi": "<your credential>"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Yourls": {
      "main": [
        [
          {
            "node": "Yourls1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "Yourls",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

About this workflow

Create A Short Url And Get The Statistics Of The Url. Uses manualTrigger, yourls. Event-driven trigger; 3 nodes.

Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →

More General workflows → · Browse all categories →