Deal Updated v2 Example

Event Label: Deal Updated V2

Event Name: deal.updated.v2

Trigger: When a Deal is updated

Target Org: The Sales Org that created the Deal

{
  "payload": {
    "targetOrg": "88888888-0e5f-4996-8f74-28c75ddb48b9",
    "initiatedBy": "296af00b-3c04-45bd-82a4-a2ece88171eb",
    "current": {
      "id": "59886cce-2504-4da8-b63a-25b088e97b46",
      "files": [],
      "shortCode": "b9sqedcvp",
      "state": {
        "isOwner": false
      }
    },
    "previous": {
      "id": "59886cce-2504-4da8-b63a-25b088e97b46",
      "files": [],
      "shortCode": "b9sqedcvp",
      "state": {
        "isOwner": true
      }
    },
    "changes": {
      "state": {
        "isOwner": false
      },
      "properties": {},
      "progress": {
        "fields": {
          "modified": [
            "isOwner"
          ],
          "added": [],
          "removed": []
        },
        "files": {
          "added": [],
          "removed": []
        },
        "stages": {
          "current": null,
          "modified": [
            "prequalification"
          ],
          "satisfied": [],
          "regressed": []
        }
      }
    }
  },
  "event": "deal.updated.v2"
}