25353901 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 20:27.265
Run Time 01:08.860
Inserted 6h ago
Scheduled 6h ago
Completed 6h ago (01:09)
Cancelled
Discarded

Args

%{
  "account_id" => "209568",
  "account_insight_agent_id" => "208216b9-d1d7-42b1-871f-bbefda5ae974"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "utT5h/7xSu//63B2UJpvxRvivq1p+RnQhbaamCS0b90",
  "recorded" => true,
  "return" => "g1AAAA+ReJytV8Fu20YQdRqnaeWmySfMqUkAW4qQAk3cJkFgoIiAooeg6aUohDV3JG5M7rK7Q8u69SP6Nf2cfklnljQlt6ZFOjxYplac9+YNV09vaW9v77PVA2ODWaYU5lqRynjtDvHLQS4vKiHj7LzIlOX3d97/kiIsjA8E02dQeFegJ4MBUnWO8EdpkrOjqgROSyJnA5CD1GgESjEHY7U5N7pUWbYeg4B5zJWxxi5huo33xLsMn0KiGAgFQKNlCO/KZQonqiAugrcz+OfPv0CFMzB0leh0DVblGD93HsqCtaGGXNnIzY3IfRBwmaMlbtZkGj18mI3hndHSjglgnT3SGMiXLOm8Aqt7XIMMS27yKL0wtrLyt97cUTefK27q3ARzmiGopTSuKN5JJsexjPl+NbMgwx/J8Pdl9W5CKv5/X8rw9z5n5LwguXz1IQqCMnDTDeHj+GR+Zt2PYzcBCULqVnNj56WRAS1UFirKe2QoQ7n6+p1MrSmNj7202s03dD/cko4nh+Mueo5bCLgP9H3EHFRiYt11Sl7ehqizjLY5RfSZ7iPkwZaQmb5Oyve3I+ss5vVN+H032cMtOW27rG1T7yTsLKmFYemVJcR+D6j62jSlPb42O+k663lzI0HfZ/RoW1HbQ2rZFR0oO6tq2dgmvNW5sX0UfRUV1YXXqWnxnR1Un+oHmerv0pUfXFb28INdZJ3FvLge3/YU8mUUYltEfNef5FMFSLbpL6BORF0F3EQSBXyU4i+4+TnhBa3uWpNFMk4nhtZzo5ulg3qJ1gU2iw/xosCEI87c5AWnCVl7fpKhstzGf1POylAKznIMUlWw2QSvmEYWEtPskq/3v/3RsUCYTiFwNrwqS3IapZJlfBNwDjk08UJJ7oi8Ss5QH0bVssq1WoKZRB9p1xu0CY5Ho594i3KTnPBew8tnnKzWgYOSOx6NmoQBR/DbrwZXvz9JiYpwPJkEKrVxY1UUSYlhnLh8wqMl7jtMNg1OpOE3AZVP0lcN2lNGjr8qw8BGqAZzpgdEnekGd7gxNHCM3fwYDQLdoG2QB2t7C4/Ra4seBLnGYtRLsxwE9hKMce1QmLbCEzsZBE+AGE9OW4PgxWNbtDJXEhdgqIyt8MZ5di15s5/ycfOqp36zy2aqs12sFt+LPuiKwnkqLcN+XN1jh6ns6+8Tj/GwN934b7pestlwFKiOuqAWxAS1z21oL09pSRnI5f/rwkX3ZMuz8LyyqcPKS63bMjQ+ES7Qy1WorY+PgJSkwhRPlCbkJogX4oUJFM+aVVvjfwGrnDjx",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "4nuYh77LAK49oShAO3ZfaE/UyMpr924h++GBQ0EjC7Q",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a2-725a-aecf-39036b2f03ac"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight after finding 11 stale visible custom user properties older than 30 days, with no experience references and no matching non-dismissed existing insight.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 1 properties (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 'firstName' and set show_in_ui to false.",
          "title" => "Hide firstName",
          "undo_prompt" => "Update user property 'firstName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'funder' and set show_in_ui to false.",
          "title" => "Hide funder",
          "undo_prompt" => "Update user property 'funder' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'funderId' and set show_in_ui to false.",
          "title" => "Hide funderId",
          "undo_prompt" => "Update user property 'funderId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'funderName' and set show_in_ui to false.",
          "title" => "Hide funderName",
          "undo_prompt" => "Update user property 'funderName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'granteeId' and set show_in_ui to false.",
          "title" => "Hide granteeId",
          "undo_prompt" => "Update user property 'granteeId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'granteeName' and set show_in_ui to false.",
          "title" => "Hide granteeName",
          "undo_prompt" => "Update user property 'granteeName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'isAdmin' and set show_in_ui to false.",
          "title" => "Hide isAdmin",
          "undo_prompt" => "Update user property 'isAdmin' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'lastName' and set show_in_ui to false.",
          "title" => "Hide lastName",
          "undo_prompt" => "Update user property 'lastName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'name' and set show_in_ui to false.",
          "title" => "Hide name",
          "undo_prompt" => "Update user property 'name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'plan' and set show_in_ui to false.",
          "title" => "Hide plan",
          "undo_prompt" => "Update user property 'plan' 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 11 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)\n\nfunder - [View](https://studio.appcues.com/settings/properties/user?search=funder)\n\nfunderId - [View](https://studio.appcues.com/settings/properties/user?search=funderId)\n\nfunderName - [View](https://studio.appcues.com/settings/properties/user?search=funderName)\n\ngranteeId - [View](https://studio.appcues.com/settings/properties/user?search=granteeId)\n\ngranteeName - [View](https://studio.appcues.com/settings/properties/user?search=granteeName)\n\nisAdmin - [View](https://studio.appcues.com/settings/properties/user?search=isAdmin)\n\nlastName - [View](https://studio.appcues.com/settings/properties/user?search=lastName)\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 11 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors