Skip to main content

Trends

The Trends tab brings together two things: posts on your channels and your competitors' that are growing unusually fast, and trending content from the trend sources you follow. Use it to find timely post ideas.

Before you start​

  • Trend sources: YouTube trending in Vietnam, Instagram hashtag, Threads keyword and Webhook are only available if you see them in the form. Instagram hashtag and Threads keyword need an active Instagram or Threads channel for the lookup.
  • Limit: how many trend sources you can follow depends on your plan, counted across all of the owner's workspaces. See Plans and billing.
  • Roles: Owners, Admins and Editors add and remove trend sources. Client reviewers can view only. Trend sources are shared by the whole workspace.

See hot posts​

  1. In the sidebar, under Analytics, choose Competitors & trends, then the Trends tab.

    The Trends tab with the Hot posts section, the Add trend source form and External sources
    Hot posts, the add trend source form and external sources
  2. Look at Hot posts. These are posts under 3 days old, yours or your competitors', engaging at 3 times the account's usual pace or more.

  3. Each post has a label like ×4 usual pace and its engagements per hour. Click View post to open the original.

To see competitors' posts here, add competitors first. See Competitors.

Add a trend source​

  1. On the Trends tab, go to the Add trend source form.
  2. Pick a source type:
    • YouTube trending in Vietnam: pick a YouTube category, such as Music, Entertainment or All.
    • Instagram hashtag: enter a hashtag, such as #skincare, and pick the Instagram channel used for the lookup.
    • Threads keyword: enter a keyword, such as "cheap lipstick", and pick the Threads channel used for the lookup.
  3. Click Follow. Data arrives after the next sync, within about 15 minutes. Until then the source shows Waiting for the first fetch.

The YouTube trending list refreshes every hour. Each item shows its views, likes and comments.

note

Instagram lets each account search at most 30 different hashtags in 7 days. This is Meta's limit. When you hit it, try again later or use another Instagram channel.

A Webhook source lets another tool (your own server, n8n, Make, an AI agent) send trends into the workspace, instead of the app fetching them. Received trends show on the Trends tab with a summary and content ideas, and AI agents read them through the get_trends tool.

  1. In the Add trend source form, under Webhook, enter a Webhook source name, such as "Daily fashion trends", then click Follow.
  2. The app shows the Webhook URL and the HMAC signing secret. The secret is shown only once: copy it right away into the sender's secure form, never into a chat or email.
  3. Run the Test with curl command shown below them, or ask the sender to send a test.ping event. Once the ping arrives, the source shows Ping received at ….
  4. After the first batch, the source lists its trends. Each new batch replaces the whole list.

To change the secret, click Change secret on the source card. The old secret stops working immediately. Unfollowing a webhook source stops its URL at once and deletes the trends it received.

caution

Webhook data comes from a third party. The app checks the format only, not whether the content is accurate. Review trends and source links before you use them in a post.

Request format​

Send a POST to the webhook URL with a JSON body of at most 256 KB:

POST /webhooks/trends/{source-key}
Content-Type: application/json
X-KDT-Timestamp: 1794526200
X-KDT-Signature: sha256=<signature>
{
"version": "1",
"event": "trends.daily",
"batch_id": "2026-11-13",
"generated_at": "2026-11-13T06:30:00+07:00",
"items": [
{
"id": "oversized-blazer",
"title": "Oversized blazer with wide-leg jeans",
"summary": "A bold office look many fashion pages are reposting.",
"url": "https://www.facebook.com/...",
"image_url": "https://...",
"source": "Page or source name",
"published_at": "2026-11-12T19:00:00+07:00",
"metrics": { "reactions": 12000, "comments": 850, "shares": 430 },
"ideas": [
{ "title": "5 ways to wear a blazer to work", "caption": "...", "format": "carousel" }
]
}
]
}
FieldRule
versionRequired, "1"
eventtrends.daily to send trends, test.ping to check the connection (needs only version and event)
batch_idRequired for trends.daily, at most 64 characters, such as the send date
items1 to 25 trends, in ranking order
items[].titleRequired. Cut at 500 characters
items[].idOptional. Generated from title when missing. Sending the same id again updates that trend
items[].summaryOptional, cut at 2,000 characters
items[].url, items[].image_urlhttps links only. A bad url drops that trend, a bad image_url drops the image
items[].sourcePage or source name, cut at 191 characters
items[].metricsUp to 10 numbers, keys of lowercase letters and _ only, numeric values
items[].ideasUp to 5 ideas. Each needs a title; caption and format (text, photo, carousel, reel, video, story) are optional

