25353805 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 01:05.701
Run Time 00:58.334
Inserted 1h ago
Scheduled 1h ago
Completed 1h ago (00:59)
Cancelled
Discarded

Args

%{
  "account_id" => "204946",
  "account_insight_agent_id" => "d1a0fe41-f16e-4f00-87bf-d78ea8c91297"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "1eCcUYN5RnwJBqXWSa3Rpfwb0tZTVWv7Wd2aY40CY2k",
  "recorded" => true,
  "return" => "g1AAAAi8eJy9Vs1u00AQLv3hJwX1FeaCSqU6Kf0jadX2UIF64IQEF4Ssze4k3tbeNbvjprnxELwAr8Kj8CTMrlOHVkG0UcXFXo/m75ud+ca0sLCwOHqhjdfDjHyqBImcZY+IH6tFeAhJ2pq0zIUJ3z/fCplB6WyJjsYg+vYSIRMeBHyttLxIan3oV0T8IguZVgiaYOBsAZQheBwWaIhVdK7QteFMK22GoD0YaxKFnlzFXtjxr2/fp7FCckHJIQltUIEwKjpsNKTgwAiF4IiX2ut+jiCGrAyCWHsMpAtsBxhP6jR9ALscwC4H6ZIkEd8fqgj2MXsuSgpH87Hk+AiVRzcNuJ7iFZ80Gomp0r7Q3qNKu93+nsBBL+lv4yDZ7W7tJr1t2Uv23+wLIXewv7XXXY/peyTwmR2l2qSVDuUaiNzXOa6QphzD6eQs1HD+WPEiK6NsOgVU/C9AfJnYvkuJe7MzwkLo/D7VasVqRbNZwLtzhLkzhuO/ODeXmnW46+8DZK0G0tjOQnM0b8A7QzqcHeESnecJug+e5xHPxHAWmIO5QkUk58H+KaNICa9otGTqy3/GFdA0TrVqRKsTEY1LbIRroe0lcavromRuCLKd0xyF4UxuERaMNGVgTc70V9PUJFWNPnLLQJtAaHxePHxnGSPsgmdivQmMtZm9AjG5hq02mQFZUJFNyAl5gWozgg5StlXQH0cemw5pu9V6LzyXBNHAMfS2mCbHzMZDe9BqzT/MkMDnTxpHX15lRKU/6HQ8VUrbtihLWaFvS1t0+CqIcfrOFFEnIDzxKJzMjuYPv9FqxXl8kDSip+CxmYmHcdu4Y9+TFn0QxxNfG7GjbUVsg77u79Jp67h5w8dyxjv75oC9/Ee31cs4Gofuj9Ngy9I6qgx7PR+tcKPVTfzj1CGPooLXzSAm2XjIl8nLvP5dgIF1TazrdSsrT7znb4eOI2MsKKQ4Zn90MO/zAbpw8pNe5wVOMgu/BPF/4LpzIKK/jt7+DeGh6q0",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "TGo6TbqKO2YoWBgCNWCZWgeQx3p3OACrLgqUgx2xM7g",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a0-7700-8bea-69cd90626ccf"
}

Recorded Output

%{
  notes: "Created 1 property-hygiene insight for 4 stale visible custom user properties with no detected experience references and no matching non-dismissed prior 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 user property '_experience_dismissed_88b5aef9-b2ef-4804-92c9-676aac3eb058' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_88b5aef9-b2ef-4804-92c9-676aac3eb058",
          "undo_prompt" => "Update user property '_experience_dismissed_88b5aef9-b2ef-4804-92c9-676aac3eb058' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'email' and set show_in_ui to false.",
          "title" => "Hide email",
          "undo_prompt" => "Update user property 'email' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'enviroment' and set show_in_ui to false.",
          "title" => "Hide enviroment",
          "undo_prompt" => "Update user property 'enviroment' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'version' and set show_in_ui to false.",
          "title" => "Hide version",
          "undo_prompt" => "Update user property 'version' 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 user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_experience_dismissed_88b5aef9-b2ef-4804-92c9-676aac3eb058 - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_88b5aef9-b2ef-4804-92c9-676aac3eb058)\n\nemail - [View](https://studio.appcues.com/settings/properties/user?search=email)\n\nenviroment - [View](https://studio.appcues.com/settings/properties/user?search=enviroment)\n\nversion - [View](https://studio.appcues.com/settings/properties/user?search=version)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 4 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors