{
  "info": {
    "name": "Shire Automations Planning API",
    "description": "Read Shire Automations service and pricing information, list planning tools, and calculate workflow planning results. No API key is required. Included requests use synchronous processing; optional async jobs store inputs and results for up to 15 minutes. Do not send credentials or sensitive customer, patient, or financial-account data.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [{ "key": "baseUrl", "value": "https://shireautomations.com" }],
  "item": [
    {
      "name": "Get catalog",
      "request": { "method": "GET", "header": [{ "key": "Accept", "value": "application/json" }], "url": "{{baseUrl}}/api/v1/catalog" }
    },
    {
      "name": "List planning tools",
      "request": { "method": "GET", "header": [{ "key": "Accept", "value": "application/json" }], "url": "{{baseUrl}}/api/v1/tools" }
    },
    {
      "name": "Map a workflow",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }],
        "body": { "mode": "raw", "raw": "{\n  \"input\": {\n    \"workflowName\": \"New lead follow-up\",\n    \"trigger\": \"A lead form is submitted\",\n    \"outcome\": \"The lead is assigned and receives a response\",\n    \"steps\": [\n      { \"name\": \"Review the request\", \"owner\": \"Sales\", \"tool\": \"CRM\", \"kind\": \"task\" },\n      { \"name\": \"Assign an owner\", \"owner\": \"Sales lead\", \"tool\": \"CRM\", \"kind\": \"handoff\" }\n    ]\n  }\n}" },
        "url": "{{baseUrl}}/api/v1/tools/workflow-mapper"
      }
    }
  ]
}
