{
  "generatedAt": "2026-07-18T19:22:36.394Z",
  "n8nVersion": "2.30.7",
  "workflowId": "port13UgcOrchestrator",
  "workflowPath": "/webhook/portfolio-ugc-create",
  "results": [
    {
      "name": "software",
      "status": 202,
      "payload": {
        "ok": true,
        "status": "render-queued",
        "renderJob": {
          "renderJobId": "32ece382-d2ca-4780-828d-4dc84c30f8d0",
          "campaignId": "17d11ead-5cfa-40e7-b4d8-9e7136759016",
          "scriptId": "b89243d3-f6e5-4508-bf4c-6a2b885e7450",
          "templateId": "licensed-template-01",
          "provider": "heygen-adapter",
          "providerJobId": "mock-e85790ea-0f19-4f13-9c01-f1d81d5189c3",
          "status": "queued",
          "pollCount": 0,
          "callbackExpected": true,
          "outputFormat": "video/mp4",
          "aspectRatio": "9:16",
          "idempotencyKey": "ugc:render:ugc-brief-001",
          "createdAt": "2026-07-18T19:22:36.015Z"
        },
        "script": {
          "scriptId": "b89243d3-f6e5-4508-bf4c-6a2b885e7450",
          "campaignId": "17d11ead-5cfa-40e7-b4d8-9e7136759016",
          "status": "awaiting-operator-approval",
          "sections": [
            {
              "key": "hook",
              "text": "I did not expect FlowPilot to make this part so much easier.",
              "emotion": "high-energy",
              "pace": "fast"
            },
            {
              "key": "problem",
              "text": "If you are a small operations team, the old process can feel slow and frustrating.",
              "emotion": "concerned",
              "pace": "medium"
            },
            {
              "key": "product",
              "text": "FlowPilot gives you a simpler way to move forward.",
              "emotion": "excited",
              "pace": "medium"
            },
            {
              "key": "benefits",
              "text": "The biggest benefits are see stalled work, assign clear owners, reduce follow-up.",
              "emotion": "confident",
              "pace": "medium"
            },
            {
              "key": "credibility",
              "text": "You can review the result yourself before deciding what to do next.",
              "emotion": "reassuring",
              "pace": "slow"
            },
            {
              "key": "cta",
              "text": "Try the guided workflow audit",
              "emotion": "warm-friendly",
              "pace": "medium"
            }
          ],
          "expressionMappingMethod": "segment-level voice style, pauses, cuts, and provider-supported avatar controls",
          "promptVersion": 1,
          "operatorEditable": true,
          "idempotencyKey": "ugc:script:ugc-brief-001",
          "createdAt": "2026-07-18T19:22:35.990Z"
        }
      }
    },
    {
      "name": "software-replay",
      "status": 202,
      "payload": {
        "ok": true,
        "status": "render-queued",
        "renderJob": {
          "renderJobId": "32ece382-d2ca-4780-828d-4dc84c30f8d0",
          "campaignId": "17d11ead-5cfa-40e7-b4d8-9e7136759016",
          "scriptId": "b89243d3-f6e5-4508-bf4c-6a2b885e7450",
          "templateId": "licensed-template-01",
          "provider": "heygen-adapter",
          "providerJobId": "mock-e85790ea-0f19-4f13-9c01-f1d81d5189c3",
          "status": "queued",
          "pollCount": 0,
          "callbackExpected": true,
          "outputFormat": "video/mp4",
          "aspectRatio": "9:16",
          "idempotencyKey": "ugc:render:ugc-brief-001",
          "createdAt": "2026-07-18T19:22:36.015Z",
          "replayed": true
        },
        "script": {
          "scriptId": "b89243d3-f6e5-4508-bf4c-6a2b885e7450",
          "campaignId": "17d11ead-5cfa-40e7-b4d8-9e7136759016",
          "status": "awaiting-operator-approval",
          "sections": [
            {
              "key": "hook",
              "text": "I did not expect FlowPilot to make this part so much easier.",
              "emotion": "high-energy",
              "pace": "fast"
            },
            {
              "key": "problem",
              "text": "If you are a small operations team, the old process can feel slow and frustrating.",
              "emotion": "concerned",
              "pace": "medium"
            },
            {
              "key": "product",
              "text": "FlowPilot gives you a simpler way to move forward.",
              "emotion": "excited",
              "pace": "medium"
            },
            {
              "key": "benefits",
              "text": "The biggest benefits are see stalled work, assign clear owners, reduce follow-up.",
              "emotion": "confident",
              "pace": "medium"
            },
            {
              "key": "credibility",
              "text": "You can review the result yourself before deciding what to do next.",
              "emotion": "reassuring",
              "pace": "slow"
            },
            {
              "key": "cta",
              "text": "Try the guided workflow audit",
              "emotion": "warm-friendly",
              "pace": "medium"
            }
          ],
          "expressionMappingMethod": "segment-level voice style, pauses, cuts, and provider-supported avatar controls",
          "promptVersion": 1,
          "operatorEditable": true,
          "idempotencyKey": "ugc:script:ugc-brief-001",
          "createdAt": "2026-07-18T19:22:35.990Z",
          "replayed": true
        }
      }
    },
    {
      "name": "education",
      "status": 202,
      "payload": {
        "ok": true,
        "status": "render-queued",
        "renderJob": {
          "renderJobId": "1f8c008b-14d0-41f9-8e42-948b081a2d59",
          "campaignId": "a6723c0c-ed53-4bdf-aa7a-6c0d94135d42",
          "scriptId": "9d729766-7c20-4f87-b809-e8d9f81a78fd",
          "templateId": "licensed-template-02",
          "provider": "heygen-adapter",
          "providerJobId": "mock-c4c30e43-4778-4f46-80f5-d8f18cb2f3d1",
          "status": "queued",
          "pollCount": 0,
          "callbackExpected": true,
          "outputFormat": "video/mp4",
          "aspectRatio": "9:16",
          "idempotencyKey": "ugc:render:ugc-brief-002",
          "createdAt": "2026-07-18T19:22:36.173Z"
        },
        "script": {
          "scriptId": "9d729766-7c20-4f87-b809-e8d9f81a78fd",
          "campaignId": "a6723c0c-ed53-4bdf-aa7a-6c0d94135d42",
          "status": "awaiting-operator-approval",
          "sections": [
            {
              "key": "hook",
              "text": "I did not expect RecallMap to make this part so much easier.",
              "emotion": "high-energy",
              "pace": "fast"
            },
            {
              "key": "problem",
              "text": "If you are busy university students, the old process can feel slow and frustrating.",
              "emotion": "concerned",
              "pace": "medium"
            },
            {
              "key": "product",
              "text": "RecallMap gives you a simpler way to move forward.",
              "emotion": "excited",
              "pace": "medium"
            },
            {
              "key": "benefits",
              "text": "The biggest benefits are organized review, clear daily tasks, progress visibility.",
              "emotion": "confident",
              "pace": "medium"
            },
            {
              "key": "credibility",
              "text": "You can review the result yourself before deciding what to do next.",
              "emotion": "reassuring",
              "pace": "slow"
            },
            {
              "key": "cta",
              "text": "Build your first study map",
              "emotion": "warm-friendly",
              "pace": "medium"
            }
          ],
          "expressionMappingMethod": "segment-level voice style, pauses, cuts, and provider-supported avatar controls",
          "promptVersion": 1,
          "operatorEditable": true,
          "idempotencyKey": "ugc:script:ugc-brief-002",
          "createdAt": "2026-07-18T19:22:36.168Z"
        }
      }
    },
    {
      "name": "local-service",
      "status": 202,
      "payload": {
        "ok": true,
        "status": "render-queued",
        "renderJob": {
          "renderJobId": "6725ac15-e44f-4bf4-9f91-1c5bf88d015e",
          "campaignId": "7f6c8fa0-37f7-4dab-a12e-f76bcce9411d",
          "scriptId": "4ebda944-cf72-43fe-9873-948fd06fe695",
          "templateId": "licensed-template-03",
          "provider": "heygen-adapter",
          "providerJobId": "mock-846fc87e-a04d-4643-9246-56c8c3da01dd",
          "status": "queued",
          "pollCount": 0,
          "callbackExpected": true,
          "outputFormat": "video/mp4",
          "aspectRatio": "9:16",
          "idempotencyKey": "ugc:render:ugc-brief-003",
          "createdAt": "2026-07-18T19:22:36.238Z"
        },
        "script": {
          "scriptId": "4ebda944-cf72-43fe-9873-948fd06fe695",
          "campaignId": "7f6c8fa0-37f7-4dab-a12e-f76bcce9411d",
          "status": "awaiting-operator-approval",
          "sections": [
            {
              "key": "hook",
              "text": "I did not expect ClearDesk to make this part so much easier.",
              "emotion": "high-energy",
              "pace": "fast"
            },
            {
              "key": "problem",
              "text": "If you are independent service professionals, the old process can feel slow and frustrating.",
              "emotion": "concerned",
              "pace": "medium"
            },
            {
              "key": "product",
              "text": "ClearDesk gives you a simpler way to move forward.",
              "emotion": "excited",
              "pace": "medium"
            },
            {
              "key": "benefits",
              "text": "The biggest benefits are fewer missed bookings, automatic reminders, simple rescheduling.",
              "emotion": "confident",
              "pace": "medium"
            },
            {
              "key": "credibility",
              "text": "You can review the result yourself before deciding what to do next.",
              "emotion": "reassuring",
              "pace": "slow"
            },
            {
              "key": "cta",
              "text": "Book a free setup review",
              "emotion": "warm-friendly",
              "pace": "medium"
            }
          ],
          "expressionMappingMethod": "segment-level voice style, pauses, cuts, and provider-supported avatar controls",
          "promptVersion": 1,
          "operatorEditable": true,
          "idempotencyKey": "ugc:script:ugc-brief-003",
          "createdAt": "2026-07-18T19:22:36.233Z"
        }
      }
    },
    {
      "name": "unapproved",
      "status": 200,
      "payload": {
        "ok": true,
        "status": "script-awaiting-approval",
        "script": {
          "scriptId": "32133b40-9ade-41ad-969f-b5c1cef6765d",
          "campaignId": "f3e70591-9bba-4a7c-8c27-d47ca09d507c",
          "status": "awaiting-operator-approval",
          "sections": [
            {
              "key": "hook",
              "text": "I did not expect FlowPilot to make this part so much easier.",
              "emotion": "high-energy",
              "pace": "fast"
            },
            {
              "key": "problem",
              "text": "If you are operations teams, the old process can feel slow and frustrating.",
              "emotion": "concerned",
              "pace": "medium"
            },
            {
              "key": "product",
              "text": "FlowPilot gives you a simpler way to move forward.",
              "emotion": "excited",
              "pace": "medium"
            },
            {
              "key": "benefits",
              "text": "The biggest benefits are visibility.",
              "emotion": "confident",
              "pace": "medium"
            },
            {
              "key": "credibility",
              "text": "You can review the result yourself before deciding what to do next.",
              "emotion": "reassuring",
              "pace": "slow"
            },
            {
              "key": "cta",
              "text": "Learn more",
              "emotion": "warm-friendly",
              "pace": "medium"
            }
          ],
          "expressionMappingMethod": "segment-level voice style, pauses, cuts, and provider-supported avatar controls",
          "promptVersion": 1,
          "operatorEditable": true,
          "idempotencyKey": "ugc:script:ugc-brief-004",
          "createdAt": "2026-07-18T19:22:36.332Z"
        }
      }
    },
    {
      "name": "invalid-consent",
      "status": 409,
      "payload": {
        "ok": false,
        "status": "consent-or-campaign-rejected",
        "error": "Licensed avatar, voice, and media consent is required"
      }
    }
  ],
  "finalState": {
    "campaigns": 4,
    "scripts": 4,
    "queuedRenders": 3,
    "costEvents": 3
  },
  "assertions": {
    "actualN8nWebhookExecuted": true,
    "threeReusableBriefsQueued": true,
    "replayDeduplicated": true,
    "approvalGateVerified": true,
    "consentGateVerified": true,
    "verticalOutputVerified": true,
    "expressionInstructionsVerified": true,
    "costTrackingVerified": true
  }
}
