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

X Post Reply Escalation Brief

Turn a post, its replies, and its quote tweets into a compact escalation board for operators.

$0.0075price
4steps
6sources
5ktokens saved
3tool calls compressed
median latency
twit.shGeminiTwitsh Tweet LookupTwitsh Tweet RepliesTwitsh Tweet QuotesGoogle Gemini Flash Structured

Endpoint: /v1/recipes/x-post-reply-escalation-brief/run
Capabilities: x-replies, social-triage, escalation-board

Why pay for this?

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

Combines the root post, replies, and quotes into a compact escalation board with next actions.

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

Usage and trust

Success 30d: 0%
Refund 30d: 0%
Paid runs: 0
Creator recipes: 1
Last run: No recent runs

Pipeline

Stage 1

Load root post

fetch_transform

Source: Twitsh Tweet Lookup
Step id: tweet

Stage 2

Load replies

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

Build X post reply escalation brief

fetch_transform

Source: Google Gemini Flash Structured
Step id: summarize

Recent runs

RunStatusTriggerQueued
No recent runs recorded yet. Runs appear here after the first paid execution.
View raw step spec

Load root post

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

Load replies

{
  "id": "replies",
  "kind": "fetch_transform",
  "title": "Load replies",
  "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"
  }
}

Build X post reply escalation brief

{
  "id": "summarize",
  "kind": "fetch_transform",
  "title": "Build X post reply escalation brief",
  "request": {
    "params": {
      "input": {
        "tweet": "{{ $.stepsById.tweet.output }}",
        "quotes": "{{ $.stepsById.quotes.output }}",
        "replies": "{{ $.stepsById.replies.output }}",
        "tweetId": "{{ $.input.tweetId }}"
      },
      "prompt": "Build an X post reply escalation brief. Focus on whether the conversation needs escalation, the compact triage board, and the next actions.",
      "responseSchema": {
        "type": "object",
        "required": [
          "tweetId",
          "summary",
          "escalationBoard",
          "nextActions"
        ],
        "properties": {
          "summary": {
            "type": "string"
          },
          "tweetId": {
            "type": "string"
          },
          "nextActions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Suggested next actions."
          },
          "escalationBoard": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "title",
                "priority",
                "note"
              ],
              "properties": {
                "note": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "priority": {
                  "enum": [
                    "high",
                    "medium",
                    "low"
                  ],
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "description": "Reply and quote escalation items."
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "You are compressing social reply review into a short escalation board. Stay grounded in the supplied tweet, reply, and quote context only."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}