25353413 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 22:03.002
Run Time 02:34.549
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (02:35)
Cancelled
Discarded

Args

%{
  "account_id" => "110822",
  "account_insight_agent_id" => "9f62ecbf-abb1-4f47-b3ee-2e21958b3525"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "yeednTpmbyczB6wGpKJfpGb3L9QLv/dTTOL0GqoDRlc",
  "recorded" => true,
  "return" => "g1AAABnBeJytmd9z3DQQx0N/AL1QCo+86Ym2M5dLSzpTGmhLJhSSmdKHkvAAw9zoLJ2txpaMJN/Fbwx/A38UfwUP/CXsypbtOxxyTvSS0+msz+53vZZXG7u1tXVjeVsqy00G478ONaeWM/KY5FrlXNuSJGUsuORESCPixBI6t1wTzReCL4WMibE05WQhjJjBZ1QYqzJSGLimRghuiEoZTNiESrL3iDBamjHh51FaMETQwqodq2l0BqbngqfM/QyLwXLEdzSfc40j1mGOCZWM0BQ8ZiVckiuNngvLMzNZ3q3dNVNGwUHQ9p6FP9uocptGVig5zVMq4fuNP04SDma1seTxo67XCV1w8lshorOdagmZFdYqaYhVJBGMgyKeQWSYWAhW0DQtJwRhmmdUSJT2xZMu8EFUxffAjgkTBhwo39CMjyvr1VCY4wyuN0pSCwSc+JFmeQo/gb9xQWM38penKqLo2pjAXRRzUX0zB+DvAn7OE2XV6dvXMILVJ4LrMToUa5qZQ1VIcCQvdJRQA16xMdF0+Qp8T2EEN31J02/B3zGxIuM/K4kjlZ8olc4ogKwWNH11ngvNWfdbWS0qpLAGP/AWOYcERqE2W03/wI0BRdUkOoeZI52yBQQBpDwkEWTNjGPAGZcQcq2KOCGHNLcQZHJwTP75/U9CzRnc+9UbMysJotzvSpMiZy65MyrdvYIbh9cRw+OMSws3V7g0PT2ekCPhMlMYCKvcYdxY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
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "Am7SnO1n6O/Mkq+I1e9yzd/SPYCL7Tp2MbwCjULWGWg",
  "workflow" => true,
  "workflow_id" => "019ddea7-5795-799c-a172-bdc52ca90c51"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight after reviewing stale visible custom user properties older than 30 days, excluding auto-tracked fields, experience-referenced properties, and already-reported items.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 24 properties (createdAt, displayName, firstName, isImpersonating, isSample, language, lastName, location, notificationsActive, photoURL, planTier, programsCount, purchasedAd, rawEmail, renewalDate, timeZone, topToolbar, trialExpired, trialExpiryDate, units, unreadActivitiesCount, unreadMessagesCounter, 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 '__id' and set show_in_ui to false.",
          "title" => "Hide __id",
          "undo_prompt" => "Update user property '__id' 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 'avatar' and set show_in_ui to false.",
          "title" => "Hide avatar",
          "undo_prompt" => "Update user property 'avatar' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'birthday' and set show_in_ui to false.",
          "title" => "Hide birthday",
          "undo_prompt" => "Update user property 'birthday' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'clientsCount' and set show_in_ui to false.",
          "title" => "Hide clientsCount",
          "undo_prompt" => "Update user property 'clientsCount' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'clientsCountNoSample' and set show_in_ui to false.",
          "title" => "Hide clientsCountNoSample",
          "undo_prompt" => "Update user property 'clientsCountNoSample' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'coachAvatar' and set show_in_ui to false.",
          "title" => "Hide coachAvatar",
          "undo_prompt" => "Update user property 'coachAvatar' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'coachEmail' and set show_in_ui to false.",
          "title" => "Hide coachEmail",
          "undo_prompt" => "Update user property 'coachEmail' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'coachName' and set show_in_ui to false.",
          "title" => "Hide coachName",
          "undo_prompt" => "Update user property 'coachName' 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_text" => nil,
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Cleaner segment builder with only active properties",
      "finding" => "Found 34 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n__id - [View](https://studio.appcues.com/settings/properties/user?search=__id)\n\naccountId - [View](https://studio.appcues.com/settings/properties/user?search=accountId)\n\navatar - [View](https://studio.appcues.com/settings/properties/user?search=avatar)\n\nbirthday - [View](https://studio.appcues.com/settings/properties/user?search=birthday)\n\nclientsCount - [View](https://studio.appcues.com/settings/properties/user?search=clientsCount)\n\nclientsCountNoSample - [View](https://studio.appcues.com/settings/properties/user?search=clientsCountNoSample)\n\ncoachAvatar - [View](https://studio.appcues.com/settings/properties/user?search=coachAvatar)\n\ncoachEmail - [View](https://studio.appcues.com/settings/properties/user?search=coachEmail)\n\ncoachName - [View](https://studio.appcues.com/settings/properties/user?search=coachName)\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\ndisplayName - [View](https://studio.appcues.com/settings/properties/user?search=displayName)\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)\n\nisImpersonating - [View](https://studio.appcues.com/settings/properties/user?search=isImpersonating)\n\nisSample - [View](https://studio.appcues.com/settings/properties/user?search=isSample)\n\nlanguage - [View](https://studio.appcues.com/settings/properties/user?search=language)\n\nlastName - [View](https://studio.appcues.com/settings/properties/user?search=lastName)\n\nlocation - [View](https://studio.appcues.com/settings/properties/user?search=location)\n\nnotificationsActive - [View](https://studio.appcues.com/settings/properties/user?search=notificationsActive)\n\nphotoURL - [View](https://studio.appcues.com/settings/properties/user?search=photoURL)\n\nplanTier - [View](https://studio.appcues.com/settings/properties/user?search=planTier)\n\nprogramsCount - [View](https://studio.appcues.com/settings/properties/user?search=programsCount)\n\npurchasedAd - [View](https://studio.appcues.com/settings/properties/user?search=purchasedAd)\n\nrawEmail - [View](https://studio.appcues.com/settings/properties/user?search=rawEmail)\n\nrenewalDate - [View](https://studio.appcues.com/settings/properties/user?search=renewalDate)\n\ntimeZone - [View](https://studio.appcues.com/settings/properties/user?search=timeZone)\n\ntopToolbar - [View](https://studio.appcues.com/settings/properties/user?search=topToolbar)\n\ntrialExpired - [View](https://studio.appcues.com/settings/properties/user?search=trialExpired)\n\ntrialExpiryDate - [View](https://studio.appcues.com/settings/properties/user?search=trialExpiryDate)\n\nunits - [View](https://studio.appcues.com/settings/properties/user?search=units)\n\nunreadActivitiesCount - [View](https://studio.appcues.com/settings/properties/user?search=unreadActivitiesCount)\n\nunreadMessagesCounter - [View](https://studio.appcues.com/settings/properties/user?search=unreadMessagesCounter)\n\nusername - [View](https://studio.appcues.com/settings/properties/user?search=username)\n\nversion - [View](https://studio.appcues.com/settings/properties/user?search=version)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 34 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors