25353073 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 10:01.185
Run Time 00:37.875
Inserted 10h ago
Scheduled 10h ago
Completed 10h ago (00:38)
Cancelled
Discarded

Args

%{
  "account_id" => "87961",
  "account_insight_agent_id" => "696fb0cc-f24f-4672-9ab2-62c32916bdb3"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "JeW2bnYq8uiAp0lH90HEegaMVoy6SOYVlj8JTJ8qa7w",
  "recorded" => true,
  "return" => "g1AAAAkJeJytVdtu00AQLb1wScXlE+aJUtEmIIREK7WlKqA+8IQELwhZG3sSb2vvmt1xXb/xEXwRr/wFX8LMunXSKilJyUu8Hu+cM2cye5aWlpaWqzVjCX3O699HDhVhAi+hcLZARzWk9VCjQdDG62FKMLAOXoMnlSGcaa/7/IxLTzaHobNlcZmp0XfhMMt4c4UOgUlAlWS3yan4FJMtSFXCUUiQMBZSPOc85ooRHA44h1d+C5RJxhAyrjCpIbZnHEqgX3PYbCfa59p7DlyU6bvVw8tllCiuluXdIf5ZF6HrKiZtTVRkysj7r/cqTkeaVZ/huT4PCr6XOj7dbvZDvyTiB1lIdcI94XY4Fk4pgsdhjoZ4i84SdF041ok2Q9C+qRA9uZJRGPjPj58jLilONjkkpQ0rEL0C2O6IFRMj5CoZdVwNeTMoboipgXSOXZFxrynTi9g1Ebsq0ZWYVHh+KoPYu4ycFyTL/c8F8+PVf66GjbiZg0PaCOV4JPCprSJtolKL/IHKfMO5RpoylNWjY+lJmxr6XJrERiO+vdvyce+wO4uinSkMRuU4j5gHQYxkTdLx5hYs/y1BhnV+CZcjPquEm1hmlvB2CjifaaxU9o6/zaPkSVAyljxJ0MHtOWfWtTuFo/To/DyKOkFRSJukZdoI3MgTVJxI+n1WEBGeU7VidBZmga1JUx3ppA2tX4SoLrANPhYTFjeOdF6wm0js1VGGyqC7bnFQaUrBmowNszG2kfUHNxpoIxbI6+XnHyxLbC+O6zcFG554mWsNbmvCfSGqJVr6xvjF+kZ3RrfT+ag89wTRwD7svGBnrdnAh3a302n9Bbbh6xeN1bdnKVHhd3s9T2WibVcVRVzylRXbvMetJa7b90YF9kLFBx6Vi9O9Fm6z05EjvxhUQWJAOYCLARQkBhw7AIvBHQNk+DCTiwEOUJthgm1JnIK+mefCaet4WOVlNeVb/eppevqv6Wru65At4x7G3xaFdVQahj35C6BeB+I",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "1qtd8TDMMFTU5h60Zp+A/WAwFhZwUMVmlflRrbydIv0",
  "workflow" => true,
  "workflow_id" => "019ddea7-5786-7a52-907b-52c26f40bafa"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 5 stale visible custom group properties. All 5 were not auto-tracked, had no detected experience references, and were not already covered by non-dismissed insights.",
  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 'createdAt' and set show_in_ui to false.",
          "title" => "Hide createdAt",
          "undo_prompt" => "Update group property 'createdAt' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'name' and set show_in_ui to false.",
          "title" => "Hide name",
          "undo_prompt" => "Update group property 'name' 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 'renewalDate' and set show_in_ui to false.",
          "title" => "Hide renewalDate",
          "undo_prompt" => "Update group property 'renewalDate' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'users' and set show_in_ui to false.",
          "title" => "Hide users",
          "undo_prompt" => "Update group property 'users' 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 5 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/group?search=createdAt)\n\nname - [View](https://studio.appcues.com/settings/properties/group?search=name)\n\nplan - [View](https://studio.appcues.com/settings/properties/group?search=plan)\n\nrenewalDate - [View](https://studio.appcues.com/settings/properties/group?search=renewalDate)\n\nusers - [View](https://studio.appcues.com/settings/properties/group?search=users)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 5 stale group properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors