25353977 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 13:11.370
Run Time 00:57.063
Inserted 2h ago
Scheduled 2h ago
Completed 1h ago (00:58)
Cancelled
Discarded

Args

%{
  "account_id" => "211689",
  "account_insight_agent_id" => "aa036292-724a-47b4-ba25-fde1f5241968"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "oaRjTRmWocCYTjx+PXVd1i0hq0tL0BmDo35Qhxske9U",
  "recorded" => true,
  "return" => "g1AAAAfweJytVUtuFEEMTUgCZCKEEBfwihAp0wMKCxKJbwTKghUSbBBq1XR7pp10VxVV7kx6xyE4BOfgKCw4B67qyXxCBhKSTX8s28/PerZ5aWnpxugOaU/Dgn2aK1al2JZZHhtVeKiMyejUlkqH/x9vVFaAdcai4wZU3xwjFMqDgi81ZUfd1h/6NbO82EBBOQIxDJypgAsEj8MKNYsLlTm6BA4oJz0E8qCN7ubo2dWSRRL//PptihWKC04OWZHGHJTOY8KJR6YEGKFSgnhMnvolghqKMygW7waYKkwCjVttmT6QXQ1kV4N1JWMV3+/rSPamZK4sh89XH6zgIwydqe0UcTMTB8mcalXhZqzII4MvzCglndYUOjBQpW9h15i4xPB17yC0ZTY6drvWuUmnqC+vgCpNxOQi1PYXgGBlS9MgppmpNV+G3P1Ibj7+PHqvr4R8YYK7C2CCpi9Daz3SOp2Es2Se/gfKhSnsLUjOjlR5GQ6dyCGGnUdiUav+ihNZHIbw28IgZTzh0YqmCLAuk07cpJRPTBtjEzcWJ8a7eGIxY8xTEmlnsZid/RKVRnd2Y8CIuACjS9k/7Z4YF0ro43APSIeNIt/Lv96KhHJ4Al422xle4i77I6wGN9kX27KDxFCz6bJT2RHm25F1sNZelk6/iZsklOsIdYZJp/NOeekJoobnsPtIFlUj+3Bo9jqd2UGFLnz6SDj6/LBgtn6v1/Nc52QSZW1Wo0/EuSfdZSnd96Y19mLRLzwqlxXPZjNudTrzo3I9EPM5BSRI+HpSh0ySMMrpejLGVFtRfKZmCUHfStE6Mk50Fn5WC7lv84Pw4F/CaC9XjA5Kjco11hrHtZa0h6M10UQruO/7DmVqcngMRTMUVcjBa08qDIybYJyepD+wTFS1SFHDzlg+UeLaQI4cx2JGcHIAB+jClx9LUy4eZ0W4ofGAkq/I+xhDnuNpbatJfgN/W69T",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "AUYm0+CfKE6ozPuMq6hZXPzMTEYhbqBQWKLY2Jn55Uw",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a4-74d1-84f3-b76f7fbdf198"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for 4 stale visible group properties older than 30 days with no detected experience references and no matching non-dismissed existing insight.",
  insights_data: [
    %{
      "action_plan" => "Each property above has a quick-action button to hide it from the segment builder. Hiding is non-destructive — property data is retained and the property can be made visible again at any time.",
      "actions" => [
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'company_name' and set show_in_ui to false.",
          "title" => "Hide company_name",
          "undo_prompt" => "Update group property 'company_name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'employee_count' and set show_in_ui to false.",
          "title" => "Hide employee_count",
          "undo_prompt" => "Update group property 'employee_count' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'plan' and set show_in_ui to false.",
          "title" => "Hide plan",
          "undo_prompt" => "Update group property 'plan' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'trial' and set show_in_ui to false.",
          "title" => "Hide trial",
          "undo_prompt" => "Update group property 'trial' and set show_in_ui to true."
        }
      ],
      "cta_text" => nil,
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Cleaner segment builder with only active properties",
      "finding" => "Found 4 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\ncompany_name - [View](https://studio.appcues.com/settings/properties/group?search=company_name)\n\nemployee_count - [View](https://studio.appcues.com/settings/properties/group?search=employee_count)\n\nplan - [View](https://studio.appcues.com/settings/properties/group?search=plan)\n\ntrial - [View](https://studio.appcues.com/settings/properties/group?search=trial)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 4 stale group properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors