25356482 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 16:49.314
Run Time 01:09.757
Inserted 17h ago
Scheduled 17h ago
Completed 17h ago (01:10)
Cancelled
Discarded

Args

%{
  "account_id" => "212395",
  "account_insight_agent_id" => "9fe1b58f-9e89-4eae-bb8b-662258baf833"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "6jCgLOpvybnaJCkgu+anflHrYSZrCaV+grZHjtW14zw",
  "recorded" => true,
  "return" => "g1AAABEqeJytV9tu20YQdZq4Fxlpi7YfMG9OAEuK4YemQZNUcRAkQG8w4r4UhbAiR+TG5C67O5TCt35Ev6Mf1S/p7FIUyUJqSYsvlrTeOWfO7HD2kI6Ojj5YHytNaFP+/telQUEYwjlkRmdoqBjHRSRRIUhlZRQTLLWB8wuwJBKElbRywZ9BbkmnEBmdZ1WoRAsUCwJhEJgCDC7RoAoYf1EAvudN0v20IFQIa9xsEwknERYQ6BUv+b1Kq3EobSqt5YVNJnayvl99nYeC82EFd4j/nDgtJyIgqdU8S4Ti33eytzHCUhpLcP6omWMsVgi/5zK4GZchsMiJtOLsNcQyRFaBKbOGciXDXCRJMQEHZjAVUkkVwUUT74FjfCvRnEGWmyAWnPOMzni7wrVIXnKBH0IgmAYdfIiKCbhwUQyXIiOGhNkb+PuPP0HYG5DUTsNVQ6To/88nkWehP7BUKJ8Zp+n2gcUoRUUsRSYhGrh+M4HXMnTJSlvWEy2ZnAWvSrDqwMGV0m0y6HJhbHc6QhX1jk3yqQjrDhCRS9ydNu8kmeLEHcJHZUWtO5qRO5p7bvVuQMJ/XuXuaI4+ZOQ0I/f18bUX1O6kAk5/uLo69YlYJLCxXs+lmufS1WYpEluyHZOkBN23j1+7gnGQ74RchXpec3zdn4MrhZMu+V/uwRZBoHNFfEwiQtNHypdeSjt+l6oXBzF3FvjdXhruJNeKM+qj7vONum3wLmnPb8/ZWde+8i1kkvBTM0tdEfso+8Ira4Xv0jY7hLezupf/zfKz0Tza+vXlV019FcAuhfseiY7cB3dmwBt4KP3IU7N/ZzaC+3RmB87Oup7t4yjv6n7P26elqip0l6ant+XrrGgfA1+x7CNM0UfQfS+oityl59tbsh3ceArf04uyyfs3XiO4T+N14Dx4JKo8XaD5aXlt0dj+I7EV3mckduL16t55D8DK5sT1WN9VMnErn7AjklTMZbhdOtksUZHhdvEz500D7vW55Mc48EldXCYoFDupfzurtaQYtGLrJUozVVtB74CWzjj6Qzx+9YqHeVi75/12eeOqzkpDnJMekxHBDYZnXrZbzW3pjZ3fqr30ZDT6XrDFtci28hl884jtXMEGO9JPRiM2ODCGX3+RuP7tQUyU2SfTqaU8lHoisizI0U54ck25qsQp22md2tTn+tyiYEf7lIEejkZtZzEMchvTk2zv+KEYtoAM37pmhyFoQdYU1T03KEkFyjSNK2cYigagg6+m/0DgFRxDV4N4GOQKjYEbw3AY7Aagg2/Oo4EImpBMUb1KDoNeoTng+s10IOwakOEb77rDwDdfnv1w1zlxINpy1GdGasNz3P24F8sobl88p/87eMtXbB/urgJ/Negs04Zyxbjv/gFxC9tt",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "5oXdbgulBDRgxmErvCgjOjw11K1uI0Aqktw6Yf8FdQg",
  "workflow" => true,
  "workflow_id" => "019ddeab-ea42-75bb-9ec2-9c804bcc2064"
}

Recorded Output

%{
  notes: "Created 1 property-hygiene insight for 13 stale visible custom group properties that are not referenced by experiences and were not already covered by non-dismissed insights.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 3 properties (planTier, purchasedAt, renewalDate) 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 'MRR' and set show_in_ui to false.",
          "title" => "Hide MRR",
          "undo_prompt" => "Update group property 'MRR' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'accountmanager' and set show_in_ui to false.",
          "title" => "Hide accountmanager",
          "undo_prompt" => "Update group property 'accountmanager' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'activatedAt' and set show_in_ui to false.",
          "title" => "Hide activatedAt",
          "undo_prompt" => "Update group property 'activatedAt' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'billingAmount' and set show_in_ui to false.",
          "title" => "Hide billingAmount",
          "undo_prompt" => "Update group property 'billingAmount' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'billingProvider' and set show_in_ui to false.",
          "title" => "Hide billingProvider",
          "undo_prompt" => "Update group property 'billingProvider' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'companyName' and set show_in_ui to false.",
          "title" => "Hide companyName",
          "undo_prompt" => "Update group property 'companyName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'createdAt' and set show_in_ui to false.",
          "title" => "Hide createdAt",
          "undo_prompt" => "Update group property 'createdAt' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'industry' and set show_in_ui to false.",
          "title" => "Hide industry",
          "undo_prompt" => "Update group property 'industry' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'nextBilling' and set show_in_ui to false.",
          "title" => "Hide nextBilling",
          "undo_prompt" => "Update group property 'nextBilling' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'numberOfUsers' and set show_in_ui to false.",
          "title" => "Hide numberOfUsers",
          "undo_prompt" => "Update group property 'numberOfUsers' 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 13 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nMRR - [View](https://studio.appcues.com/settings/properties/group?search=MRR)\n\naccountmanager - [View](https://studio.appcues.com/settings/properties/group?search=accountmanager)\n\nactivatedAt - [View](https://studio.appcues.com/settings/properties/group?search=activatedAt)\n\nbillingAmount - [View](https://studio.appcues.com/settings/properties/group?search=billingAmount)\n\nbillingProvider - [View](https://studio.appcues.com/settings/properties/group?search=billingProvider)\n\ncompanyName - [View](https://studio.appcues.com/settings/properties/group?search=companyName)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/group?search=createdAt)\n\nindustry - [View](https://studio.appcues.com/settings/properties/group?search=industry)\n\nnextBilling - [View](https://studio.appcues.com/settings/properties/group?search=nextBilling)\n\nnumberOfUsers - [View](https://studio.appcues.com/settings/properties/group?search=numberOfUsers)\n\nplanTier - [View](https://studio.appcues.com/settings/properties/group?search=planTier)\n\npurchasedAt - [View](https://studio.appcues.com/settings/properties/group?search=purchasedAt)\n\nrenewalDate - [View](https://studio.appcues.com/settings/properties/group?search=renewalDate)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 13 stale group properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors