25353433 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 08:53.367
Run Time 01:22.760
Inserted 3h ago
Scheduled 3h ago
Completed 2h ago (01:23)
Cancelled
Discarded

Args

%{
  "account_id" => "112853",
  "account_insight_agent_id" => "c80dd93e-e06d-4714-b097-d59c705a4534"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "Gql5BLhKGNYX32iY76phicuHCSQJmWsJwcs+GcN/h7g",
  "recorded" => true,
  "return" => "g1AAAAjXeJytVl1PFDEURQGVxY+/cJ9EEnYXYzSCglGiwcTwYKIvxky607szhZm2tndY5o13H/UX+VP4Jd52YFYIq+zKy0zn5vace9rb06G5ubmbo3tKe5Xl5BMpSBQcu0H8WC7DQ6SkjE5sIXT4/vVWpDlYZyw6qkEMzCFCLjwI+Fap9KDb5MOgIuIXGciVRFAEQ2dKoBzBY1aiJk5RhUTXg10llc5AedBGdyV6chWjMPDJ8c8xVyguJDkkoTRKEFpGwDYjFUyMUApmPFReDQoEkXEyCOLsGkiV2Asybjdl+iB2MYhdCNH5lER8f6yi2FuMXFoKw+1PlvkRMmcqO2ZcSR1yWL6mlViORwKfm1GidFKpIH8oCt9wLpKiAsPo/m5Yk3ZqXOdKS5OM+bZm5eO1w95VFG1OYMBSqGIaNZ2oJk67TMnGLDxXVjEJXYsSpxGxFEWEWZdpeD4Dy39vhHHZezn9RsRp02zEX3murOLlZPS9Kffi7pmOvQnb8WI2rqhlPwDcYR0J4RGN5nXTtUvsSIrqRMk2tHwaotpiG3yARxZTPoGJKi2bSIg92SlQaHQXnQ1GinIwumCfbPzstFSFPprQUOngfDy++eadYZHwFDw78AVlnM4+FyzMtb62xl7JgYpMl5xID1CuRdUhWnk2x0EdHS+U6xTqFHudzgfheU0QNWzDxjobas2+nZnNTif2AHThy2eFo6+PciLrN/t9T5VUpiesTSv0vdSUfV5W4pp9f1xcP1b7yqNwab4VoVYjZNiMawMNYKt/ani2fnL847yM1h2vh7WFY95oV9cDG6EYUl/b8gSk1djYpiKegb5pc+uUcdzD4WMh5zv+/EF7+K+ma27vODucgngqjLXGUaUZdn+0yP3WNPP3nWax4DHkdcYdx5d+81sBQ+NajrNrOa088f/A5D4PjexwiC70bmzncSv72OojPE0TBVPLmtNDZSh7vwEQ3fLT",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "+xb97+d5x8XAAOtFOkgl1DkWrtP8A5q4Kl1YZcH7gPQ",
  "workflow" => true,
  "workflow_id" => "019ddea7-5796-76a1-b0ec-ef846b996543"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for 5 stale visible custom group properties that are not referenced by experiences and were not already reported.",
  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 'email' and set show_in_ui to false.",
          "title" => "Hide email",
          "undo_prompt" => "Update group property 'email' 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 'orgId' and set show_in_ui to false.",
          "title" => "Hide orgId",
          "undo_prompt" => "Update group property 'orgId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'orgName' and set show_in_ui to false.",
          "title" => "Hide orgName",
          "undo_prompt" => "Update group property 'orgName' 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\norgId - [View](https://studio.appcues.com/settings/properties/group?search=orgId)\n\norgName - [View](https://studio.appcues.com/settings/properties/group?search=orgName)\n\nLast seen 60–90 days ago:\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/group?search=createdAt)\n\nemail - [View](https://studio.appcues.com/settings/properties/group?search=email)\n\nname - [View](https://studio.appcues.com/settings/properties/group?search=name)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 5 stale group properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors