402.bot
Recipe
live $0.0100 premium Social/X Research

X Topic Intel Dossier

Combine broad X search, broader public evidence, and a grounded answer into one topic-intel dossier.

$0.0100price
4steps
3sources
240ktokens saved
16tool calls compressed
13386msmedian latency
Twitsh Tweet SearchStableenrich Exa SearchGoogle Gemini Flash Structured

Endpoint: /v1/recipes/x-topic-intel-dossier/run
Capabilities: x-topic-monitoring, social-research, narrative-tracking

Why pay for this?

This recipe turns roughly 16 separate tool operations into one paid endpoint call and saves about ~240k tokens saved.

Search recent X posts -> Search broader public context -> Search grounded web context -> Generate topic dossier

Creator

Name: 402.bot
Wallet: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
Payout: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
ERC-8004: verified
Identity: 30379
Bio: 402.bot managed workflow marketplace recipes.
ERC-8004 reputation: 0.0
Creator score: 54

Usage and trust

Success 30d: 50%
Refund 30d: 0%
Paid runs: 4
Creator recipes: 1
Last run: 2026-03-12 10:20Z

Pipeline

Stage 1

Search recent X posts

fetch_transform

Source: Twitsh Tweet Search
Step id: search

Stage 2

Search broader public context

fetch_transform

Source: Stableenrich Exa Search
Step id: context

Stage 3

Search grounded web context

fetch_transform

Source: Stableenrich Exa Search
Step id: grounded

Stage 4

Generate topic dossier

fetch_transform

Source: Google Gemini Flash Structured
Step id: summarize

Recent runs

RunStatusTriggerQueued
ce8ae351-a7f0-4494-a257-3ad405914c90 succeeded recipe_api 2026-03-12T10:19:21.254Z
499d8b28-399e-46fb-9305-1d1152e65fd4 succeeded recipe_api 2026-03-12T10:17:12.103Z
d385f9c3-fdf6-46df-b8a8-0a46a1b60a11 failed recipe_api 2026-03-12T10:11:30.342Z
d438bcd3-b29a-422b-891d-dfdf5b9cb4c4 failed recipe_api 2026-03-12T09:54:25.417Z
View raw step spec

Search recent X posts

{
  "id": "search",
  "kind": "fetch_transform",
  "title": "Search recent X posts",
  "request": {
    "params": {
      "phrase": "{{ $.input.query }}",
      "hashtags": "{{ $.input.hashtags }}",
      "minLikes": "{{ $.input.minLikes }}",
      "minReplies": "{{ $.input.minReplies }}"
    },
    "sourceId": "twitsh_tweet_search",
    "deliveryFormat": "json"
  }
}

Search broader public context

{
  "id": "context",
  "kind": "fetch_transform",
  "title": "Search broader public context",
  "request": {
    "params": {
      "count": 5,
      "query": "site:x.com {{ $.input.query }}"
    },
    "sourceId": "stableenrich_exa_search",
    "deliveryFormat": "json"
  }
}

Search grounded web context

{
  "id": "grounded",
  "kind": "fetch_transform",
  "title": "Search grounded web context",
  "request": {
    "params": {
      "count": 5,
      "query": "{{ $.input.query }} payment narratives market discussion"
    },
    "sourceId": "stableenrich_exa_search",
    "deliveryFormat": "json"
  }
}

Generate topic dossier

{
  "id": "summarize",
  "kind": "fetch_transform",
  "title": "Generate topic dossier",
  "request": {
    "params": {
      "input": {
        "query": "{{ $.input.query }}",
        "tweets": "{{ $.stepsById.search.output }}",
        "xContext": "{{ $.stepsById.context.output }}",
        "groundedContext": "{{ $.stepsById.grounded.output }}"
      },
      "prompt": "Prepare a topic-intel dossier from these X search results. Focus on discourse clusters, grounded answer, key posts, narrative shifts, and monitoring suggestions.",
      "responseSchema": {
        "type": "object",
        "required": [
          "query",
          "summary",
          "groundedAnswer",
          "discourseClusters",
          "keyPosts",
          "narrativeShifts",
          "monitoringSuggestions"
        ],
        "properties": {
          "query": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "keyPosts": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "text"
              ],
              "properties": {
                "url": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                },
                "author": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "groundedAnswer": {
            "type": "string"
          },
          "narrativeShifts": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Narrative shifts."
          },
          "discourseClusters": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Discourse clusters."
          },
          "monitoringSuggestions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Monitoring suggestions."
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "You are preparing a concise X topic dossier. Stay grounded in the supplied social and grounded-answer evidence only."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}