402.bot
Recipe
live $0.0075 medium Social/X Research

X Thread Brief

Summarize a thread, its replies, and quote-tweet themes from one X post id.

$0.0075price
4steps
4sources
240ktokens saved
16tool calls compressed
28552msmedian latency
Twitsh Tweet LookupTwitsh Tweet RepliesTwitsh Tweet QuotesGoogle Gemini Flash Structured

Endpoint: /v1/recipes/x-thread-brief/run
Capabilities: x-analysis, thread-summary, social-research

Why pay for this?

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

Load root tweet -> Load reply page -> Load quote tweets -> Generate thread brief

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: 47

Usage and trust

Success 30d: 33%
Refund 30d: 0%
Paid runs: 6
Creator recipes: 1
Last run: 2026-03-12 06:19Z

Pipeline

Stage 1

Load root tweet

fetch_transform

Source: Twitsh Tweet Lookup
Step id: rootTweet

Stage 2

Load reply page

fetch_transform

Source: Twitsh Tweet Replies
Step id: replies

Stage 3

Load quote tweets

fetch_transform

Source: Twitsh Tweet Quotes
Step id: quotes

Stage 4

Generate thread brief

fetch_transform

Source: Google Gemini Flash Structured
Step id: summarize

Recent runs

RunStatusTriggerQueued
ae74261d-0399-412f-9524-593e611b922d succeeded recipe_api 2026-03-12T06:19:05.517Z
ebd57773-a136-4ea6-b273-b63590036aee succeeded recipe_api 2026-03-12T05:13:29.929Z
5dfcdaaa-4104-4d8e-95b4-74004d413952 failed recipe_api 2026-03-12T05:09:21.568Z
5278fe1c-444b-4fb2-886a-0d4402dabc62 failed recipe_api 2026-03-12T04:58:05.289Z
a6d2ca02-b119-4741-9311-90e717ff30c6 failed recipe_api 2026-03-12T04:34:01.807Z
2338afe0-90a0-4ef6-aab1-9f2224aaca14 failed recipe_api 2026-03-12T04:11:26.293Z
View raw step spec

Load root tweet

{
  "id": "rootTweet",
  "kind": "fetch_transform",
  "title": "Load root tweet",
  "request": {
    "params": {
      "id": "{{ $.input.tweetId }}"
    },
    "sourceId": "twitsh_tweet_lookup",
    "deliveryFormat": "json"
  }
}

Load reply page

{
  "id": "replies",
  "kind": "fetch_transform",
  "title": "Load reply page",
  "request": {
    "params": {
      "id": "{{ $.input.tweetId }}"
    },
    "sourceId": "twitsh_tweet_replies",
    "deliveryFormat": "json"
  }
}

Load quote tweets

{
  "id": "quotes",
  "kind": "fetch_transform",
  "title": "Load quote tweets",
  "request": {
    "params": {
      "id": "{{ $.input.tweetId }}"
    },
    "sourceId": "twitsh_tweet_quotes",
    "deliveryFormat": "json"
  }
}

Generate thread brief

{
  "id": "summarize",
  "kind": "fetch_transform",
  "title": "Generate thread brief",
  "request": {
    "params": {
      "input": {
        "quotes": "{{ $.stepsById.quotes.output }}",
        "replies": "{{ $.stepsById.replies.output }}",
        "tweetId": "{{ $.input.tweetId }}",
        "rootTweet": "{{ $.stepsById.rootTweet.output }}"
      },
      "prompt": "Summarize the root thread, reply themes, and quote-tweet themes. Keep the output compact and factual.",
      "responseSchema": {
        "type": "object",
        "required": [
          "tweetId",
          "conversationId",
          "summary",
          "keyReplyThemes",
          "quoteTweetThemes",
          "notableAccounts",
          "recommendedFollowUps"
        ],
        "properties": {
          "summary": {
            "type": "string"
          },
          "tweetId": {
            "type": "string"
          },
          "conversationId": {
            "type": "string"
          },
          "keyReplyThemes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Reply themes."
          },
          "notableAccounts": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Accounts."
          },
          "quoteTweetThemes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Quote themes."
          },
          "recommendedFollowUps": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Follow-ups."
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "You are summarizing an X conversation for operators. Use only the supplied tweet data."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}