25352565 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 01:39.152
Run Time 00:37.693
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (00:38)
Cancelled
Discarded

Args

%{
  "account_id" => "39717",
  "account_insight_agent_id" => "149cf2b4-6781-4f7d-9d08-3a4290add665"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "2MOpF4DHStfJYRO/OCSaGwb8ey8BuZZQG3So1CdNvLk",
  "recorded" => true,
  "return" => "g1AAAAfleJytVc1OFEEQBgF/lhjiG9TFIAm7q8FEIQEkRIOJJxO9GDPpna7daZjpHrtrWObmQ/g+Jr6FV5/Eqp5lZyFrZAmXneqaqq/qq63+hpaWlu6N16wjDAXbP489KkINLyCrRwYtgrHBjDKCofPwEgKpHOHcBDPgZ1oFcgVUAT2U3pXoyWAAl2t2UKYs7DwHreogBwLlEbgUeByiR5tynUENeMF5Ro4BlNUwxkmYyrkZXUPqztk1iTWBjB3xe9vVJhQmBH4z6TH0xo8vzUQrbpUpLRP/rAu5dZWScTYpc2Xl/OutSrPLvmtQA64DmeIu4Ftl0rNuEw+Diogf5CAzmgfCs/DMmjKEgKMCLXGIEc49ODFa2jOh6RAD+YpRGPjP9x9tLWlOgjySMpYZCHEBnEakPLwBQqF0O2414mCQQdoayBTYExoPmjaDkF0VsqviXUlJxefHKpK9z8hFSWK++VRyfbzyt9WwmRT1UVmmFYb3ejM2FJAgZG6cGJtURgYwVHloqq6RoRzFenIiU5nNjsOurHZJW/Tw9kV5hNi7CbHd+TUGnnEXYdSJjGLaPCqvb1HmxhwO5oPzWrOB+ogWIbIRibS589js37bgjSn9Y17e5bgImUeRjGTNo/Fq8SKRwKkkP+TmE8ILGq9Yk8difKsN1YnRU9f6xEV1iVPnhqhXynNKTFHyRRTfznGOynIb19QBxoYycDZnrWk0odXMeJGHxop6sL38+51jglPBva6wUzmdSMN2I5gVuS55lZ6h3o6kxVuFRjtFNFqt7XU6H1TgkSBaOIDdiU6rkdvrdGZvJXThy2eD46/PMqIy7PX7gSptXE81Eb3UFX0ershy6Lc99qXnw4DKp9n+LOBWpxOvyp0ARyRGbNf1TmBbOMaWHboTVAHaivvmKuIEDM32ld44z6slh9WMP19XF//pf3ah+S7FZNnNuKuuLJ2nyjLq6V8p56cw",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "+8RAvLDTD336W/FLQgSQBefMFcH+AOn1m4j8i1W2k+Y",
  "workflow" => true,
  "workflow_id" => "019ddea7-577c-7271-b207-4deef4c3c4af"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for 4 stale visible custom user properties older than 30 days that are not referenced by experiences and were not already covered by existing 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 '_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 'brand' and set show_in_ui to false.",
          "title" => "Hide brand",
          "undo_prompt" => "Update user property 'brand' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'insertedAt' and set show_in_ui to false.",
          "title" => "Hide insertedAt",
          "undo_prompt" => "Update user property 'insertedAt' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'role' and set show_in_ui to false.",
          "title" => "Hide role",
          "undo_prompt" => "Update user property 'role' 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 4 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\nbrand - [View](https://studio.appcues.com/settings/properties/user?search=brand)\n\ninsertedAt - [View](https://studio.appcues.com/settings/properties/user?search=insertedAt)\n\nrole - [View](https://studio.appcues.com/settings/properties/user?search=role)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 4 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors