{
  "id": "tpl-ACMETICKETS0000000000000001",
  "version": 1,
  "workspace": "{{param.target_workspace}}",
  "record": {
    "name": "Ticket comment with approval",
    "description": "When a ticket is created, a person approves a comment, then it is added to the ticket.",
    "icon": "🎫",
    "industry": "operations",
    "complexity": "starter",
    "locale": "en",
    "aiAct": {
      "riskClass": "unclassified",
      "annexIiiCategory": "none",
      "intendedPurpose": "",
      "humanOversight": "",
      "transparencyNote": ""
    },
    "compliance": {
      "dataCategories": [],
      "dataSubjects": [],
      "lawfulBasis": "",
      "retentionDays": null
    },
    "parameters": [
      {
        "id": "conn_1",
        "type": "connection",
        "label": "Acme Tickets connection",
        "required": true,
        "connector": "@aancer/connector-acme-tickets"
      },
      {
        "id": "approvers_1",
        "type": "approvers",
        "label": "Who approves the comment",
        "required": true
      }
    ],
    "bindings": [
      {
        "parameterId": "conn_1",
        "stepId": "t",
        "path": "connectorAuth"
      },
      {
        "parameterId": "conn_1",
        "stepId": "c",
        "path": "connectorAuth"
      },
      {
        "parameterId": "approvers_1",
        "stepId": "ok",
        "path": "approvers"
      }
    ],
    "translations": {},
    "flow": {
      "name": "Ticket comment with approval",
      "rootStepId": "t",
      "steps": [
        {
          "id": "t",
          "type": "trigger",
          "name": "Ticket created",
          "position": {
            "x": 0,
            "y": 0
          },
          "triggerType": "connector",
          "triggerConnector": "@aancer/connector-acme-tickets",
          "triggerName": "ticket_created",
          "nextStepId": "ok"
        },
        {
          "id": "ok",
          "type": "approval",
          "name": "Approve the comment",
          "position": {
            "x": 0,
            "y": 120
          },
          "approvalMessage": "Add the standard acknowledgement to ticket {{t.id}}?",
          "approvalTimeout": 24,
          "nextStepId": "c"
        },
        {
          "id": "c",
          "type": "connector",
          "name": "Add comment",
          "position": {
            "x": 0,
            "y": 240
          },
          "connectorName": "@aancer/connector-acme-tickets",
          "connectorAction": "add_comment",
          "connectorInputs": {
            "ticketId": "{{t.id}}",
            "comment": "Thanks, we are on it."
          }
        }
      ]
    },
    "builtAgainst": {
      "catalogHash": "",
      "platformVersion": "1.0.0"
    },
    "createdAt": "2026-12-04T00:00:00.000Z"
  }
}