25352901 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 17:55.963
Run Time 01:41.873
Inserted 6h ago
Scheduled 6h ago
Completed 6h ago (01:42)
Cancelled
Discarded

Args

%{
  "account_id" => "69076",
  "account_insight_agent_id" => "5a589118-2d96-4e29-89ed-c8f6d8cd4d07"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "T3o6VYQM8XMeK/DBkA0fCw5lKneKlsgZU0KmgxpFoWE",
  "recorded" => true,
  "return" => "g1AAABPWeJytmFFv2zYQx9O1XTcHW7Y+7ZFPawI4drICA1Ks7YxsXQMMexjavQyDQEtniY1EqiJpR2/9DtsH2Wfq4z7F7ihLogM7thK9xJRM/u7+vPPxGLO3t/fJ4qFUBnSG4//OC+AGInbK8kLlUJiSJWUsQAITUos4MWymCnZ6xrThKbC50GKKn6HVRmXMaijqlQI0Mwk3jBfA0AIrYAYFyBDx05LBFU4S9KgZl5GbwVM0H5UsVHOc6abx0Ih5Y1yP2M9XYWoj/PI7xq1Rx6bg4SU+elYJd+qba7Qc5imXbwQUR6PFFzUziDhqQfX3DP7Zp33YJ7NKBjQdn+/9+yYBNhOFNuz0xDeVcHTuvRXh5XG1hE2tMUqidMUSEQFuAWTofiTmIrI8TcsRI1gBGRdSyJid+bxDZ+Q3nsGwshdIN0Y/YstjGqmQk6EhI0AQF8rmQ5bbIky4hmgSDZEtYcHTnzCSQxeSioF7qnHhEQs5ugnkXgQSHUREnLBznhsksskF+/jhH8b1JRNmVQbGg1Due8wCm0cuWTIunTKUSfOYhjgDaXArRBphQry9GLHXIiKxQmOg5XEE2hS2Ci3BmgBRKGhSAeQLsimWXJbtjKXzGY/a7OMxOU6phjONyGBEQXxURURTaAcU2gf09n5ouPv83VJo9z5FcpYbGv741glayeKSPQmycpLnoQV9ET1xDmkwTCdqEWAArKA9mvFUV1YfGmFSoNHXr2nj/NUutayMVNAafXl7o7iFMNpF2PP1NngYKitNN1VfOlXN0nWSfriluZ31vLjRQCA6CTrwBeHadYpu3sAbDO4saUMahPg9JjUVhC6avnKavMXrRG3YxR1M3jXxwuqUmZjuidcs7ZB4W83dNfGWBgLeSdCBLwjXdki87Qb7kjQtby9pWt5C0maDO0uabLPQsUI8vqZqQ5HYcHzsZHZnbb9sNVIf+F0UfnNdYQ1Zp/PVnV24a1UEOReFktRkdK+K3uIOVXEHk07VO2J8hooCA1dmcV+KlN58juuEoQxoXu0vX5kyh+blAbXFIW2jwCocOo+enqfAJXpzva9aCJMwJdOmS24bSdf/zKjtlDGOH5Wv8KCK2r59Y6O+bKmGVT/uNdjDpkvHtVVrLv0ufjQY/MqxP9aAPeULdnaCvVyJvXisng0GfjfDjtmffwhY/HWYGJPrZ+OxNjYSasSrGSM8gMa4uwZd1+PWxzH5/FIDx073uQ88Ggya1qIXeENDsnca9sL2eESvT6Z+2DWtJeOvsU804pDt/RZ6gXs8pDc3oF7YDQ3J9SWqF3ANI+7yStYPdwlDbnvB64Xc4pDtXRh7gXs8pHs30F7oHg/p9fHSC7qGIXd5Qe4FW1+2/ar49OTjh7+/XymM7Q2iz8qFOK8E8F6rC+JWyktfrq8QVy30Gu813LroBL0ZaXFHrh9Q1uAy0FV3kBdCFXj008ODRMTJapvy7bazuvqXjFtNzYNrJlSeq8JYidh3/wPOuddb",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "PyHT7CIYaCX3MYiFoDggruD4WohMJw2zTu9he+sDdVo",
  "workflow" => true,
  "workflow_id" => "019ddea7-5782-773d-9126-9ce1e24d1ca9"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 19 stale visible custom user properties that are not referenced by experiences and not already covered by active insights. Excluded 2 auto-tracked properties and 1 referenced property (planTier).",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 9 properties (firstName, first_name, language, location, main_group, purchasedAd, renewalDate, username, version) 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 '_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 'accountId' and set show_in_ui to false.",
          "title" => "Hide accountId",
          "undo_prompt" => "Update user property 'accountId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'account_id' and set show_in_ui to false.",
          "title" => "Hide account_id",
          "undo_prompt" => "Update user property 'account_id' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'companyName' and set show_in_ui to false.",
          "title" => "Hide companyName",
          "undo_prompt" => "Update user property 'companyName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'createdAt' and set show_in_ui to false.",
          "title" => "Hide createdAt",
          "undo_prompt" => "Update user property 'createdAt' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'created_at' and set show_in_ui to false.",
          "title" => "Hide created_at",
          "undo_prompt" => "Update user property 'created_at' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'created_by' and set show_in_ui to false.",
          "title" => "Hide created_by",
          "undo_prompt" => "Update user property 'created_by' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'created_by_id' and set show_in_ui to false.",
          "title" => "Hide created_by_id",
          "undo_prompt" => "Update user property 'created_by_id' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'created_by_username' and set show_in_ui to false.",
          "title" => "Hide created_by_username",
          "undo_prompt" => "Update user property 'created_by_username' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'environment' and set show_in_ui to false.",
          "title" => "Hide environment",
          "undo_prompt" => "Update user property 'environment' 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 19 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\naccountId - [View](https://studio.appcues.com/settings/properties/user?search=accountId)\n\ncompanyName - [View](https://studio.appcues.com/settings/properties/user?search=companyName)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/user?search=createdAt)\n\ncreated_by - [View](https://studio.appcues.com/settings/properties/user?search=created_by)\n\nenvironment - [View](https://studio.appcues.com/settings/properties/user?search=environment)\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)\n\nlanguage - [View](https://studio.appcues.com/settings/properties/user?search=language)\n\nlocation - [View](https://studio.appcues.com/settings/properties/user?search=location)\n\nmain_group - [View](https://studio.appcues.com/settings/properties/user?search=main_group)\n\npurchasedAd - [View](https://studio.appcues.com/settings/properties/user?search=purchasedAd)\n\nrenewalDate - [View](https://studio.appcues.com/settings/properties/user?search=renewalDate)\n\nusername - [View](https://studio.appcues.com/settings/properties/user?search=username)\n\nversion - [View](https://studio.appcues.com/settings/properties/user?search=version)\n\nLast seen 30–60 days ago:\n\naccount_id - [View](https://studio.appcues.com/settings/properties/user?search=account_id)\n\ncreated_at - [View](https://studio.appcues.com/settings/properties/user?search=created_at)\n\ncreated_by_id - [View](https://studio.appcues.com/settings/properties/user?search=created_by_id)\n\ncreated_by_username - [View](https://studio.appcues.com/settings/properties/user?search=created_by_username)\n\nfirst_name - [View](https://studio.appcues.com/settings/properties/user?search=first_name)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 19 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors