25356874 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 20:31.453
Run Time 00:53.012
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (00:54)
Cancelled
Discarded

Args

%{
  "account_id" => "224231",
  "account_insight_agent_id" => "ac8556e4-f12f-4fbb-861c-55941fa89000"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "iO6WO6m/Lb1IYmf+NssaGHqdrt1xgND8wMZFhJFvxls",
  "recorded" => true,
  "return" => "g1AAAAgteJytVc1OFEEQBgHRJYT4BnUSSdhZDV40Ahqi4WAI0ejFmEnvTO1OwUz32F3DMjcfwify7FP4BD6C1T27M4qIgFzmp1L9ffVVvqrmubm5W5NV0o7GGbs4Vaxyic2zPFYK/1AJk9FxmSvt/7++VEkGpTUlWq5BDc0JQqYcKPhUUXLcb/JhWDHLiw1klCIQw8iaAjhDcDguULOkUJ6ijWCfUtJjIAfa6H6Kjm0lKAL8/fOXjssX55MssiKNKSidBsA2I1FCjFAoYTwhR8McQY0lGRRLdg1MBUZexnJTpvNiF73YRR9dSFiF95sqiL0tyEXJ/nP7XSn8CGNrqrJjXJfWsdIJrodqHDK4zExi0nFFXv1I5a6hXGLiHP3X6n5oyfRk6HKlUxN3bM+uySaNw+gycnb/QsColeYDVVxJ0FoQ1J09T9LOtRlvSNShOPi6og6n7r+aqIsYLy3qxYUUb1lx5a4i694vsprT5wl7/h+sQdqRR7kjsmLGU54saMp95K4MPnEdU9qGVqYhrktsg2t4WmLCmMZUlDKrPra1l6PSaM8uEJgQZ2B0LuuoWRvTegmDtuURab9g5Hv+xysjSuExyBzlZ+RJuqwTvylsuz42ZSVJoGLTZ6uSY0w3g2ofrZzsoGEdFosv1xLKaEa93mvlpCeIGnbgyUPZW7Wsx7F52uvN5hf68OE94eTjg4y5dE8HA8dVSiZSZZlU6KLEFAPpLEvZbtDVNwgF7zpUNsm2Z2gbvV43RTcD3eG14N7NNwnu8VrwxlE3Cd8gbgQbmorlJLrGlKUlY8Vx/mcxk4vv9wG5/y+LNFdaOO09GzxsytJYrrTAHk2WxB2N9b7tWZQxSuFRN0NZPRajhP3vL10YGduSzS6tP0hNMLq4U8NW46gIDoygTFDManEkL3FC8GPnRTczq8TI+a41Nyy5gpx3b+Dpt6XNSlK5lJ3WgutVYbhli+gnCM/GcA",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "KMvyqJgISdZ++a7ww59b1IeutHUR4SQbomMV1va1o9Y",
  "workflow" => true,
  "workflow_id" => "019ddeab-ea59-7d30-9041-dbe51a166bdd"
}

Recorded Output

%{
  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 'instance' and set show_in_ui to false.",
          "title" => "Hide instance",
          "undo_prompt" => "Update group property 'instance' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'tenantName' and set show_in_ui to false.",
          "title" => "Hide tenantName",
          "undo_prompt" => "Update group property 'tenantName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'tenantPlan' and set show_in_ui to false.",
          "title" => "Hide tenantPlan",
          "undo_prompt" => "Update group property 'tenantPlan' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'tenantStatus' and set show_in_ui to false.",
          "title" => "Hide tenantStatus",
          "undo_prompt" => "Update group property 'tenantStatus' 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\ninstance - [View](https://studio.appcues.com/settings/properties/group?search=instance)\n\ntenantName - [View](https://studio.appcues.com/settings/properties/group?search=tenantName)\n\ntenantPlan - [View](https://studio.appcues.com/settings/properties/group?search=tenantPlan)\n\ntenantStatus - [View](https://studio.appcues.com/settings/properties/group?search=tenantStatus)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 4 stale group properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property hygiene insight for 4 stale visible group properties older than 30 days. None were referenced by experiences, and no existing non-dismissed group-property insight already reported them."
}

Errors

No Errors