Extract TikTok usernames from any video or creator link format
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs when someone submits an n8n form (“TikTok creator/video link:”). It uses only n8n's built-in nodes.
How it runs
Trigger: When someone submits an n8n form (“TikTok creator/video link:”).
- If: checks a condition and branches into true / false
- Inform the link is invalid (n8n Form): shows the next form page
- If: checks a condition and branches into true / false
- Invalid link (Stop and Error): stops the run with an error
- Extract username of TikTok creator/video link (Edit Fields (Set)): sets 1 field: username
- Get final link of TikTok video (HTTP Request): calls an HTTP API
- If: checks a condition and branches into true / false
- Extract final TikTok video link (Edit Fields (Set)): sets 1 field: TikTok creator/video link:
- Inform an error retrieving the username (n8n Form): shows the next form page
- Display the creator's username (n8n Form): shows the next form page
…plus 1 more step. See the full node list below.
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - n8n Form Trigger
n8n-nodes-base.formTrigger - Stop and Error
n8n-nodes-base.stopAndError - n8n Form
n8n-nodes-base.form
From the author
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.…