# Competitor content research workflow

Competitor content research workflow. Follow concrete contracts, examples and reviewable steps using Xiaohongshu (RedNote), Douyin, Meta Ad Library.

Canonical page: https://datanavoapi.com/en/skills/competitors/

This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.

## Inputs, goal and deliverable

Compare brand terms, product terms and ad samples without treating search results as the whole market.

Inputs consist of explicit platforms, keywords or object identifiers. Preserve the samples, request IDs, classifications and unresolved questions in the deliverable. The task does not schedule itself or paginate indefinitely.

## Step-by-step plan

| Step | Capability | Input | Output |

| --- | --- | --- | --- |

| 1 | xiaohongshu.notes.search | query, sort | post / items |

| 2 | douyin.videos.search | query, sort | post / items |

| 3 | meta.ads.search | query, sort | ad / items |

- [Xiaohongshu note search](https://datanavoapi.com/en/apis/xiaohongshu/notes/search/)
- [Douyin video search](https://datanavoapi.com/en/apis/douyin/videos/search/)
- [Meta Ad Library search](https://datanavoapi.com/en/apis/meta/ads/search/)

## Reusable task prompt

Ask the client to present a plan before you confirm each execution. This prompt bounds the sample; it does not call an external service for you.

```text
Goal: Competitor content research workflow
Use only DataNavoAPI local demo/simulated mode.
Planned capabilities: xiaohongshu.notes.search → douyin.videos.search → meta.ads.search
Describe inputs and output fields and propose a bounded request count first.
Execute explicitly, retaining request IDs. Stop on failures or unknown outcomes.
Return a table, missing fields and sampling limits; never present fictional samples as market facts.
```

## Plan, run and export

This bounded example has 3 steps. Successful customer simulation costs 6 TEST; anonymous demo costs zero. Provide each required identifier before generating a fixed plan; search results do not expand the request list automatically.

Use data.items[].id for the matching platform and object detail, account IDs for account content and comment IDs for replies. Check object types before reusing an ID. Fixture IDs do not establish a real relationship. The workbench exports per-step JSON and source-labelled CSV.

| Workbench field | Meaning | Example |

| --- | --- | --- |

| query | 研究关键词 | 户外咖啡 |

| step3_region | 步骤 3 · region | US |

```json
{
  "schemaVersion": 1,
  "templateId": "competitors",
  "runId": "00000000-0000-4000-8000-000000000001",
  "inputs": {
    "query": "户外咖啡",
    "step3_region": "US"
  },
  "maxTotalCredits": 6,
  "estimatedCredits": 6,
  "priceVersion": "test-credit-v1",
  "steps": [
    {
      "id": "step-1",
      "title": "搜索小红书笔记",
      "capability": "xiaohongshu.notes.search",
      "params": {
        "query": "户外咖啡",
        "sort": "relevance"
      },
      "maxCredits": 2,
      "idempotencyKey": "wf:00000000-0000-4000-8000-000000000001:step-1"
    },
    {
      "id": "step-2",
      "title": "搜索抖音视频",
      "capability": "douyin.videos.search",
      "params": {
        "query": "户外咖啡",
        "sort": "relevance"
      },
      "maxCredits": 2,
      "idempotencyKey": "wf:00000000-0000-4000-8000-000000000001:step-2"
    },
    {
      "id": "step-3",
      "title": "Meta 广告库搜索",
      "capability": "meta.ads.search",
      "params": {
        "query": "户外咖啡",
        "region": "US",
        "sort": "popular"
      },
      "maxCredits": 2,
      "idempotencyKey": "wf:00000000-0000-4000-8000-000000000001:step-3"
    }
  ]
}
```

- [Open this task in the workbench](https://datanavoapi.com/tools/workflow-runner/?template=competitors)
- [Download Skill instructions](https://datanavoapi.com/downloads/skills/competitors.md)

## Review and stop conditions

- Each conclusion links back to a sample and request ID.
- Pagination stops at the agreed bound.
- Missing fields remain missing rather than being invented by the model.
- External writes, scheduled monitoring and automatic top-ups are not enabled by this workflow.

## Related pages

- [Xiaohongshu note search](https://datanavoapi.com/en/apis/xiaohongshu/notes/search/)
- [Douyin video search](https://datanavoapi.com/en/apis/douyin/videos/search/)
- [Meta Ad Library search](https://datanavoapi.com/en/apis/meta/ads/search/)
- [Post fields](https://datanavoapi.com/en/docs/objects/post/)
- [How do I keep API results within an AI context budget?](https://datanavoapi.com/en/answers/api-response-too-many-tokens/)
- [How should I evaluate a RedNote data API?](https://datanavoapi.com/en/answers/best-xiaohongshu-data-api/)
- [How do I choose data sources for a sentiment workflow?](https://datanavoapi.com/en/answers/bettafish-data-source/)
- [How can ChatGPT access RedNote notes?](https://datanavoapi.com/en/answers/can-chatgpt-read-xiaohongshu/)

[中文](https://datanavoapi.com/skills/competitors/)
