{
  "requests": [
    {
      "path": "/automation/start/6ab1a167d5acec678da0bad2",
      "status": 201,
      "body": {
        "success": true,
        "message": "Automation started successfully",
        "automationId": "6ab1a167d5acec678da0bad2"
      }
    },
    {
      "path": "/automation/6ab1a167d5acec678da0bad2/execute",
      "status": 201,
      "body": {
        "success": true,
        "message": "Automation executed successfully",
        "executionId": "exec_1790026737258_v8eeyj",
        "result": {
          "success": true,
          "completedSteps": [
            "create-project"
          ],
          "results": [
            {
              "success": true,
              "error": null,
              "executionTime": 66,
              "data": {
                "created": true,
                "datatype": "cf_project",
                "recordId": "6ab1a3f1d5acec678da0badc",
                "record": {
                  "pk": "learner-recovery-mubo2g1c|cf_project",
                  "sk": "6ab1a3f1d5acec678da0badc",
                  "name": "Tutorial Automated kickoff sample",
                  "datatype": "cf_project",
                  "data": {
                    "title": "Tutorial Automated kickoff sample",
                    "stage": "Brief",
                    "nextDecisionDate": "2026-10-06T00:00:00.000Z",
                    "name": "Tutorial Automated kickoff sample"
                  },
                  "version": 0,
                  "created_by": "system",
                  "state": "draft",
                  "createdate": "2026-09-21T21:38:57.373Z",
                  "modifydate": "2026-09-21T21:38:57.373Z",
                  "search": "Tutorial Automated kickoff sample Brief 2026 10 06T00 00 00 000Z Tutorial Automated kickoff sample",
                  "id": "6ab1a3f1d5acec678da0badc"
                }
              },
              "nextStepId": null,
              "stepId": "create-project",
              "stepType": "action"
            }
          ],
          "executionId": "exec_1790026737258_v8eeyj",
          "totalSteps": 1,
          "startedAt": "2026-09-21T21:38:57.258Z",
          "completedAt": "2026-09-21T21:38:57.419Z",
          "logs": []
        }
      }
    },
    {
      "path": "/automation/stop/6ab1a167d5acec678da0bad2",
      "status": 201,
      "body": {
        "success": true,
        "message": "Automation stopped successfully",
        "automationId": "6ab1a167d5acec678da0bad2"
      }
    },
    {
      "path": "/automation/start/6ab1a167d5acec678da0bad2",
      "status": 201,
      "body": {
        "success": true,
        "message": "Automation started successfully",
        "automationId": "6ab1a167d5acec678da0bad2"
      }
    },
    {
      "path": "/automation/6ab1a167d5acec678da0bad2/execute",
      "status": 201,
      "body": {
        "success": true,
        "message": "Automation executed successfully",
        "executionId": "exec_1790027124811_ah7jxj",
        "result": {
          "success": true,
          "completedSteps": [
            "create-project"
          ],
          "results": [
            {
              "success": true,
              "error": null,
              "executionTime": 88,
              "data": {
                "created": true,
                "datatype": "cf_project",
                "recordId": "6ab1a5749e37fe9e050e2de7",
                "record": {
                  "pk": "learner-recovery-mubo2g1c|cf_project",
                  "sk": "6ab1a5749e37fe9e050e2de7",
                  "name": "Tutorial Automated kickoff sample",
                  "datatype": "cf_project",
                  "data": {
                    "title": "Tutorial Automated kickoff sample",
                    "stage": "Brief",
                    "nextDecisionDate": "2026-10-06T00:00:00.000Z",
                    "name": "Tutorial Automated kickoff sample"
                  },
                  "version": 0,
                  "created_by": "system",
                  "state": "draft",
                  "createdate": "2026-09-21T21:45:24.985Z",
                  "modifydate": "2026-09-21T21:45:24.985Z",
                  "search": "Tutorial Automated kickoff sample Brief 2026 10 06T00 00 00 000Z Tutorial Automated kickoff sample",
                  "id": "6ab1a5749e37fe9e050e2de7"
                }
              },
              "nextStepId": null,
              "stepId": "create-project",
              "stepType": "action"
            }
          ],
          "executionId": "exec_1790027124811_ah7jxj",
          "totalSteps": 1,
          "startedAt": "2026-09-21T21:45:24.818Z",
          "completedAt": "2026-09-21T21:45:25.089Z",
          "logs": []
        }
      }
    },
    {
      "path": "/automation/stop/6ab1a167d5acec678da0bad2",
      "status": 201,
      "body": {
        "success": true,
        "message": "Automation stopped successfully",
        "automationId": "6ab1a167d5acec678da0bad2"
      }
    }
  ],
  "runs": [
    {
      "_id": "6ab1a5749e37fe9e050e2de6",
      "pk": "learner-recovery-mubo2g1c|automation_execution",
      "sk": "6ab1a5749e37fe9e050e2de6",
      "name": "automation_execution-1790027124856-h97ggkav",
      "datatype": "automation_execution-enriched",
      "data": {
        "executionId": "exec_1790027124811_ah7jxj",
        "automationId": "6ab1a167d5acec678da0bad2",
        "status": "completed",
        "steps": [
          "create-project"
        ],
        "completedSteps": [
          "create-project"
        ],
        "results": [
          {
            "success": true,
            "error": null,
            "executionTime": 88,
            "data": {
              "created": true,
              "datatype": "cf_project",
              "recordId": "6ab1a5749e37fe9e050e2de7",
              "record": {
                "pk": "learner-recovery-mubo2g1c|cf_project",
                "sk": "6ab1a5749e37fe9e050e2de7",
                "name": "Tutorial Automated kickoff sample",
                "datatype": "cf_project",
                "data": {
                  "title": "Tutorial Automated kickoff sample",
                  "stage": "Brief",
                  "nextDecisionDate": "2026-10-06T00:00:00.000Z",
                  "name": "Tutorial Automated kickoff sample"
                },
                "version": 0,
                "created_by": "system",
                "state": "draft",
                "createdate": "2026-09-21T21:45:24.985Z",
                "modifydate": "2026-09-21T21:45:24.985Z",
                "search": "Tutorial Automated kickoff sample Brief 2026 10 06T00 00 00 000Z Tutorial Automated kickoff sample",
                "id": "6ab1a5749e37fe9e050e2de7"
              }
            },
            "nextStepId": null,
            "stepId": "create-project",
            "stepType": "action"
          }
        ],
        "logs": [],
        "errors": [],
        "startedAt": "2026-09-21T21:45:24.818Z",
        "completedAt": "2026-09-21T21:45:25.063Z",
        "context": {
          "orgId": "learner-recovery-mubo2g1c",
          "automationId": "6ab1a167d5acec678da0bad2",
          "executionId": "exec_1790027124811_ah7jxj",
          "currentStep": {
            "id": "create-project",
            "type": "action",
            "name": "create_data",
            "label": "Create Record",
            "enabled": true,
            "order": 1,
            "config": {
              "datatype": "cf_project",
              "data": {
                "title": "Tutorial Automated kickoff sample",
                "stage": "Brief",
                "nextDecisionDate": "2026-10-06T00:00:00.000Z"
              }
            }
          },
          "variables": {
            "stepConfig": {
              "datatype": "cf_project",
              "data": {
                "title": "Tutorial Automated kickoff sample",
                "stage": "Brief",
                "nextDecisionDate": "2026-10-06T00:00:00.000Z"
              }
            }
          },
          "metadata": {
            "triggeredBy": "manual-execution",
            "executedBy": "user"
          }
        }
      },
      "version": 1,
      "created_by": "system",
      "state": "draft",
      "createdate": "2026-09-21T21:45:24.938Z",
      "modifydate": "2026-09-21T21:45:25.080Z",
      "search": "exec 1790027124811 ah7jxj 6ab1a167d5acec678da0bad2 completed create project create project true 88 true cf project 6ab1a5749e37fe9e050e2de7 learner recovery mubo2g1c cf project 6ab1a5749e37fe9e050e2de7 Tutorial Automated kickoff sample cf project Tutorial Automated kickoff sample Brief 2026 10 06T00 00 00 000Z Tutorial Automated kickoff sample 0 system draft Tutorial Automated kickoff sample Brief 2026 10 06T00 00 00 000Z Tutorial Automated kickoff sample create project action learner recovery mubo2g1c 6ab1a167d5acec678da0bad2 exec 1790027124811 ah7jxj create project action create data Create Record true 1 cf project Tutorial Automated kickoff sample Brief 2026 10 06T00 00 00 000Z cf project Tutorial Automated kickoff sample Brief 2026 10 06T00 00 00 000Z manual execution user",
      "modified_by": "system"
    },
    {
      "_id": "6ab1a3f1d5acec678da0badb",
      "pk": "learner-recovery-mubo2g1c|automation_execution",
      "sk": "6ab1a3f1d5acec678da0badb",
      "name": "automation_execution-1790026737264-mvrqi248",
      "datatype": "automation_execution-enriched",
      "data": {
        "executionId": "exec_1790026737258_v8eeyj",
        "automationId": "6ab1a167d5acec678da0bad2",
        "status": "completed",
        "steps": [],
        "logs": [],
        "errors": [
          null
        ],
        "startedAt": "2026-09-21T21:38:57.258Z",
        "completedAt": "2026-09-21T21:38:57.412Z",
        "context": {
          "orgId": "learner-recovery-mubo2g1c",
          "automationId": "6ab1a167d5acec678da0bad2",
          "executionId": "exec_1790026737258_v8eeyj",
          "currentStep": {
            "id": "create-project",
            "type": "action",
            "name": "create_data",
            "label": "Create Record",
            "enabled": true,
            "order": 1,
            "config": {
              "datatype": "cf_project",
              "data": {
                "title": "Tutorial Automated kickoff sample",
                "stage": "Brief",
                "nextDecisionDate": "2026-10-06T00:00:00.000Z"
              }
            }
          },
          "variables": {
            "stepConfig": {
              "datatype": "cf_project",
              "data": {
                "title": "Tutorial Automated kickoff sample",
                "stage": "Brief",
                "nextDecisionDate": "2026-10-06T00:00:00.000Z"
              }
            }
          },
          "metadata": {
            "triggeredBy": "manual-execution",
            "executedBy": "user"
          }
        }
      },
      "version": 1,
      "created_by": "system",
      "state": "draft",
      "createdate": "2026-09-21T21:38:57.324Z",
      "modifydate": "2026-09-21T21:38:57.416Z",
      "search": "exec 1790026737258 v8eeyj 6ab1a167d5acec678da0bad2 completed learner recovery mubo2g1c 6ab1a167d5acec678da0bad2 exec 1790026737258 v8eeyj create project action create data Create Record true 1 cf project Tutorial Automated kickoff sample Brief 2026 10 06T00 00 00 000Z cf project Tutorial Automated kickoff sample Brief 2026 10 06T00 00 00 000Z manual execution user",
      "modified_by": "system"
    }
  ]
}