25352437 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 10:30.020
Run Time 01:16.057
Inserted 10h ago
Scheduled 10h ago
Completed 10h ago (01:17)
Cancelled
Discarded

Args

%{
  "account_id" => "31056",
  "account_insight_agent_id" => "537768e1-8fc2-4bc9-9737-836ecef02757"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "H4EJ0RrVfaGghgoPan8hOcniMDzGIA8MuAG42v1o5bc",
  "recorded" => true,
  "return" => "g1AAABbLeJzFWMty2zYUdZqkTZ0+pvkCrJpkRpT1siQ6SV2PZzLxTLrpON10OhyIuBIRkQALgJLZbrrtvr/SH+qX9AKkLamWW1Jm3IVtGiLOOfeQwn2Yvb29j5afc6H5LDI6YNTQGNfuGfz1OLG/aGi4FEEaU4H/3/v9PAIy5Uob0u2QVMkUlOGgSUQXQH7OeDj3ii1kkhkjhSZGkogzICaChHDB+IKzjMZx3iYWTEFCueBiRobreM+4PmEJFy3C9bniNG6RhF+kVEAchDKSygS98aHfHfZbRNAEWsRKbBElY3hOQor8YHkZCGRWMptF5JSmBrnIyRn567c/CNVzws2mvknu0NznUpEsRUuAkYQKJxn12/uIhlkCwmCMPGagyLuzNnnDmY2CayKk8BhoozJ0YlGAlaHlxHpsb1JgtSA2FfYnX91Rik8oilpwzScxEDqzwqlxdxqeQNs+nU8Kq7V9Zvv2mT2wq/dDQ93f7zP7zPY+RuQkNfby5J0LiGQaRV8RPg1omoYZ6NdSJcFTp0iDITqSy4CLIOPWpCmNdUH70HATg7168sY6t7HdvTWZYDJY0X57C1p0EdpVYksrkMwzLubUM3lu8gW6Lzx8XYyHt0LEcmMSrnGnBq05TxKoY8XJdStqsm1zTt5dUJWN/nV3TQtUAPhKJ6nweJxIbjJt8MMUDwWTzzWAqOP528qeVyDeZv8v/0uolZ+EuEEeXOAVBxFCwLjG56+BBWw09ntTf+IN+j7zBlPf9yaMUi8csP64M+xMoDuoY/5xYf7OXNv8Tu4qoMoW33R0JflJ8Q6csTqmfVWYtrZ7mw3Hu5NWDizazlG+2UGZ4YL+ZDik41HH87v9kTfojdDkKe17nSFADzNwNxzXOiZ9Z8AuLNuMmn34IJo2dEL9EYNB3+v1p6E38KHn+Yds5AH1KRuHA99nh7c3tArLLQy9TRCVDX2xXUuIn2MVVMejz5xH5cZtYR/tRHXbQwSUkuo7zMt0Vus7VBwi67trHCJVSCsH9upfOM7ztFZUX6yislu3hfRyRzoXz3uL8AhjCQxcmOV9gVkZVz7F9xkTcsDZ1dLjcskg5NXilzYHhdgMBJjSse62a/3TGLAjUdf6gSU3EZECGwZatACrzsbV7VPbB4kZXj968lpilKQ7JBqbr83YbCNkIlv1q6tWANsdiQuZkZ5RNJwDa7mo7SruZbaFsU3CKmW29/ffUmzYbMlBviF+B3uQXGNLIY/29zdKGeKRH3/gsPzpWWRMqo8ODrTJGJft8qY2fiEO0F6D2vXBSuSBFX2sgaowerWB+PwfDDVr1eYF1RRQUX+FYu/OQqmgxUa1c0nVTCA701vta3VQM2rWABF/l/KhER27EG/RWyU7fxC9VYhRb5lWG5FQYiHqemJrBHod8BLfZpnmwC0aIpejrkZwSyyH6uZmDaE6LES9YQjXCMsN2MjqZnJNUFggxLOzwkbwLBDi2aljI3hufOkKFZkZ3AC6KFtSxaXC49v+8yDis2izdvr6v4qIYsbpdpvL4kqmKbqcCYR9v3yI9UNRnPx5qsANPbskymd4RAMpB8RkKtWK43I0aaedthy5RuqKICEJA+MKp7WShCiYYsbFK10WLyShJozsANVNTy9TwlWV50XleLWUQmNUyXIsssiUx9D+G6z6z70",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "TysUxowdxVUQb8KLrxTDUCu/ukWNR3cxIMrTjGA3Kss",
  "workflow" => true,
  "workflow_id" => "019ddea7-5779-72dc-99f8-80cf9a8259ce"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for 16 stale visible non-auto user properties with no detected experience references and no matching non-dismissed property-hiding insight already on file.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 6 properties (isAdmin, isTrial, mixpanel_cohort_2859163, name, plan, role) 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 '_appcuesForm_' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_",
          "undo_prompt" => "Update user property '_appcuesForm_' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_kuinka-tyytyvinen-olet-perehdyttmisprosessiimme' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_kuinka-tyytyvinen-olet-perehdyttmisprosessiimme",
          "undo_prompt" => "Update user property '_appcuesForm_kuinka-tyytyvinen-olet-perehdyttmisprosessiimme' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_kuinka-tyytyvinen-olet-viimeisimpn-ilmoitusten-pivitykseen' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_kuinka-tyytyvinen-olet-viimeisimpn-ilmoitusten-pivitykseen",
          "undo_prompt" => "Update user property '_appcuesForm_kuinka-tyytyvinen-olet-viimeisimpn-ilmoitusten-pivitykseen' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_experience_dismissed_d7892f9b-439d-4f99-bdaa-c4d38060be14' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_d7892f9b-439d-4f99-bdaa-c4d38060be14",
          "undo_prompt" => "Update user property '_experience_dismissed_d7892f9b-439d-4f99-bdaa-c4d38060be14' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_myAppcuesId' and set show_in_ui to false.",
          "title" => "Hide _myAppcuesId",
          "undo_prompt" => "Update user property '_myAppcuesId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'appcues_segment_3b66a870-9137-4279-bfa3-06ee22851c8e' and set show_in_ui to false.",
          "title" => "Hide appcues_segment_3b66a870-9137-4279-bfa3-06ee22851c8e",
          "undo_prompt" => "Update user property 'appcues_segment_3b66a870-9137-4279-bfa3-06ee22851c8e' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'appcues_segment_ba97de43-23fc-49e2-95d7-ea9ad8c499d5' and set show_in_ui to false.",
          "title" => "Hide appcues_segment_ba97de43-23fc-49e2-95d7-ea9ad8c499d5",
          "undo_prompt" => "Update user property 'appcues_segment_ba97de43-23fc-49e2-95d7-ea9ad8c499d5' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'company' and set show_in_ui to false.",
          "title" => "Hide company",
          "undo_prompt" => "Update user property 'company' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'errorMessage' and set show_in_ui to false.",
          "title" => "Hide errorMessage",
          "undo_prompt" => "Update user property 'errorMessage' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'errorType' and set show_in_ui to false.",
          "title" => "Hide errorType",
          "undo_prompt" => "Update user property 'errorType' 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 16 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_ - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_)\n\n_appcuesForm_kuinka-tyytyvinen-olet-perehdyttmisprosessiimme - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_kuinka-tyytyvinen-olet-perehdyttmisprosessiimme)\n\n_appcuesForm_kuinka-tyytyvinen-olet-viimeisimpn-ilmoitusten-pivitykseen - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_kuinka-tyytyvinen-olet-viimeisimpn-ilmoitusten-pivitykseen)\n\n_experience_dismissed_d7892f9b-439d-4f99-bdaa-c4d38060be14 - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_d7892f9b-439d-4f99-bdaa-c4d38060be14)\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\nappcues_segment_3b66a870-9137-4279-bfa3-06ee22851c8e - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_3b66a870-9137-4279-bfa3-06ee22851c8e)\n\nappcues_segment_ba97de43-23fc-49e2-95d7-ea9ad8c499d5 - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_ba97de43-23fc-49e2-95d7-ea9ad8c499d5)\n\ncompany - [View](https://studio.appcues.com/settings/properties/user?search=company)\n\nerrorMessage - [View](https://studio.appcues.com/settings/properties/user?search=errorMessage)\n\nerrorType - [View](https://studio.appcues.com/settings/properties/user?search=errorType)\n\nisAdmin - [View](https://studio.appcues.com/settings/properties/user?search=isAdmin)\n\nisTrial - [View](https://studio.appcues.com/settings/properties/user?search=isTrial)\n\nmixpanel_cohort_2859163 - [View](https://studio.appcues.com/settings/properties/user?search=mixpanel_cohort_2859163)\n\nname - [View](https://studio.appcues.com/settings/properties/user?search=name)\n\nplan - [View](https://studio.appcues.com/settings/properties/user?search=plan)\n\nrole - [View](https://studio.appcues.com/settings/properties/user?search=role)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 16 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors