25352357 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 12:24.436
Run Time 00:38.425
Inserted 2h ago
Scheduled 2h ago
Completed 1h ago (00:39)
Cancelled
Discarded

Args

%{
  "account_id" => "24538",
  "account_insight_agent_id" => "bdce6478-fc2b-4e34-83a0-ff8cc823ac1d"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "L3gCg7XWHlC7gMrzwFwPh950Da4Ghof9w/zqnFDKb+c",
  "recorded" => true,
  "return" => "g1AAAAkfeJytVttu00AQLb1wSVUq/mBeUKnUJCCERFvagipQkRAPSPCCkLWxJ/G09q7ZHTf1Gx/B3/DGp/AlzK4Tp0WJSKO8xPZk5pw569nj5ZWVldXhFmlHg5RdlChWmcTusPxs5v5HxUxGR0WmtH/+/VbFKRTWFGi5AtUzlwipcqDge0nxRbvOh17JLBc2kFKCQAx9a3LgFMHhIEfNkkJZgrYDZ5SQHgA50Ea3E3RsS0ER4D8/fk64fHM+ySIr0piA0kkAbDJiJcQIuRLGS3LUyxDUQJJBsWRXwJRjx8u4V7fpvNgNL3bdR9diVuH6qQxi7wpyXrC/Pf5cCD9C6dBOCHciVRRxie59shPaccjgUjOMSEclefl9lbmac4OJM/R322d+TSa1YaFLnZhoQni0KKEsHnbmkfR6BkNevVlE1KNa1LXqabJOFiedW9j+dA7MFWW3UdQKikLZNCkvF6CZW8OM198n6/ijyvE2Oh4GHU3pNC2vFqSbW88MgkzdXs5WkDOunKbmcDGyIObcA9wXIRHjFQ/XdP3yH4hjEVcRJU1ocxTiqsAmuI1XBcaMSUR5ISbjY89PM1RaWvnH+WBInILRmfho7XejXgldMKk+ae+Mcr96+M6ISHgBThz6pjLJFhv0Dmcb29sTK5VAyabNVsUXmOwF0T4qtQn0qmCIvltLqGPstFofZH2kR9RwDPtPxW8rsfWBOWi1Jq4Dbfj6hXD47UnKXLiDbtdxmZDpjDI6scm7srQsfbvupMOu7/jEobJxejSB2xXsa1t/OejXAAU/7MelAAckQWx2xVJQGzRBHk/oUoDHYLthok3JUoSunu/CkrEyvP5hPZWP/80t9vg/01Z/1UOxn/6wG0xRGMulFtTz4YYMWj3Ev04tyl5M4NlkJ6bVQGZOTgX1uQP6xjZc4++2Pwr4+Z096n6WLfbR+vGdMtFh4Ic4ylSZ9JFUUuHblHw5FeAVOb+E9bmDXE7OhX/q41DnL99vEMc",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "OwkjpyBBTkgCVdg97eUe1xrpLdAq7dAEW1WkRWNztjY",
  "workflow" => true,
  "workflow_id" => "019ddea7-5777-73cb-b24b-26b7f0649367"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 5 stale visible non-auto user properties that are not referenced by any experience and were not already reported in 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 '_appcuesId' and set show_in_ui to false.",
          "title" => "Hide _appcuesId",
          "undo_prompt" => "Update user property '_appcuesId' and set show_in_ui to true."
        },
        %{
          "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 'email' and set show_in_ui to false.",
          "title" => "Hide email",
          "undo_prompt" => "Update user property 'email' and set show_in_ui to true."
        },
        %{
          "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 '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_text" => nil,
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Cleaner segment builder with only active properties",
      "finding" => "Found 5 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesId)\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\nemail - [View](https://studio.appcues.com/settings/properties/user?search=email)\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)\n\nlastName - [View](https://studio.appcues.com/settings/properties/user?search=lastName)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 5 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors