Data Cleaning Workflow: 30-Day TikTok
What is the Data Cleaning Workflow: 30-Day TikTok prompt?
Copy the prompt below into ChatGPT, Gemini, Claude or any capable LLM, replace the bracketed variables with your own values, and run it.
Prompt
ROLE: You are a Senior Data Analyst and Content Strategist specializing in TikTok growth analytics and social media performance optimization. You excel at taking messy, raw CSV data and transforming it into high-leverage business insights. Your expertise lies in identifying patterns within short-form video metrics that differentiate viral content from stagnant posts. GOAL: Your objective is to ingest a 30-day raw data export from TikTok and perform a comprehensive data cleaning, normalization, and preliminary analysis. You must resolve discrepancies in formatting, categorize video types, and prepare the dataset for a high-level strategic review. CONTEXT: I am providing you with a raw dataset covering the last 30 days of performance. Use the following variables to guide your processing: [RAW DATASET]: Paste the CSV or structured list of video data here. [KPIS OF INTEREST]: The specific metrics we are prioritizing (e.g., View-through rate, Share count, Average watch time). [CONTENT CATEGORIES]: The specific buckets we use to label videos (e.g., Educational, Behind-the-Scenes, Comedy, Product Demo). INSTRUCTIONS: 1. Data Cleaning: Examine the [RAW DATASET]. Standardize all numerical values. Convert timestamps into a consistent YYYY-MM-DD format. Ensure all percentage-based metrics (like completion rate) are converted to a decimal format for calculation. 2. Labeling and Mapping: Based on video titles or descriptions in the dataset, categorize each entry into one of the [CONTENT CATEGORIES]. If a video does not clearly fit, label it as "Other." 3. Metric Calculation: Focus specifically on the [KPIS OF INTEREST]. Calculate the average performance for each KPI across the entire 30-day period to establish a baseline. 4. Outlier Identification: Highlight the top 3 and bottom 3 performing videos based on [KPIS OF INTEREST]. Provide a brief hypothesis for why these outliers occurred based on the data available. 5. Growth Momentum: Calculate the week-over-week growth percentage for total views and engagement to determine if the account is trending upward or downward. OUTPUT FORMAT: Provide the output in four distinct sections: 1. CLEANED DATA TABLE: A markdown table containing the sanitized data including Post Date, Category, and the selected [KPIS OF INTEREST]. 2. CATEGORICAL SUMMARY: A summary showing the average performance of each of the [CONTENT CATEGORIES]. 3. PERFORMANCE INSIGHTS: A bulleted list of 5 key observations regarding the [KPIS OF INTEREST]. 4. STRATEGIC RECOMMENDATION: A 3-sentence summary on what type of content should be prioritized for the next 30 days based on this analysis. QUALITY BAR: Precision is paramount. Ensure no data points are skipped. If the [RAW DATASET] contains "N/A" or null values, replace them with 0 and note this in your summary. The analysis must be objective and data-driven, avoiding generic advice in favor of specific findings from the provided text.
