Anjal · Schema

CadenceStepInput

EmailArtificial IntelligenceAgentsSoftware-as-a-ServiceEmail API

Properties

Name Type Description
kind string
delayDays number Days after the previous step's completion. 0 = fire on enrollment for step 0; 0.25 = 6 hours.
condition stringnull
draftStrategy string How the runner gets the rendered content for this step. - `static` — Use `staticBody` (+ `staticSubject` for email) as the message verbatim, with `{{name}}`, `{{first_name}}`, `{{email}}` token substi
staticSubject stringnull Email-only. The literal subject line for static-strategy email steps. Supports `{{name}}` / `{{first_name}}` / `{{email}}` tokens.
staticBody stringnull The literal message body for static-strategy steps. Supports `{{name}}` / `{{first_name}}` / `{{email}}` tokens. Required when `draftStrategy: "static"`.
promptHint stringnull Free-text hint for the step. Anjal does not read this — it's passed through verbatim in the `cadence.step.draft.requested` webhook payload (`step.promptHint`) so the customer's draft handler can use i
notes stringnull Operator notes — not sent anywhere, just stored for the customer's reference.
View JSON Schema on GitHub

JSON Schema

anjal-app-cadence-step-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anjal-app/json-schema/anjal-app-cadence-step-input-schema.json",
  "title": "CadenceStepInput",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anjal-app-openapi.yaml#/components/schemas/CadenceStepInput",
  "type": "object",
  "required": [
    "kind",
    "delayDays"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "linkedin_connect",
        "linkedin_message",
        "email",
        "wait"
      ]
    },
    "delayDays": {
      "type": "number",
      "minimum": 0,
      "maximum": 365,
      "description": "Days after the previous step's completion. 0 = fire on enrollment for step 0; 0.25 = 6 hours."
    },
    "condition": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "after_accept",
        "no_reply_to_prev",
        "never_replied"
      ]
    },
    "draftStrategy": {
      "type": "string",
      "enum": [
        "static",
        "webhook"
      ],
      "default": "static",
      "description": "How the runner gets the rendered content for this step.\n\n- `static`  — Use `staticBody` (+ `staticSubject` for email) as\n              the message verbatim, with `{{name}}`,\n              `{{first_name}}`, `{{email}}` token\n              substitution. Predictable; zero external deps.\n- `webhook` — At fire-time, the runner POSTs a\n              `cadence.step.draft.requested` event to the\n              cadence's `webhookUrl` and waits up to 30s for\n              a JSON response of\n              `{ body, subject?, skip?, defer? }`. The\n              customer's app brings the actual content with\n              its own business context, its own LLM if it\n              wants one, its own thread memory. Anjal never\n              generates copy on the customer's behalf.\n\nThe legacy `\"ai\"` value was REMOVED 2026-05-19 — Anjal no\nlonger drafts content server-side. New cadences passing\n`\"ai\"` get a `VALIDATION_ERROR` with a migration hint\npointing here. Pre-existing rows with `\"ai\"` will surface\n`AI_STRATEGY_REMOVED` as the per-enrollment `lastError.code`\nwhen the runner tries to fire them — fix by updating the\nstep to `static` (with `staticBody`) or `webhook` (with the\ncadence's `webhookUrl` set).\n"
    },
    "staticSubject": {
      "type": [
        "string",
        "null"
      ],
      "description": "Email-only. The literal subject line for static-strategy email steps. Supports `{{name}}` / `{{first_name}}` / `{{email}}` tokens."
    },
    "staticBody": {
      "type": [
        "string",
        "null"
      ],
      "description": "The literal message body for static-strategy steps. Supports `{{name}}` / `{{first_name}}` / `{{email}}` tokens. Required when `draftStrategy: \"static\"`."
    },
    "promptHint": {
      "type": [
        "string",
        "null"
      ],
      "description": "Free-text hint for the step. Anjal does not read this — it's\npassed through verbatim in the `cadence.step.draft.requested`\nwebhook payload (`step.promptHint`) so the customer's draft\nhandler can use it as per-step context. Ignored by static\nstrategy.\n"
    },
    "notes": {
      "type": [
        "string",
        "null"
      ],
      "description": "Operator notes — not sent anywhere, just stored for the customer's reference."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/anjal-app-cadence-step-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.