25353205 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 16:52.803
Run Time 01:22.954
Inserted 7h ago
Scheduled 7h ago
Completed 7h ago (01:23)
Cancelled
Discarded

Args

%{
  "account_id" => "94930",
  "account_insight_agent_id" => "accb9944-4769-47f6-b264-cdb3b48490a9"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "PEjNSA2ktOxZTYrjcinkvsv6baR8esK0m8XmR8AhVok",
  "recorded" => true,
  "return" => "g1AAABF/eJy9V01v20YQdZq4H3KL9NBDjntqEsCSYjuNZReJkRpIY6CnIu6lLYgVd0ROTO4y+yGFt/6I/pH+pf6Szi5lkTZoRJSIXiRytfPevJnV7lu7s7Pz2WJXKgsmp+d/zjVwC4IdsEKrArQtWVomCBIYSoNJatlMaXZwyIzlGbA5GpzSd+yMVTlzBvR1JIJhNuWWcQ3MSQ0z0CBjAp+WDD7SFPSvhnEpGGXAeEbkomSxmtPMMI1LmonGokxoihwKNDkaQz8usxktvlk+mUhwSolE3LP0sefl7PHYopJRkXFJ7/f+eJcCm6E2lh08a+aZ8jmwDw7jq2EVwqbOWiVJgWIpCiAlkBOpwDkKx7OsHDEPpiHnKH16h028J1RPG11BuR9K8pTFpGQKHkqAJDCtXJKyc15YCmevL9i/f/3NuLliaG9SUhEkzyH8ToV3hQj9ybkMWVBKfh4zkOQgLaWNmaAeXF6M2FsUPjE0VekoI+1I3LwCW/XXl81P0uBzIWzfDy7LesYy+ZyLuuE88Yn77tJMizmMfMG/qKpnfBsGvg0P/Oj92PLw/avzbdj5nJDzwvpHeRkE3Vg4JXsc1esjWvU8mkxAzF7w42EcT4+Hz48mMDz5YXo4FJPD44PJwYvJ5Ch+HNI3YJlJ1SJCGTn0FZ3xzFQ57lq0Gfins7e+zJtzhSXmpFBRLSj/vwRRM2G0TonP2jPiMf33TGTLArrU7NtQs0ZwWxFebUy5tqqf2ymmWi1oJJrRygddaJS2i7pHQV0LSJvKN1unsG0P42q3jpzttO6rHjaCO/RwDcptVaF5pzlmlzTaXVUjuIOqNSjXVnUHBR0Gr0WO8kJ0EfUwiKpj2zS93JRwbUk/tjPQIcSTbk36OuhZBraJOd2Iam0l5+3wSidcouHBLWCnDn0XFN0CaFP201bU2y4/QtM28lai+/KrYzssv08Tri3p5A4GS0uii5pBpcaHtQmZbEATNLz30V9S/pGFj3ZxX2LmR74iQ4a2pKauhvaWQ/4IXA0+9N4g9psq5gUZKD92dJ4Bl5THbWO3QJsyJcn58crL1a4zGLCZ96gyoefd0RtFCmuvfqc5X3q6/cqFO6uGVvP4CsT+yps7c23Im959NBj8wslMGyBT+4qdPCMzWZKhT9TpYLC55WFD9vtvCIs/n6TWFuZ0PDbWCVQjXhSxAzOKVT6mXvhrgRnXisZe4ZkBruP05eb0TweDhlPpJZkGHqG3OIReWFpwia1xYvfC0sAj9MbJ2Qt6A4/Q6zOsF/AajrCXR0ovwEssQr21nfeCfguTWOrNtReCGs5j+/2uH1iPRIjXl+FeQK/BCNf1tejCHT1s4opWtcrBVFs6/YWUpv3avzxIMUlvnifff2qDrS7yIXp1VVJFQcV2kmDf/wdSa+rb",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "WZ544vg+vwJL/6EtAKR3nAoKshKMf6fuu25HwCwM/yk",
  "workflow" => true,
  "workflow_id" => "019ddea7-5789-7d37-9a88-3ad62ca88868"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 12 stale visible custom user properties that are unreferenced by experiences and not already covered by an existing non-dismissed insight.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 2 properties (test_key, user) can be hidden through Captain AI — ask it to hide them by name — or updated manually in the segment builder UI. Hiding is non-destructive — property data is retained and any property can be made visible again at any time.",
      "actions" => [
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_experience_dismissed_88edf6a7-ccb7-438e-95b2-d8271816883c' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_88edf6a7-ccb7-438e-95b2-d8271816883c",
          "undo_prompt" => "Update user property '_experience_dismissed_88edf6a7-ccb7-438e-95b2-d8271816883c' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'access_type' and set show_in_ui to false.",
          "title" => "Hide access_type",
          "undo_prompt" => "Update user property 'access_type' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'browser_fingerprint' and set show_in_ui to false.",
          "title" => "Hide browser_fingerprint",
          "undo_prompt" => "Update user property 'browser_fingerprint' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'created_utc' and set show_in_ui to false.",
          "title" => "Hide created_utc",
          "undo_prompt" => "Update user property 'created_utc' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'isTrailUser' and set show_in_ui to false.",
          "title" => "Hide isTrailUser",
          "undo_prompt" => "Update user property 'isTrailUser' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'keyAdminId' and set show_in_ui to false.",
          "title" => "Hide keyAdminId",
          "undo_prompt" => "Update user property 'keyAdminId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'manager' and set show_in_ui to false.",
          "title" => "Hide manager",
          "undo_prompt" => "Update user property 'manager' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'organisation_id' and set show_in_ui to false.",
          "title" => "Hide organisation_id",
          "undo_prompt" => "Update user property 'organisation_id' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'short_name' and set show_in_ui to false.",
          "title" => "Hide short_name",
          "undo_prompt" => "Update user property 'short_name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'stage' and set show_in_ui to false.",
          "title" => "Hide stage",
          "undo_prompt" => "Update user property 'stage' 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 12 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_88edf6a7-ccb7-438e-95b2-d8271816883c - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_88edf6a7-ccb7-438e-95b2-d8271816883c)\n\naccess_type - [View](https://studio.appcues.com/settings/properties/user?search=access_type)\n\nbrowser_fingerprint - [View](https://studio.appcues.com/settings/properties/user?search=browser_fingerprint)\n\ncreated_utc - [View](https://studio.appcues.com/settings/properties/user?search=created_utc)\n\nisTrailUser - [View](https://studio.appcues.com/settings/properties/user?search=isTrailUser)\n\nkeyAdminId - [View](https://studio.appcues.com/settings/properties/user?search=keyAdminId)\n\nmanager - [View](https://studio.appcues.com/settings/properties/user?search=manager)\n\norganisation_id - [View](https://studio.appcues.com/settings/properties/user?search=organisation_id)\n\nshort_name - [View](https://studio.appcues.com/settings/properties/user?search=short_name)\n\nstage - [View](https://studio.appcues.com/settings/properties/user?search=stage)\n\ntest_key - [View](https://studio.appcues.com/settings/properties/user?search=test_key)\n\nuser - [View](https://studio.appcues.com/settings/properties/user?search=user)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 12 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors