25354037 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 20:55.779
Run Time 00:35.137
Inserted 7h ago
Scheduled 7h ago
Completed 7h ago (00:36)
Cancelled
Discarded

Args

%{
  "account_id" => "213625",
  "account_insight_agent_id" => "cd047370-5c30-4fd3-b7e5-2c9d6451edb6"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "z2d7inKQqjOzObxfKWL6H98rxrb4NNSZlrejYSyLPjU",
  "recorded" => true,
  "return" => "g1AAAAeoeJy9Vd1O1UAQBgF/DlFfYW4MktAeDVeiaAiRcGG8MNEbY5o97ZzTgXa37s5SeudD+CQ+go+iL+LsFnoCIUGOxJvtdjJ/3+w3M7y0tHSnfUja0axklxWKVSWyZZZjvQ6HypmMzppK6fD/863KS2isadByB2piThBK5UDBV0/5cdLrw8Qzy4cNlFQgEMPUmhq4RHA4q1GzqFBVoE3hkArSMyAH2uikQMfWixdx/Ovb93mskFxQssiKNBagdBEdDhq5ksAItZKIJ+RoUiGomSiDYtHugKnGNMC416fpAtiVAHY1SFdyVvH7wUewd8Vz3XC4Hn1sJD6Cd2jnATcy1TS5R3dgbC01QuUwqZAT75JjbdqkLbukMz5RFpMS5WBTqG4jpu6QwZWmzUhnnkKppqpyfX5rTFxhuL08DPVbLE58QK8Lk82B0P8AIg+I6d+UdffqbHKLIi32+CaVehQrNZheBf7VguH+Fc+UrOP3qsab4xlMb4Dn2nARz1HwcF+wZIyn3K5oqoLkgfQmcZdRMYjWz0TcNTgIH+Npg7mULaO6kXYKsu19YY6WXC71OLTEJRhdycToO/ssWUIX23FKOswAuS//PjCCErbBySy6CE20peFDL9uhwbdkaIjAs0nYqvwYi60IOkjFtoBJF1s/ZGsJdY7paPROOSkJoobX8OKZTJZOBtjM7IxGi/UBJPD5E2H75WnJ3Lid8dixL8ikZ97S3NRjeQYWjG48RzMO6N44VDYvdxcLvTkaDfS9lTQGb+J5INKteB68bUbmGc9iha7nYWPJWCFZ+FktZR1dbIYn17Ci3zPROLA0stY0jbHstXg9ateEED3Zfuz3COE5lN1MKCHrqV+AMDV2CHG+QHLvWDbX5Ygm8lrYqGG7Z1AKe1Ul5q28DXhtcSoX4Vuk4Jx+bqCnqiSRQtaW7FDbq8UFSK4mF6h7vpfTP5Vjnfc",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "psVe+k7MShhT/uSQ6Vg1fxPov0EQhqwLHu7mV4/gKwA",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a5-7c90-a266-997ea14328ee"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for 3 stale visible custom user properties older than 30 days. All 3 were unreferenced by experiences and 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 '_appcuesForm_please-let-us-know-why-you-are-here-today' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_please-let-us-know-why-you-are-here-today",
          "undo_prompt" => "Update user property '_appcuesForm_please-let-us-know-why-you-are-here-today' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'createdAt' and set show_in_ui to false.",
          "title" => "Hide createdAt",
          "undo_prompt" => "Update user property 'createdAt' 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_text" => nil,
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Cleaner segment builder with only active properties",
      "finding" => "Found 3 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_please-let-us-know-why-you-are-here-today - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_please-let-us-know-why-you-are-here-today)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/user?search=createdAt)\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 3 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors