index.md

HTML wrapper for HTML-only fetchers; content is shown verbatim.

Raw file

Links (extracted)

Clickable list for reviewers; avoids copy/paste line-wrap issues.
# if.api demo — Workato automation resolver (receipt-backed)

**Audience:** external reviewers + operators  
**Reality gate:** demo of a transformation contract, not a deployed Workato integration.

---

## Links (HTML-first)

if.trace receipt:
https://infrafabric.io/static/trace/Z7cho6wS6grqOFVqfAQpSw

Pack (HTML view):
https://infrafabric.io/static/pack/Z7cho6wS6grqOFVqfAQpSw

Pack (raw Markdown):
https://infrafabric.io/static/pack/Z7cho6wS6grqOFVqfAQpSw.md

Source bundle (tgz):
https://infrafabric.io/static/source/ab2f0ebe6fc7943b1e14972f7c7e4fc5009a0e09ce5a228cd16562519f7b97cc.tgz

---

## What this proves (black/white)

This demo proves:
- a known Workato recipe definition can be transformed deterministically into a normalized event envelope
- the output is bound to if.trace receipts (hash checks; signatures only where present and verifiable)

This demo does not prove:
- live Workato API calls, OAuth scopes, or recipe execution
- any shipped if.bus runtime or message broker

---

## Demo artifacts

Source bundle sha256 (tgz):

    ab2f0ebe6fc7943b1e14972f7c7e4fc5009a0e09ce5a228cd16562519f7b97cc

Input JSON sha256:

    2d4a547f4befa7ba6aa41290a145818cfc67a40927af0a9127c447e570eff1c3

Normalized output JSON sha256:

    f3fa894adfe62c4378c2bc811556a86294b553e77a57f5a85439735a0fc877e3

---

## How to reproduce (no internal access)

```bash
curl -fsSL -o if-api-workato-demo-source.tgz "https://infrafabric.io/static/source/ab2f0ebe6fc7943b1e14972f7c7e4fc5009a0e09ce5a228cd16562519f7b97cc.tgz"
sha256sum if-api-workato-demo-source.tgz

tar -xzf if-api-workato-demo-source.tgz
python3 resolve_workato_demo.py workato_input.json > resolved_event.json
sha256sum resolved_event.json
```

Expected `sha256sum` (source bundle):

    ab2f0ebe6fc7943b1e14972f7c7e4fc5009a0e09ce5a228cd16562519f7b97cc  if-api-workato-demo-source.tgz

Expected `sha256sum` (normalized output):

    f3fa894adfe62c4378c2bc811556a86294b553e77a57f5a85439735a0fc877e3  resolved_event.json

---

## Output (normalized event envelope)

```json
{
  "event": "resolve",
  "input_sha256": "2d4a547f4befa7ba6aa41290a145818cfc67a40927af0a9127c447e570eff1c3",
  "integration": "workato",
  "notes": {
    "integrity": "see if.trace receipt for output bytes",
    "live_lookup": false
  },
  "requested_at": "2026-01-07T00:00:00Z",
  "resolved_at": "2026-01-07T00:00:00Z",
  "results": [
    {
      "metadata": {
        "action": "slack.post_message",
        "owner": "demo.builder@example.com",
        "status": "enabled",
        "trigger": "salesforce.new_lead"
      },
      "recipe_id": "rcp_3101",
      "resolution_method": "synthetic-map",
      "status": "resolved",
      "target_url": "https://www.workato.com/recipes/3101"
    },
    {
      "metadata": {
        "action": "google.sheets.append_row",
        "owner": "demo.builder@example.com",
        "status": "paused",
        "trigger": "github.issue_opened"
      },
      "recipe_id": "rcp_3102",
      "resolution_method": "synthetic-map",
      "status": "resolved",
      "target_url": "https://www.workato.com/recipes/3102"
    }
  ],
  "schema_version": "demo.v1"
}
```