25352861 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 12:18.353
Run Time 00:57.696
Inserted 6h ago
Scheduled 6h ago
Completed 5h ago (00:58)
Cancelled
Discarded

Args

%{
  "account_id" => "63922",
  "account_insight_agent_id" => "d31236ae-69c4-4323-a1b9-bbcad196940f"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "gzYl11TUnSPk3KDA40olgXL2I84C7Dc4fdQ9H7I46po",
  "recorded" => true,
  "return" => "g1AAAAWueJytVM1u1EAMbmnLz5afV/AFlYpuFuiJQkGiAvXACQQXhKLZjHfjNpkJY6fbcOIheCLuvARPgifZJmpVCai4ZDyO/z7788jKysq1xYbzglyq/PMgoBG08Biq4CsM0kDezAkdAjmmeS4w8wGeAIspEE6IaapnVrP4EmrGcOZIyOALqwrJjYPdR2BNwwm88pLDAgOCZoWAMxVdpimnDRjXAJ6qN0WVXu1gaQotzTaQ+RNVteZ4Sizk5vrfjS1xScz6Z1koJ4s7Z2JqjdarAFdFP5sR6qbJhLxLq8K4eP/x2mT5gNpMNQ/khsHAl5qy43FnD9NaRA/xkJPVrmhDgkKXHIFxXqITNaEIPIFDsrE84q5CZAm1RtHAv759H3LF4qJRQDHkFEEEHgP2Fpl2cIpQGjv03MzVGIy0XRMqMYkwbnRlcgR7LYJdj9q1TEx7vqtbsNc1cllJFPc/VJofz82uga3MW3wv+mOrrYZRgHO/SMmlNUX0M1Nwl3JDSAqM0t3D2JLetW1z7axPh3TPr5hOO4fJ3+B5dnmCr1QdaI5/QXO7RbN0vAzL3pVStUiOov9NRZEKnspizVERNbeUPiRNSrZXbS5V0lTYK+/FLcl0UVMqK5141O0eFGicVnKBhrAg3TjvCiV1R75hQ1vGzMhFmqq8+vCNV4z9el/cZ91kpVvoObjTbWYtfizBZMdod1rQUVvzZTudjEZvDWtLEB28gKfdq6Bc9nujUU8CGMOnj4SLzw9ykYr3JhOW2pJPTFVlNXKS+XKinY3Lz5OhwEks+CWjCVm+30fbHo2WI/kvcZexttsJ+lrUB7mbZxXIBx1WvKzn+vKcJ9T9P3S3e1Ja5zjtdvq+qnyQ2mnUo995repE",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "LndxPDtRoBd51NmVhIcgWDdaPyT4xSqnzud0FWvLyuk",
  "workflow" => true,
  "workflow_id" => "019ddea7-5781-7218-8b40-771d58260fbe"
}

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

Errors

No Errors