Recommended Actions

Retrieve Action Chain

Retrieves a recommended action chain by id, including chains that have already been run. Seeded chains are reconstructed from their hard-coded chain; generated chains are read from the account's stored chain, with each step's filled-in input.

get/recommended_actions/{id}

Response

generated chain retrieved

descriptionstring required

What running the chain accomplishes

idstring required

Chain ID — rac_seed_<chain>_<nonce> for seeded chains, rac_chain_* for generated ones

reasoningobject nullable required

Why this chain was recommended, or null when unavailable

titlestring required

Headline for the chain

Example response

{
  "actions": [
    {
      "action": "create_ad_xxxxxxxxxxxxxx",
      "cta": "https://whop.com/dashboard/biz_xxxxxxxxxxxxxx/marketing/ads",
      "cta_label": "Create campaign",
      "description": "Pick a budget",
      "execution_type": "redirect",
      "input": {
        "name": "Ceramic coating — Austin launch"
      },
      "reasoning": {
        "summary": "Create the campaign first"
      },
      "status": "pending",
      "title": "Create a campaign"
    }
  ],
  "description": "Get your product in front of buyers",
  "id": "rac_chain_xxxxxxxxxxxx",
  "reasoning": {
    "summary": "No active campaigns yet"
  },
  "title": "Launch an ad campaign"
}

Changes