Shata Solutions
← Back to marketplace
Social Media Automation

Viral Trend Detection

Surface emerging hashtags and audio trends before they peak, with fit scores for your niche.

Automation overview

What this automation does

This automation starts when scheduled hourly trend API pull. It x (twitter) pulls, openai pulls, airtable pulls, slack score, and notion score, then fit score 1–10. Trends scoring 8+ push Slack alerts with example videos, suggested spin angle, and draft hook; trends 5–7 land in weekly trend backlog in Notion.

Trigger
Scheduled hourly trend API pull
Main actions
X (Twitter) pulls → OpenAI pulls …
Final outcome
fit score 1–10. Trends scoring 8+ push Slack alerts with example videos, suggest…
Execution time
1–3 minutes
Apps used
6 integrations
AI-powered
No
Difficulty
Intermediate
Intermediate
Workflow diagram

End-to-end scenario flow

Read-only visualization of how data moves from trigger to final result.

Trigger
TikTok
Scheduled run
Step 1
X (Twitter)
Pulls
AI
OpenAI
Pulls
Step 3
Airtable
Pulls
Step 4
Slack
Score
Step 5
Notion
Score
Result
Notion
Workflow complete
Step-by-step

How each step runs

  1. 1
    TikTokTrigger
    Scheduled run

    Scheduled hourly trend API pull

  2. 2
    X (Twitter)
    Pulls

    Hourly TikTok Creative Center and X trending API pulls feed into GPT-4o which scores each trend against your Airtable brand pillars

  3. 3
    OpenAI
    Pulls

    Hourly TikTok Creative Center and X trending API pulls feed into GPT-4o which scores each trend against your Airtable brand pillars

  4. 4
    Airtable
    Pulls

    Hourly TikTok Creative Center and X trending API pulls feed into GPT-4o which scores each trend against your Airtable brand pillars

  5. 5
    Slack
    Score

    fit score 1–10. Trends scoring 8+ push Slack alerts with example videos, suggested spin angle, and draft hook; trends 5–7 land in weekly trend backlog in Notion

  6. 6
    Notion
    Score

    fit score 1–10. Trends scoring 8+ push Slack alerts with example videos, suggested spin angle, and draft hook; trends 5–7 land in weekly trend backlog in Notion

  7. 7
    Notion
    Workflow complete

    fit score 1–10. Trends scoring 8+ push Slack alerts with example videos, suggested spin angle, and draft hook; trends 5–7 land in weekly trend backlog in Notion

Apps used

Connected applications

TikTok

Pulls

X (Twitter)

Pulls

OpenAI

Pulls

Airtable

Pulls

Slack

Score

Notion

Score

Summary

Automation summary

Trigger
Scheduled hourly trend API pull
Inputs
Scheduled hourly trend API pull, Business Name, Notification Email, Timezone
Outputs
fit score 1–10. Trends scoring 8+ push Slack alerts with example videos, suggested spin angle, and draft hook; trends 5–7 land in weekly trend backlog in Notion, Slack score, Notion score
Business goal
Automate viral trend detection end-to-end with accurate app routing.
Execution frequency
Hourly
Estimated runtime
1–3 minutes
Error handling
Failed steps retry up to 3 times with exponential backoff; persistent failures notify your configured channel and log to the run history.
Dependencies
TikTok, X (Twitter), OpenAI
Benefits

Why use this automation?

Save ~12 hours/week

Remove repetitive steps from Viral Trend Detection so your team focuses on high-value work.

Reduce manual work

Connected apps sync data automatically instead of copy-paste between dashboards.

Prevent human errors

Standardized logic runs the same way every time, with retries on failure.

Requirements

What you need to get started

Required apps

  • TikTok
  • X (Twitter)
  • OpenAI

Required accounts

  • Active TikTok workspace with API access
  • Active X (Twitter) workspace with API access
  • Active OpenAI workspace with API access
  • Shata Automation workspace (free tier supported)

