25354317 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 01:10.087
Run Time 01:33.488
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (01:34)
Cancelled
Discarded

Args

%{
  "account_id" => "222083",
  "account_insight_agent_id" => "63cc73a6-e966-459d-95aa-3c6bba1c249f"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "20lVYAfoawAQrOH0MuGx1B9Q7oqA2PD5dkzWbYYZWh4",
  "recorded" => true,
  "return" => "g1AAAA/PeJy1V9tu00AQLVBuqbi88cg8AZXapAgJiVsrVFHxAK3E9QGhaGtP4y3rXbM7S/Ab/wAfwXfwKXwJs3Ycp1XSxql5qTebnXPmTHfGJ7S0tHR+eFEbQpfy+ve2RUEYw33IrMnQUg5JPpCoEaR2cpAQHBgL9zfAkVAI36ST+/yMvCOTgndoq0iJDigRBCLLUFjwmr+NYT8H/M7fM2bEJ4SOYYgWgXMAoZg+ziEy33irOKuNXo+lS6ULwaMcXHd4rVr2Y8GZcO7niP+sBBUrIiJpdD9TQofPf16IKKkFiX2Gh0QwOXz1MvqyXp6HfU/EDzKQyJgFs1bLoihBcDhIURMfkSpG24WXMpZ6ANKVGaIj6xmFgf/++FVzheTCIYskpGYFQW8AHJ+IBBMjpCKuqykGfBhC6XQOJFPsBhmXyzRdENsJYpfD7oWIRPF84wuxlxg5zSgsn73PmB+P/FdyuHsgraNdkeLdIhuHBC4xw77UfS+D+gOhXEl5kSQpDKvrL0NJxqFFmb2OTb+me7ogHVcOu/PomUXglWoq51opZxQ5Tc2TxcjmFrM3HZ+v5TYfUchduMddoET2XAuVO+ma6INC3wlg0yTvtpbS3FWYTfkWUR9j21Fm2KQIt6sizMCaVoPXbSU0dwl2TmT8iCoyKTaVfmtS+gTGNMkvzprAWRuYx/TAi8ECDVxFNmjg08jOLqb5cK3EzJ6tM8X839GqTCTCO2cBMaPIJmJOITurmGAH3km0zcVUkQ3EnEY2t5itGfjeRtyhGD+nJnpulnrq4GmSNhemLFQdBowrrKhP+J2GF7RUYecq+ydJeV/G462V0RblGY43bwR7GPG7pi/TjC1P2HuwrVBozuaYD4OhpASMVuzqSvdVm8/CMh1IHXwar5fNjmGdtXWd7lXt2IWtlZbUk1knK6IvGK8VqsNu5WSDP6vdbLfTecUNyUmihk14tMH2L2eXOTCPO52xDYJ1+PRB4vDzvYQoc497PUc+lqbLPjny6Lo8bntcWuK8Xa9OsBcS3nJspaPk2RhttdM54f3cCtcJ+MxezdNWqCqwArfFclVgAXc0ZdrBHYExbtXwreBWYAG37rp2oGu81cn7+nDj74+fx67syOu2c2NHYOWFnWGm2rqvM+Br7glX0ybnBOxqMQWNp7DhypmYWWksD7zwYTnhn69Hh/Od0yZU+cO0iA4jsxihJsuMJa8Z9vAfRjBb4g",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "XNKy7TsqGmaASaDHtgnmFHq6qluOZOVtsB3vr1i4dps",
  "workflow" => true,
  "workflow_id" => "019ddea7-57ac-7e60-ac09-fdae6cfab7fc"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 10 stale visible custom user properties that appear unused by experiences and were not already covered by non-dismissed insights.",
  insights_data: [
    %{
      "action_plan" => "Each property above has a quick-action button to hide it from the segment builder. Hiding is non-destructive — property data is retained and the 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 'fullName' and set show_in_ui to false.",
          "title" => "Hide fullName",
          "undo_prompt" => "Update user property 'fullName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'hasCompletedOverlapAnalysis' and set show_in_ui to false.",
          "title" => "Hide hasCompletedOverlapAnalysis",
          "undo_prompt" => "Update user property 'hasCompletedOverlapAnalysis' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'hasSeenOverlapAnalysisFlow' and set show_in_ui to false.",
          "title" => "Hide hasSeenOverlapAnalysisFlow",
          "undo_prompt" => "Update user property 'hasSeenOverlapAnalysisFlow' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'hasSeenWelcomeFlow' and set show_in_ui to false.",
          "title" => "Hide hasSeenWelcomeFlow",
          "undo_prompt" => "Update user property 'hasSeenWelcomeFlow' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'language' and set show_in_ui to false.",
          "title" => "Hide language",
          "undo_prompt" => "Update user property 'language' 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 'location' and set show_in_ui to false.",
          "title" => "Hide location",
          "undo_prompt" => "Update user property 'location' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'planTier' and set show_in_ui to false.",
          "title" => "Hide planTier",
          "undo_prompt" => "Update user property 'planTier' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'purchasedAt' and set show_in_ui to false.",
          "title" => "Hide purchasedAt",
          "undo_prompt" => "Update user property 'purchasedAt' 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 10 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\nhasCompletedOverlapAnalysis - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedOverlapAnalysis)\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\nplanTier - [View](https://studio.appcues.com/settings/properties/user?search=planTier)\n\npurchasedAt - [View](https://studio.appcues.com/settings/properties/user?search=purchasedAt)\n\nLast seen 60–90 days ago:\n\nfullName - [View](https://studio.appcues.com/settings/properties/user?search=fullName)\n\nhasSeenOverlapAnalysisFlow - [View](https://studio.appcues.com/settings/properties/user?search=hasSeenOverlapAnalysisFlow)\n\nhasSeenWelcomeFlow - [View](https://studio.appcues.com/settings/properties/user?search=hasSeenWelcomeFlow)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 10 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors