Block 1 - If invalid TikTok link
- Type / Role
- n8n-nodes-base.if - if
- Config choices
- Version 2.2
This workflow is provided as-is. Please review and test before using in production.
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 ...
n8n-nodes-base.if, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.formtrigger, n8n-nodes-base.stopanderror, n8n-nodes-base.form, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Dot.
Original n8n.io sourceImagine 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.
In solution to this problem, this simple workflow makes a HTTP protocol request to retrieve the original link of the video hosted on www.tiktok.com instead of the default mobile app's subdomain vm.tiktok.com. Then, we can in fact remove the attributes of the link and extract the handle correctly.
Note that we extract the username (and not the profile's nickname) without the "@".
Once we have our username, we can simply access to their profile from then on using "https://www.tiktok.com/@{{ $json.username }}".
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.
| Workflow | Extract TikTok usernames from any video or creator link format |
|---|---|
| Complexity | advanced |
| Nodes | 18 |
| Categories | Miscellaneous |
| Author | Dot |
| Published | 28 Oct 2025 |
Use the JSON export at /data/workflows/10249/10249.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
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.
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 ...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
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 Miscellaneous use case.