25355492 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:54.952
Run Time 00:54.288
Inserted 17h ago
Scheduled 17h ago
Completed 17h ago (00:55)
Cancelled
Discarded

Args

%{
  "account_id" => "90440",
  "account_insight_agent_id" => "aacc64c3-2803-450f-a55e-3fd8eec57c2c"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "AkilNyO+ZNp2UKs6vhodJT53PYwLQ/8W5ADd5eeUbe8",
  "recorded" => true,
  "return" => "g1AAAAm5eJy1Vk1zG0UQdUjMh1MUNw45dbk4gEqSJTtWEt+MKYipVHCRmAsFqtFur3as1cwyH1LET+DIv+Pf8HpWKwlVQXzhYHtmdqa7X7/X3Q4HBwcfLA+NDeznWP9x5VgFzmlI5Wqq2TBp4/W0DH36oaAR1XFSaV/iBr+r2eFGxp5shb2xcVpSsMQLVUVY6ZI11Ype85JuPTv63kZneEWlyul3dpZUFvRChxV8UCiZKuUDnQ0oVyvfX3669uzHuQqqQnQPAn49ljgfy1NrxnWlDPYPfr305GwMGgFn1gQ2oQXQJccLjRiWJcOJgyeNiM3EKpdrM6WiskvCkQ+6qqhWLpAtaIVgKYvOiako4d814ffpuiAdyFiqrJnig491bV3wpEwDiRFLVSEcsm7XU61C2aVo1kkUK0jXjLlu3FXydJtXpGUB79atKKtYmdbzJlYtQHNwASsumi4t8LJYAaHCLQQUlJtyENfNg7kKWQm+JNktttrZPGYBwee7seIT/NYWPnxfUv5Rk3K/IeKRnD7MgpK/n9y2qGT3IYzO6yDMvAT1yV/rZ50tUlPxLl7l6yYp4x38wdpKsG0zlgxtJLjkScPeUodyN3HX39DpsxejyfnwaW8wGo16T4vzQe95dj7pDc8mo+d59oyHw6dk1BxmjvcVetyntyKSZHujVs+MFGcAVjFKpEt+putaFgKCnQPZLIThIeDT6eB01BsggCHCdqk42iNoXN7AxYQl2Q4kOUSiPDhdS2hPxomDw6BDxbI6vt2qqH2xp+lUJ9Hkdrxh4+Cv+7HxH1w43uXif2OAVBGwRemy84JIvK2RSsdIBRFryjnTHrLs3wm8j6HGceB3CeuTH5u63+RnG15SLADD0ljnsvviPtGmjK6fhVWdzDxqU/2ZmM8gjLGe1/AoZ39uWBII0aCP5Btipe79+wqfldfSsyxq14CkRBGkErO2jEslL9Cx5gq1ih9xhd6Tpz6+133WpVxoI0dYP/y8yRKubuvqBp23S18rY5D8Ln0LhL5R+VXJ2Qy3pLdIk1my2y3IuXUiL/TBM3ziGVri1GJyyBjodIY7EDudVFjmPUPg6KhHP++L45cvyxBqf3Fy4kPMte2rus4i+z5q80To8Cf3YfPEc5De6L86IurRWxB6kbCm7U0L6gKRo27PYao3fNHppK+vdoLcIJCbg9QmOp1uWm+aRXuwbhntNjUNv7Z5E11tPWK4pImzkhxe9tLk2SExiFwK61KqOp0TKMVqaAH5rEUeTetH77aNRDJhxKiFnirp3onEpXWzVLQKw95DfDOml3aOSXndWKNXYLhLP2G4WBHAb5Ej0yRmMw7YFroKSRixrhCnlwmbBmCjkZKrGicekSKCfpPc7SCK87lyyNWb0i4NoIl4zR4UASjIPYY2UoKv40I7H94gt5cBF3T6nyMNc4htKDyABmc92ICC4Aw8pDmeRR+ATab0JLdSI+uQvrOq8kLZa0tTWUthFnoanfCTugmqCAxyM/Lk5IjNFFmeozibflM7bR2oT0MPnUwD3T/69NXwX/5lKhVKfr8EBPdODa2LILWZtt8cau8j3/0N4RhBxA",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "225imVC1QR50Ptd5d6in4STpPU63kNlbgETR4KOkKPY",
  "workflow" => true,
  "workflow_id" => "019ddeab-ea24-7b65-8de3-37bec4fc0136"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight. Of 6 published experiences old enough to evaluate, only New User Journey had zero activity in the last 30 days.",
  insights_data: [
    %{
      "action_plan" => "As routine content hygiene, review whether this onboarding flow is still part of your current user journey. If it no longer supports an active rollout or onboarding path, unpublish it to keep your live experience inventory clean. If it is still intended to run, verify that its targeting still matches the current product and onboarding entry points.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 2796b514-0666-4f50-8c5b-13b68dc7e114 named \"New User Journey\". This flow had zero seen, completed, skipped, and error events from 2026-04-01 through 2026-04-30 and is being retired as inactive content hygiene.",
          "title" => "Unpublish inactive onboarding flow",
          "undo_prompt" => "Use the product support agent and the publish_experience tool to republish the web flow with experience ID 2796b514-0666-4f50-8c5b-13b68dc7e114 named \"New User Journey\" after reversing the inactivity cleanup decision."
        }
      ],
      "cta_text" => "Review inactive experience",
      "entity_id" => "2796b514-0666-4f50-8c5b-13b68dc7e114",
      "entity_type" => "flow",
      "expected_impact" => "Unpublishing unused content keeps your live experience inventory easier to manage and reduces the chance of maintaining outdated onboarding paths.",
      "finding" => "Reviewed published Pins, Banners, Flows, and Checklists that were published more than 3 weeks ago. Only **1 experience** had no activity in the last 30 days.\n\n- [New User Journey](https://studio.appcues.com/flows/2796b514-0666-4f50-8c5b-13b68dc7e114/settings)\n  - Type: Flow\n  - Published: **2025-06-19**\n  - Last 30 days activity: **0 seen**, **0 completed**, **0 skipped**, **0 errors**\n  - Purpose: A broad new-user onboarding tour for the **/invoices** page that introduces core navigation and workflow areas like Home, Invoice List, Vendors, queue buckets, filters, uploads, reports, and help resources.\n  - Targeting summary: Shown once on **/invoices** for users whose **_firstSeenAt** is older than 1 day across a large set of customer subdomains.\n  - Goals: **No goals configured**",
      "outcomes" => ["engagement"],
      "priority" => "medium",
      "title" => "1 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors