Tiktok
You can now connect your TikTok Business Account with GoChat and automate your customer interactions directly from TikTok. This integration allows you to turn your TikTok traffic into leads, respond to users within GoChat, and streamline your workflows.
With this integration, you can:
● Send automated messages (text and image supported)
● Read and reply to comments on your TikTok videos using workflows
● Manage and engage users who come from TikTok Ads
Please note: at the time of writing, the integration is beta / limited in some regions.

Prerequisites
Before installing the integration, ensure the following:
● You have a TikTok Business Account that has the required permissions.
● You are aware of any regional limitations with TikTok (for example, some countries like the UK and Switzerland may not be supported).
Connect TikTok Business Account
Click on the “Connect TikTok” button, select your TikTok business account, grant all required permissions, and confirm by clicking Done. After the connection is successful, create a separate bot for the TikTok channel.
Note: TikTok is currently not supported in OmniChannel, due to API limitations.

Message Type
● Send Message type in the flow builder supports only text & image.
● Live chat can only send text and images, doesn't support stickers, GIFs, or audio messages.
● TikTok only supports Text + (up to 3) Buttons (Reply button only)
● The URL and phone button are not supported

Triggers
Navigate to Automations > Triggers and create a trigger that activates when an ad is clicked or when a comment is made on posts.

TikTok Comments Created - Reply to comments
When a user comments on a post, this trigger activates, and you can save the Webhook Payload. Video ID, Comment ID, and Parent Comment ID to the user field. Later on, use the same comment ID to send a reply to that user.

Restrictions for comment automation:
If the user is from comments only, the opt-in source will be comment; if the same user later send a DM, the opt-in will change to direct_after_comment
The comment that you want to reply to is a first-level comment on a video of the Business Account.
Your reply is sent within 48 hours after the user posted the comment.
The comment has not been replied to through direct messages yet in any way, including from the TikTok app or via the API.
The user who posted the comment had no direct messaging communication with the Business Account in the past 24 hours.
The user who posted the comment is over 18 years old.
TikTok Ads Referral
When the user clicks an ad, we need to set up this trigger to receive the payload and send a DM to the user.
Save the Referral Payload and Ad ID to the user field

TikTok API
You can perform various actions, such as getting account information, Listing Videos, publishing a Video, replying to comments, and hiding or deleting comments, through TikTok API Actions.
To access them, go to Action Node > Advanced Actions > TikTok API > Actions.

Available Actions
Get Account Info
This action retrieves account details, including display_name, is_business_account, profile_image, and username.
List Videos
This action retrieves a list of all videos posted on your account, with each video containing its caption and video_id
If you want to get additional details such as video views, shares, or other insights, use the parameter named ‘Fields’ and enter the specific data points you need from the list below:
Available fields:
address_clicks, app_download_clicks, audience_cities, audience_countries, audience_genders, audience_types, average_time_watched, caption, comments, create_time, email_clicks, embed_url, engagement_likes, favorites, full_video_watched_rate, impression_sources, item_id, lead_submissions, likes, new_followers, phone_number_clicks, profile_views, reach, share_url, shares, thumbnail_url, total_time_watched, video_duration, video_view_retention, video_views, website_clicks.

Get Video Info
Insert the video ID to get details of the video you want.
Publish Video
Provide the Video URL, Thumbnail URL, caption, and any other necessary details to upload a video to your TikTok account through this action.
Get publishing status
After the video is published, the response will include a share_id field. You can use this ID to verify the publishing status of the video.
List Comments
This action retrieves a list of comments for a specific video. Enter the video ID and specify if hidden comments should be included.
Get Comment Info
This action retrieves information about a specific comment. Provide both the video ID and the comment ID
List Comment Replies
Get all the replies to a specific comment. Just enter the video ID and the comment ID to see all the replies under that comment.
Add Comment to Video
Add a new comment to any video by entering the video ID and writing your message that you want to post.
Reply to Comment
Reply to someone’s comment on a video. You’ll need the video ID, the comment ID you’re replying to, and the message you want to send as your reply.
Like / Unlike Comment
You can like or unlike a comment easily. Both actions only need the comment ID
Hide / Unhide Comment
Hide a comment to make it invisible under a video, or unhide it to make it visible again. Both actions require the video ID and the comment ID.
Delete Comment
Permanently delete a comment from a video. You only need to enter the comment ID to delete it.
Settings
You can unlock more TikTok features by adjusting a few settings, see the detailed steps below

Welcome Message
Enable an automated welcome message to start a conversation. You can set the message and save it; the account status will show as “approved”.
Suggested questions
A suggested question is a frequently asked question displayed at the beginning of a chat. Each Business Account can have up to three suggested questions. They will help to start a conversation.
Chat Prompts
Display chat prompts to help people start a conversation with you. Each Business Account can have up to six chat prompts (“Are you currently offering any promotions?”, etc.).
Comment to Message
Allow to send direct messages in response to high-intent comments on video posts, but it's only available under certain region/account conditions.
Last updated