Required API keys

  • OAuth tokens for each connected integration

Permissions

  • Read access on trigger sources (forms, sheets, webhooks, or CRM objects)
  • Write access on destination apps (email, chat, CRM, or storage)

Estimated setup time

  • 15 min including app authorization and test run
  • Difficulty: Intermediate

Optional apps

  • Airtable (optional)
  • Slack (optional)
  • Notion (optional)

Automation runtime

Activate this template

PartialSome steps run in preview until their integrations go live.

Connect required apps via OAuth or API keys. Credentials are encrypted server-side. Dev test runs mock external actions when connections are missing.

Draft
0%
Activation readiness

Est. setup time: ~13 min

Required connections

  • tiktok(required)
    Previewtiktok: workflow actions run in preview
    Missing
  • x(required)
    Previewx: workflow actions run in preview
    Missing
  • OpenAI(required)
    Missing
  • Airtable(required)
    PreviewAirtable: workflow actions run in preview
    Missing
  • Missing connection: tiktok
  • Missing connection: x
  • Missing connection: OpenAI
  • Missing connection: Airtable
Manage all connections →View all installations →

Workflow summary

Trigger
Scheduled hourly trend API pull
Steps
7 nodes
Required apps
4
Optional apps
2

Trigger

Schedule trigger

Activate this workflow to provision the trigger endpoint.

Run history

No runs yet. Install the template and run a test, or activate to receive webhook/schedule runs.

FreeIntermediatePartial15 min setup4.2128 installs · 138 reviews
Customize for My Business
Analytics

Template performance

1.9k
Views
128
Installs
614
Favorites
4.2
Avg rating
6.8%
Conversion
15 min
Setup time
94%
Success rate
92
Trending score
Most used integrations
TikTokX (Twitter)OpenAI

Hourly TikTok Creative Center and X trending API pulls feed into GPT-4o which scores each trend against your Airtable brand pillars—fit score 1–10. Trends scoring 8+ push Slack alerts with example videos, suggested spin angle, and draft hook; trends 5–7 land in weekly trend backlog in Notion.

Some steps run in preview until their integrations go live.

Required apps
TikTokPreviewX (Twitter)PreviewOpenAILiveAirtablePreview
Optional apps
SlackLiveNotionPreview
All integrations
TikTokX (Twitter)OpenAIAirtableSlackNotion
Workflow preview

How Viral Trend Detection runs

1
Trigger
Define brand pillar weights
2
Process
Rule engine
3
Action
tiktok
4
Notify
Alert & log
TiktokXOpenaiAirtableSlackNotion
Setup steps

Get started in 5 steps

  1. 1
    Connect trend data sources

    TikTok trend API or scraper, X trends API, OpenAI, Airtable brand pillars, Slack, Notion.

  2. 2
    Define brand pillar weights

    Score trends on relevance to product lines, audience age, and tone boundaries.

  3. 3
    Set alert thresholds

    Slack immediate for 8+ fit; Notion backlog for 5–7; ignore below 5.

  4. 4
    Attach example content

    Pull top 3 example post URLs per trend for creative reference.

  5. 5
    Review first week alerts

    Tune pillar weights if too many false positives or missed opportunities.

Variables

Configurable settings

VariableTypeDefaultRequired
Business NametextYour BusinessYes
Notification EmailemailYes
TimezoneselectYes
Slack Channeltext#generalNo
FAQ

Frequently asked questions

Regional trends?

Filter by country code—EG, SA, UAE presets available.

Audio trend IDs for Reels?

TikTok sound IDs included in alert for cross-platform audio matching.

Competitor already on trend?

Digest notes if tracked competitors posted on same hashtag in last 48 hours.

Auto-create content tasks?

High-fit trends optionally create Notion content tasks assigned to social lead.

Get started

Customize Viral Trend Detection for your business

Our team can adapt this template to your exact workflow, apps, and brand requirements.