25353161 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 20:56.217
Run Time 01:41.492
Inserted 3h ago
Scheduled 3h ago
Completed 3h ago (01:42)
Cancelled
Discarded

Args

%{
  "account_id" => "93381",
  "account_insight_agent_id" => "33ca054b-f51b-4a72-9808-59debde15906"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "Yxrz5MjxK5HR5wF1xMW/IxAYQacQEhzgshpjTG6vLCE",
  "recorded" => true,
  "return" => "g1AAABI5eJytWE1z2zYQVZq4H0rTNtNDb529OZmxpXiSS9x81PEkjWfaTqfT9NLpcCBiJSImQRQALfHWQ39C/1X/RX9Jd0GJpMdiLcm8SCSEfW/fAsY+2A8Ggw/mezr36LLB4Nbg1KLwKOEIjM0NWl9CUs4UagSlnZolHqa5haMn4LxIES6UUxP6ntm8MKsYhQ58IjzM0SIQOMUUWhIC4IImEFyMYHFKP9OTA0LEhXJe6RlN14dSuUw5h3JF6kbwehGnhaShOk62+ZQ7SVPKXqL2SqTuAEwq9AEI4vWWRl5ryWOFgygkeyZhavMM4pwoJFrhVa5H83srxkgKUkj1ueXp427GHyLmSREjc7X++iVBmCrrPBw9aieTiAuEPwoVnx9WITApvCci8DkkxEblwYzESXWhZCHStBwBg1nMhNJchidtvAeOJBj8iXjPSEX1Fk2K+Bx9/cpZRYp+DnIj1PIhxIKokSmpLkRKwmcJnArjiQZOzuDfP/8G4c5B+cupTUrQIsPwO61OYWTYFpnQIVteSpoHDmcZFZzkqZRqCO/ORvBWSRagXLWUSOkVVISLCqzeVlxenmSRcyFsXimhy2bGMvlMyGafiRknTluLZ3qV4YgX5qOqyo6Xa8jLdYdHb8dehO+fC16uwYeEnBnPj8/eBUGXt20J+0JKi87th2QcenBJPo+UjgrF9ZnSxqoY97zyKfLTp2+5aMvAsEtoq+dRw/XNblxUNRxtouXbDvyYJlCVeNNso+eLoKcVvE7Ty905+9JlbqLL7Kbr/zg31vVdB4dyEf1pRXFzhm0j76sg7yrGOpVvbpzBxmJfdFClaopxGae4jcbPgsY6dJ2057vybazo9DoGaoyzrWR9eVlWiF+n7dWNmDcW2FXCTCyiwqHdRtq9IG0VuU5U10l8HdvGcn7sINCTiFp/6D02bHlFPZ8Y5Tb6vg76OqHWCf6hr3w2rsBxB6NJcr3VRh0GtSFsnbKnu/BsrOKkA71yP6+CF9pGzP0gph29TlNXE9qENUh7zygfk6zI48LPb2uV8sgnfMD6kvxaPXR3OeRLg/Xg52yYY7JekaIOFIecHp+mKGiXXHFfc+UTyDXZM1EZrsZCBpc0ZcOpZ/S898+b4MhrH7/evwtbO6+D4ONF4fNDbwXJlpW35lHepewY2ZM1Bn80HH4vyBo7JOv5Ap4+IstXOnJw+fFwuDQ/cAi//apw/vuDxHvjjsdj5wup8pEwJi7QjajxjqmyfDNw4ya9ccj3pUNh4+T5EuzhcNjyH/1AtwAbeNM3vKngr/bffliu4hJZ3TX64ajh2tChIfWMHzCJZNUg+oFfoRFw50HcD1MnPFGHk7IfmgBFkO2Dqh/kNmJNUF1N+ySoEGuC5W23T4YlZEOxvEH3yrHEJJL6Wt4PfnPLDx0mLzyFoav6jbEqt9RM+OVOombJ5d63f+3pX/0vIIRzPwr9KTcmt77QhPv+P5xkSC8",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "2IcXaHUv1PdJmjvGWakvAWCUuW7IgLki27rJzIgRSLg",
  "workflow" => true,
  "workflow_id" => "019ddea7-5788-77b2-a15f-5d386cdb5b26"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 4 properties (stripePlanId, stripe_bucket, stripe_plan_id, trial_end) 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 group property 'address' and set show_in_ui to false.",
          "title" => "Hide address",
          "undo_prompt" => "Update group property 'address' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'companyPlan' and set show_in_ui to false.",
          "title" => "Hide companyPlan",
          "undo_prompt" => "Update group property 'companyPlan' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'companyplan' and set show_in_ui to false.",
          "title" => "Hide companyplan",
          "undo_prompt" => "Update group property 'companyplan' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'is_all_credentials' and set show_in_ui to false.",
          "title" => "Hide is_all_credentials",
          "undo_prompt" => "Update group property 'is_all_credentials' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'lifecycle' and set show_in_ui to false.",
          "title" => "Hide lifecycle",
          "undo_prompt" => "Update group property 'lifecycle' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'lifecyclestage' and set show_in_ui to false.",
          "title" => "Hide lifecyclestage",
          "undo_prompt" => "Update group property 'lifecyclestage' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'max_user' and set show_in_ui to false.",
          "title" => "Hide max_user",
          "undo_prompt" => "Update group property 'max_user' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'nb_container_credits_used' and set show_in_ui to false.",
          "title" => "Hide nb_container_credits_used",
          "undo_prompt" => "Update group property 'nb_container_credits_used' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'phone' and set show_in_ui to false.",
          "title" => "Hide phone",
          "undo_prompt" => "Update group property 'phone' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'stripeBucket' and set show_in_ui to false.",
          "title" => "Hide stripeBucket",
          "undo_prompt" => "Update group property 'stripeBucket' 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 14 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\naddress - [View](https://studio.appcues.com/settings/properties/group?search=address)\n\ncompanyPlan - [View](https://studio.appcues.com/settings/properties/group?search=companyPlan)\n\ncompanyplan - [View](https://studio.appcues.com/settings/properties/group?search=companyplan)\n\nis_all_credentials - [View](https://studio.appcues.com/settings/properties/group?search=is_all_credentials)\n\nlifecycle - [View](https://studio.appcues.com/settings/properties/group?search=lifecycle)\n\nlifecyclestage - [View](https://studio.appcues.com/settings/properties/group?search=lifecyclestage)\n\nmax_user - [View](https://studio.appcues.com/settings/properties/group?search=max_user)\n\nnb_container_credits_used - [View](https://studio.appcues.com/settings/properties/group?search=nb_container_credits_used)\n\nphone - [View](https://studio.appcues.com/settings/properties/group?search=phone)\n\nstripeBucket - [View](https://studio.appcues.com/settings/properties/group?search=stripeBucket)\n\nstripePlanId - [View](https://studio.appcues.com/settings/properties/group?search=stripePlanId)\n\nstripe_bucket - [View](https://studio.appcues.com/settings/properties/group?search=stripe_bucket)\n\nstripe_plan_id - [View](https://studio.appcues.com/settings/properties/group?search=stripe_plan_id)\n\ntrial_end - [View](https://studio.appcues.com/settings/properties/group?search=trial_end)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 14 stale group properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property hygiene insight for 14 stale visible group properties that were not found in experience references or existing non-dismissed insights. Excluded referenced properties isAllCredentials, plan, and trialEnd, plus _groupId from consideration."
}

Errors

No Errors