Sign the request​

The signature is the HMAC-SHA256 of {X-KDT-Timestamp}.{body} with the source secret, in hex after a sha256= prefix. X-KDT-Timestamp is Unix time in seconds. Requests more than 5 minutes off the app's clock are rejected, so every retry needs a fresh timestamp and a new signature.

BODY='{"version":"1","event":"test.ping"}'
TS=$(date +%s)
SIG=$(printf '%s.%s' "$TS" "$BODY" | openssl dgst -sha256 -hmac "$KDT_SECRET" | sed 's/^.* //')
curl -X POST "$KDT_URL" -H 'Content-Type: application/json' \
-H "X-KDT-Timestamp: $TS" -H "X-KDT-Signature: sha256=$SIG" -d "$BODY"
import crypto from 'node:crypto';

const body = JSON.stringify(payload);
const ts = Math.floor(Date.now() / 1000).toString();
const sig = crypto.createHmac('sha256', process.env.KDT_SECRET).update(`${ts}.${body}`).digest('hex');

await fetch(process.env.KDT_URL, {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'X-KDT-Timestamp': ts, 'X-KDT-Signature': `sha256=${sig}` },
body,
});
$body = json_encode($payload, JSON_UNESCAPED_UNICODE);
$ts = (string) time();
$sig = 'sha256=' . hash_hmac('sha256', $ts . '.' . $body, getenv('KDT_SECRET'));

Sign the exact bytes you send. If your HTTP library reformats the JSON after signing, the signature won't match.

When the sender cannot sign​

If the sending tool only supports a fixed key in a header, send the secret as Authorization: Bearer <secret> instead of the two X-KDT-* headers. This does not guard against replayed requests the way a signature does, so use it only when signing is not possible and keep the secret in the sender's secure store.

curl -X POST "$KDT_URL" -H "Content-Type: application/json" \
-H "Authorization: Bearer $KDT_SECRET" -d '{"version":"1","event":"test.ping"}'

Responses​

CodeMeaningThe sender should
200Received. Body {"ok":true,"received":N,"skipped":[...]}. skipped lists dropped trends (position and reason: title_missing, url_invalid, item_not_object)Stop. Tell the user when skipped is not empty
401Missing or wrong signature or Bearer secret, or a timestamp more than 5 minutes offCheck the secret and the sender's clock; don't resend the same request
404No source at this URL, the source was unfollowed, or the feature is offDon't retry
413Body larger than 256 KBSend fewer trends or shorter text
422Batch-level format error: version, event, batch_id, number of trends, or every trend invalid. Details in errorsFix the payload, don't resend as is
429More than 30 requests a minute for one sourceRetry after the Retry-After header
5xxError on the app sideRetry up to 3 times with growing delays, re-signing each time

Resending the same batch does not create duplicate trends.

External sources​

The External sources section has two links that open the platform's own site, because these sources have no API:

  • Meta Ad Library: ads currently running on Facebook and Instagram in Vietnam.
  • TikTok Creative Center: trending hashtags, songs and videos on TikTok.

Unfollow a trend source​

  1. Click Unfollow next to the trend source.
  2. Confirm in the Stop following this trend source? dialog. The source no longer appears in the workspace.

Common errors​

MessageWhat to do
An active Instagram (or Threads) channel is needed for the lookup.Connect or reconnect that channel in the workspace.
This Instagram channel has searched the maximum number of hashtags in the last 7 days.Try again later, or pick another Instagram channel for the lookup.
The last fetch failed. We will retry automatically.Nothing to do. The data updates on the next try.
Waiting for Meta to approve access for this source.Meta hasn't approved this source type yet. Nothing to do on your side.
Waiting for the sender to call the webhook.The sender hasn't called the URL yet. Run the test command or check the sender's setup.
The webhook source name needs 2 to 100 characters.Enter a source name of 2 to 100 characters.

Next steps​