25353077 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 11:42.455
Run Time 01:16.817
Inserted 10h ago
Scheduled 10h ago
Completed 10h ago (01:17)
Cancelled
Discarded

Args

%{
  "account_id" => "87961",
  "account_insight_agent_id" => "6b4e307e-e4cd-4fa4-a90a-e37f62dab2f9"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "JeW2bnYq8uiAp0lH90HEegaMVoy6SOYVlj8JTJ8qa7w",
  "recorded" => true,
  "return" => "g1AAAAjteJytVdtuE0EMLb0ATQX9BUsIlUpNAkIIWtHyUIGKxBMSvCC0msw6Wbe7M8uMt+m+8RF8ERI/wpfgmU2zFKXQhLxkLrGPfbyeY15ZWVkdbxjL6AvZ/zh2qBhTeAKlsyU6riGrR4QGgYynUcYwtA6egWeVI5yTp4GsuvJsC6g8uktHQg+cKQblECQAqIptl53SZ5juxRuHQ3RotMQb1IAX4kbh6PdAmbRxyiWhtAZtz8U02ikjpuSZzEhMTDclX5D38uckw9743mTnk1RJnkLsFsvPVqC4pTSTNUmZKxPO318rnbVs1UAiQaY8KPhSkT7rNvYwqJhlYQsZpVINKYQTypwheBwVaFhMKE/R9eCE0pAd+SZB9OwqQRHgn1+/tbFCcsHIISsyQiCwDoBTCy1kBwiFSttaq5EYQyisqYGpwF6gcadJ0weyG4Hserhd06zi+r6KZG8LclFy2B59KCU+XvlmNewkqix1hf5tuhPT8cjgMztOyCQVBfpDlfsm5gYT5xh22yehJq1vLHRlUpu0AQ8XDSjFw95NKF0TQWltK8PzMbofGU1dZxF6uWC4G/PZnx0AC0X5PFw6kUt0m8XjxQJhbszhGnCjCpyHwmakELxmMXg+f5D/JeBsvgCB4DUHgb8FiQROg/NdST5hvODxmmm+8KaoEXGdUDq92ppccV3i9HI7aK4WvU+oKEVAwt3T4xyVkTT+UDUYE2dgTS4a2WhZK/RRgIZkgurJfvXBG3kB6XRKXDsWJpK2N2M+XA6Ayl+q/u8TotfpvFNeSoJo4Aj2H4uW1iLZI3vQ6bSKAl349JFw/PlRxlz6g37fc5WS7U0setoWfSltmCW+32bYDxm/8qiczg5buN1OZ/q4lwI9RRPk+NyWghqRBDG0/1IAA5DghW5cCl4A2o2daysWB/RNH5eOrJMmDYf1TAb41Sf08B9d1Uzm6By6PHa9LUvruDKCevoLJOz8VA",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "r2Pu3u3M/fWGhhaM6HU26j59nUxs4fBHv7R5DHBi7YI",
  "workflow" => true,
  "workflow_id" => "019ddea7-5786-75d1-99ca-586bc8943187"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 5 stale visible custom user properties that are not auto-tracked, not referenced by experiences, and not already covered by an existing non-dismissed insight.",
  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 '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 '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 'name' and set show_in_ui to false.",
          "title" => "Hide name",
          "undo_prompt" => "Update user property 'name' 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 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\naccountId - [View](https://studio.appcues.com/settings/properties/user?search=accountId)\n\nemail - [View](https://studio.appcues.com/settings/properties/user?search=email)\n\nname - [View](https://studio.appcues.com/settings/properties/user?search=name)\n\nrole - [View](https://studio.appcues.com/settings/properties/user?search=role)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 5 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors