25409093 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.014
Run Time 01:41.183
Inserted 15h ago
Scheduled 15h ago
Completed 15h ago (01:42)
Cancelled
Discarded

Args

%{
  "account_id" => "103523",
  "account_insight_agent_id" => "6394069e-3dc9-4fb1-ba43-dcd035a874ef"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "Mn7TRv+iGwMTUCw+Mdjqqikji2G0NaV/8T3DSNvj3d0",
  "recorded" => true,
  "return" => "g1AAAByKeJzlWUuP5LYRtp04DxtBjvGRt8SD5TRJUSLp2+wmCzhYP7IbwIdB0OCj1KO1WmqI1M50TvkRueXn5J/kl6Sonu6Z3Z2HFshMDgYaDUkUq8ivqr6qotJHH330yfmnXZ8grvH6388GsAkC4aTpYrM6S8TWCQYSve26plsRIQoyRnyyGfoNDKmBSKwf+hhJQTZ2BfGYPO/HDkWo6++cN+mMtDamZQTolimSvg0oJp3ZjhhGgt3GfIMKByAxNW1LBqhhgM7jetwWtaTmDQ7Bag1dnj8QuEDxTX6DJDusIOEKj89/c7n0uAw22Ra39XHCv8/zBj/PUvpuuWlth/cff/sS3jRwjpohwvX11ijet2C7cZM1DYAzPGTNxAEOQp6yJd4iGCQ2bR6wY9gtZt3EtU3+LIPx/dD0Q5Oav08zSN8dwMi7OSybNOsNro3UzRDTV+ToaIXD3bKzazg6eoL3m94vEQw4t+3uQT227X7YIt5HR7C2DQ4ek69rYveb2ZImkq4nbd+tstn6zdhmEz8h4wbx2a3K1jX4bPdb0B3GFped+mx6FO3HYcgbvlLRxQQ2HGeIf7mDOL7ON7/yyS4TXKR887tLsCNa5TrYeezXKK9J22UTzn/WNe1kq8tHabuBw8Pf5lXlpS53gOVn/3oJYfQZxLckb0mADXQBd5AtGs/6sQ0Z56F/C3nrcT/WbycUz6DdoAB4k/eHdowIyjUgAm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ME4Hph4J4gDr/g54ubnfvf6IIj5s/0Zw5irMLUZgkpS2qql2yDqY/4Nzmjvvikfa/2aMZ8s9SSyn8p7fgYe4193I6U0iZ2b2qhBMqoCpXCgqmRHUFrWlyDalkhXYonosDr5hE+J/j8vMcqEOFWYnZDsDDiurgORkTOUpVtdYO0heKs3/f7gUd+Eyg55vEjmTr7hlQTBHmclUXUmOcSQxLwRRYSUohN8Xag+Py/VDjluyFcdye0Y1g4QfyfPmB5JLy5c7mfPwsE5oLn2gtsSEJSss9Rxg4WoZVslC2+DVoQI/P2uwPsKq4O2zqmtFpY2h5uJuU0x1pahEhbKx/QwqF+QS1dYVo0wxoZxnuA57VVc+IZvRtU08Q4Xn4PZd5wvydOh/RLSe52Yy3t0L7BpOpiuDTY2iVjBsanDT1JSSYc7yUDmnlIFiYTvbblPj476Ufr/jfT0hTok/NCK7nPZ0fu+ruOSyZthQgQzY+2LzgA0P2hykFFIGjWH6iKU1rqzF4WXTJRje3OaSuwgt7nfJB+5xHr6GhIu0j858tHpXQfVTwMN6349dWsbRRT80m+lgGTunNMafODLXz65vZnEuKJsBxMOXxrcfDFzx6zWai9OadivKR8AnXRj6JsynOKiY0sZxClJh0erL3BwUSPVMWpEJV/vyGtseOoQrlc13rz7gNFEjCsGUFMAAAlHmg8RaUVdwLXPhE5BRr9Q9uGc87ftVc4tXTOeJ/F6viNOx1+5c7elgu8vziXyoWBC4aD7QVWpfFywwT20tMdtbD1TrEGjJ6rIKjKtgiuvdGuqWFxcXcmYt7qHQTHtaFpjWpFaCuuCABmsZAMqW+hHa4OlLTD8mfAti/iD2SX7y2dX3i+n26vvF7tPNZvflaptvfrHGRY7rfPlpalIL+Upxhea5tM57HwUPn/H2Zjx8cclzf56/6kzimhhHeP1fAEOslA",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "Jaaj3BX/X2gDPcQV6zuN8ZU7js1uZ/Y2rIMoN6iuxj4",
  "workflow" => true,
  "workflow_id" => "019de0c3-7d8b-7ed7-9df6-705234e7007d"
}

Recorded Output

%{
  notes: "Created 1 insight after scanning 223 user properties across 3 pages. Found 17 properties with last_seen_ts older than 90 days that are still referenced by active segments or experience targeting.",
  insights_data: [
    %{
      "action_plan" => "Review these properties for cleanup or replacement before they cause silent audience mismatches. Prioritize the ones with live targeting impact first: **given_name**, **poc_renewal**, **fullname**, and **email**. If a property is no longer populated, update the affected segments or experience rules to use a current property instead.",
      "actions" => [],
      "cta_text" => "Review stale properties",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Reducing stale property dependencies should improve targeting accuracy and help prevent missed experience delivery for activation and engagement campaigns.",
      "finding" => "- **test_user** — Last seen **2022-02-04**. Still used in active segment [Sagun readable segment test](https://studio.appcues.com/segments/9b31de5b-75cf-46a4-9074-98f4171b4942/edit). Review on the [user properties page](https://studio.appcues.com/settings/properties/user).\n- **fullname** — Last seen **2025-05-14**. Still used in active segment [new segment](https://studio.appcues.com/segments/cc7fa1e8-0eae-495c-8671-2f90811021df/edit) and directly targeted by draft mobile flow [Matt theme test](https://studio.appcues.com/mobile/flows/4482ec1c-d193-4eec-ac75-bc6b1ae24991/settings). Review on the [user properties page](https://studio.appcues.com/settings/properties/user).\n- **email** — Last seen **2026-01-05**. Still used in multiple active segments, including [Sagun All trailers, Active and other Saguns](https://studio.appcues.com/segments/59052cb9-12d1-4de9-965b-cf17e753d77b/edit), [Sagun Self users](https://studio.appcues.com/segments/5ba17923-aa89-4d30-94d7-3034daf61d99/edit), [QA BL Email Alias](https://studio.appcues.com/segments/4d11b571-238a-47a6-aee4-066a82bb3f8a/edit), [QA BL 0107 Conditions](https://studio.appcues.com/segments/6fe10a9a-e2cf-4fbc-ab14-e5dc8f7ed160/edit), [Will/Fred only](https://studio.appcues.com/segments/e27a173d-156b-4b8b-9f39-7e12833d0136/edit), [POC MileStone 2](https://studio.appcues.com/segments/d56c7152-1584-4298-bfa3-92705cd98031/edit), and directly targeted by draft pin [Test](https://studio.appcues.com/pins/ac95599f-a6e2-43b5-a4e2-ca8f489f9064/settings). Review on the [user properties page](https://studio.appcues.com/settings/properties/user).\n- **joey_email** — Last seen **2025-05-14**. Still used in active segment [Joey AI Assistant Research Test](https://studio.appcues.com/segments/e1431a72-9185-42ce-b1d8-050f2234993d/edit). Review on the [user properties page](https://studio.appcues.com/settings/properties/user).\n- **workflow** — Last seen **2025-05-04**. Still used in active segment [Says workflow is nice](https://studio.appcues.com/segments/2fc48fdf-4ad3-45c2-b2f0-7c8ced0ae689/edit). Review on the [user properties page](https://studio.appcues.com/settings/properties/user).\n- **name** — Last seen **2025-06-04**. Still used in active segment [Cristian](https://studio.appcues.com/segments/9888bba9-c5ec-48db-941a-7f217692fbcf/edit). Review on the [user properties page](https://studio.appcues.com/settings/properties/user).\n- **username** — Last seen **2024-04-02**. Still used in active segments [NL](https://studio.appcues.com/segments/ce43c83e-9af6-42a3-81d6-a194f4834ef6/edit) and [Sam's test segment](https://studio.appcues.com/segments/0a49d496-6678-4fc3-9d74-2ae9539b8d07/edit). Review on the [user properties page](https://studio.appcues.com/settings/properties/user).\n- **demo** — Last seen **2024-04-19**. Still used in active segment [Demo segment](https://studio.appcues.com/segments/9210b66b-92a6-4a6f-8b85-12ddbb81bcb3/edit). Review on the [user properties page](https://studio.appcues.com/settings/properties/user).\n- **push_workflow_test_1** — Last seen **2024-04-22**. Still used in active segment [push_workflow_test_1](https://studio.appcues.com/segments/6632047d-e527-4092-a3fa-6895746ea36d/edit). Review on the [user properties page](https://studio.appcues.com/settings/properties/user).\n- **push_workflow_test_2** — Last seen **2024-04-22**. Still used in active segment [push_workflow_test_2](https://studio.appcues.com/segments/fd614306-9eba-4da9-996c-c75429415781/edit). Review on the [user properties page](https://studio.appcues.com/settings/properties/user).\n- **push_workflow_test_3** — Last seen **2024-04-24**. Still used in active segment [push_workflow_test_3](https://studio.appcues.com/segments/c1a0d20b-09ec-4641-8b45-0d268f722c36/edit). Review on the [user properties page](https://studio.appcues.com/settings/properties/user).\n- **poc_renewal** — Last seen **2025-01-30**. Still used in active segment [James FiW POC Renewal](https://studio.appcues.com/segments/ab2814cd-a51a-469f-be39-a04fb28adc7a/edit), which is referenced by draft pin [asdf123](https://studio.appcues.com/pins" <> ...,
      "outcomes" => ["activation", "engagement"],
      "priority" => "medium",
      "title" => "17 inactive user properties are still used in targeting",
      "type" => "issue"
    }
  ]
}

Errors

No Errors