25353965 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 06:59.642
Run Time 01:00.595
Inserted 3h ago
Scheduled 3h ago
Completed 2h ago (01:01)
Cancelled
Discarded

Args

%{
  "account_id" => "211414",
  "account_insight_agent_id" => "b53294e2-cb5a-4f5b-895c-a4bb0e93fefe"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "cA/384+wl6MPGQsHqSarqVD3pP3q1lj4VqkCGGUje4g",
  "recorded" => true,
  "return" => "g1AAAAbUeJytVM1uFDEMbmnLz1bAK/iCSqXuLKgHoKIgVIGKhDggwQWhUTbx7qSdSYbY6XZO8BA8EU/BmSfBmVlmaVWpLPSy8Xjjz/6+2OaVlZVrsw3nGakS+8dBQMVo4CHUwdcYuIGimVp0CNaRnRYMEx9gF4hViXBiyY7l1JHYVxAJw+9AiwS+NOLgQjnYfQBGNZTBi7KU8BkGBEkLKrIfclD6GM0OUOFnkt15wFMBkbwaIeBEbotFO6Cc+SO2lGpNA9qfiMvAuAElf7ihsVRZInHNi85mt+cW5UZJ6cJ1leVnM7HeVJqtd3ldKpe+v79UulgIoMaCD4UiQf8crT4edvdhHJnlYA+FNSKQaBNEBS4QCKcVOpYrNmmQwaE11k3BUlcgEocoKAL88+u3Ra5UXLoUkJV1QiARToD9DS1ijhEqZRbyq6lcBiWKuAbYVpglGje6MimRXUtk15N3TbNqz3exJXtdkKuak7n/vpb8eOYZG9hSWvvo+LXZaqsh5PadcuvyaBP7iSqpS7nBlktM1p3DJEkf2socnfH5It3Tf0wnymH2H3wmNhC/VRUuz6cPXYLPpen+ms/jixMEXy5F5VZLJUVdxOLR8klaAkcp+KYUnzOe8mzN2bJNJlNgucmt6V2bcxc3NfbOu2ngtaye3Fa1NG7y7R6UqJyUcW6aYGa5AO9Kmc1uhhY7p238iXVp2sRe/fJKmsn0C+v8hpLdJFMT+lHauWApJdLJG2m+Y2TIFuspGwzeKBJJEB08gyfdnpOR9HuDQd/LMISPHyzOPt0vmGvaG42Io7E+U3WtI1KmfTUSZVnKptGiwFEq+DmhCrrY79G2B4O+q64EuUcT5PTSVwKagLbbrvCRJQCp65E6WB+kAdLHeiFL+Wx73rvkxbpt2wanDmo7yte1DxydoB79ApDWS6c",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "03aft+Iwzc1seXQG/KLyZVTX11xPzwxI59uwls21wTU",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a3-730e-80d4-579c35be97b1"
}

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 user property 'accountId' and set show_in_ui to false.",
          "title" => "Hide accountId",
          "undo_prompt" => "Update user property 'accountId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'firstName' and set show_in_ui to false.",
          "title" => "Hide firstName",
          "undo_prompt" => "Update user property 'firstName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'role' and set show_in_ui to false.",
          "title" => "Hide role",
          "undo_prompt" => "Update user property 'role' 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 3 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\naccountId - [View](https://studio.appcues.com/settings/properties/user?search=accountId)\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)\n\nrole - [View](https://studio.appcues.com/settings/properties/user?search=role)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 3 stale user properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property hygiene insight for 3 stale visible custom user properties older than 30 days. All 3 were not auto-tracked, showed no experience references, and were not already covered by a non-dismissed insight."
}

Errors

No Errors