Extract TikTok Usernames from Any Video or Creator Link Format — n8n Workflow

Medium complexity Trigger12 nodes🏷️ Miscellaneousby Dot

Overview

What's the problem?

Imagine you want to automate a task where, based on a TikTok video link, you must retrieve the username of the creator of that video.

Many people may think that it's enough to get the "@" part of the link but that's not the case always. TikTok's iOS and Android app have specific link formats that are easier to share with others but, at the same time, it makes our task of retrieving creators way harder.

Our solution:

In solution to this problem, this simple workflow makes

Nodes used

HTTP Request

Workflow Preview

Decide the input method
If you don't want to use a form, you can perfectly chan
Decide what happens when the link is invalid
If you don't want to inform the user through the form t
Decide what happens when the username retriev
If you don't want to inform the user through the form t
Decide where to send the creator's username
If you don't want to inform the user through the form a
What does this do?
Imagine you want to automate a task where, based on a T
Many people may think that it's en
I
If invalid TikTok link
E
Extract username of TikT…
Get final link of TikTo…
E
Extract final TikTok vid…
I
If final TikTok link
O
On form submission
I
Invalid link
I
Inform the link is invalid
I
If the username is null
U
Username is null/empty
I
Inform an error retrievi…
D
Display the creator's us…
12 nodes12 edges

How it Works

  1. 1

    Trigger

    The workflow starts with a trigger trigger.

  2. 2

    Process

    Data flows through 12 nodes, connecting form, formtrigger, httprequest.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (12)

HT

HTTP Request

httpRequest

#1

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded extract-tiktok-usernames-from-any-video-or-creator-link-format file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Extract TikTok Usernames from Any Video or Creator Link Format", "nodes": [...], ...}

Integrations

formformtriggerhttprequestifsetstopanderror

Get This Workflow

Download and import in one click

Download JSONView on n8n.io
Nodes12
Complexitymedium
Triggertrigger

Created by

Dot

Dot

@dot

Tags

formformtriggerhttprequestifsetstopanderror

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →

Related Miscellaneous Workflows