Overview
This node implements a TikTok Trigger for n8n workflows. It connects to TikTok's WebSocket API using provided credentials to listen for real-time events. When events occur, it emits them as output data, enabling workflows to react to TikTok events automatically. This is useful for automating responses to TikTok activity, such as monitoring live streams or user interactions.
Use Case Examples
- Automatically trigger a workflow when a new TikTok live stream starts.
- React to TikTok user interactions in real-time to update a CRM or send notifications.
Output
JSON
event- Type of the event received from TikTok WebSocketdata- Payload data of the event from TikTok WebSocket
Dependencies
- Requires TikTok API credentials including a TikTok session token and an API key.
Troubleshooting
- Error 'TikTok session is required' indicates missing or invalid TikTok session credentials; ensure credentials are correctly configured.
- Connection errors may occur if the WebSocket connection to TikTok fails; check network connectivity and credential validity.
- If no events are emitted, verify that the TikTok session is active and the API key is correct.
Links
- n8n TikTok Trigger Node Documentation - Official documentation for the TikTok Trigger node in n8n.