25354127 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 08:03.654
Run Time 00:56.582
Inserted 1d ago
Scheduled 1d ago
Completed 1d ago (00:57)
Cancelled
Discarded

Args

%{
  "account_id" => "216052",
  "account_insight_agent_id" => "17e821c8-73ee-443b-a3bd-4eb29913e755"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "Gt9DqOEPdoF6Ss7TAXe1OWcB85D9ohGsGbRYIbmOHEQ",
  "recorded" => true,
  "return" => "g1AAAAbReJydld2OFDcQhZdsEMmsorxC5S5p0fMfdmbuIiAIgVYIchdFI6+7utvgthvbPbPDa+UR8kR5g5zq+QGkRaxyM2u77fKpr+p409nZ2Tfb+84njg3G/77mjeEtF6Sspba7tibWmPFNy8Gw0xzJ24IDpVo5mtGW+V0k5QoqfYffKb3vlDXlzriKSuu3cUhXbFKNIw0nHGP6wMHnSiezMWmHlcCxRlAyrv9sVUw0G1OhdvEhRU/PKXDqghNVFBHYYpPf5m0wPkiIeldBGyNANFWdCOG2cj80JnKetGXlupZMJN2FwC7ZHTnmgovh9ofDqbguVFIWEO4l/FwIjgtR6d26tcphfu+nK0+dO2Ch/UeJGlj7pmGHgFQG3+BmrB5l6Zr1O7pmrbrIxBsOO2JrKnONRG5jTDEZ4K8VEk4E8QASfcNyD8TTkd2QHnuXjOuYUmCV9jnjZgVJvsOcj7k/7GsU+uoKZQhB0Y3UU1UK5E3Zw08qVJyEdFfstWgUupKyh35DwzGqSm7CPWBrPb6GI9ehUHuwBxPfyuQ7ndQ68U3anjtjZeV77IP4tSlOSxeHpbRr+bT4owDR0LI2TYuQssYvmNtIO9+F28kZt0EsD8KSN23ReQCBxBu/EdEawARh3xrIYE8a8HQtn1GgEPdJlMYVWML4/MHzA7mDL7Lsrs7Isk+8kWVjzEWSgDsZ4Ja2Hw4GJyOaxE1cDXL6800XW0az/vO3owJNwmFjtPF//Vyn1MbVaBQTiuaHqm11x3GInhz1FhzNp7pczC7nuXq0mORz9essVyVGy8ulmquFnkznehQ5SQfFXwZEOf2BUqzodxzvpy+hLp+Nc6g7KV8howlksOu5ZVm/8wnDTuLV5Hsjimd7pVB8SACm2TcfYZRlo1fBOG1aZYcqtjdghKOCJMs+T9mecsaeyBUcl/o7n3ll4wpBpeG9K03VBS6E2SuYEtVJ0udFY5yJKcAoGx/p2dOrp69/e3kHfGP9SC0ny0k+ni5K4Jtd54v5hPOl1qW+nGpALf4fvulHfPGL/Nzn0hntZOX9w4t2R4xfp3AnoL2fYSeQ4di/lLIyYFepiuXs3vHHd1km5xAqf+/D35Zl9Hj8hf8rtUJq8uZ9ao4Sz07jAx9cdbCHxPlWHov+8fBt60PqHPa//Q/VNlI+",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "0Em3TduYe2YafEMjHca6dNBBYPIL1bj+rwGSJDWStnk",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a7-7d65-b3d7-b805246aaa5b"
}

Recorded Output

%{
  notes: "Reviewed all published experiences older than 3 weeks and found 2 qualifying flows. Neither met the zero-activity threshold in the last 30 days, so I returned a single low-priority hygiene insight showing that no cleanup is currently needed.",
  insights_data: [
    %{
      "action_plan" => "No unpublish action is recommended from this hygiene check because every eligible published experience still had at least some recent activity. Continue treating this as routine cleanup, and review these notices again if the targeted audience changes or the messaging is no longer current.",
      "actions" => [],
      "cta_text" => nil,
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Keeps your published experience inventory lean without removing content that is still reaching users.",
      "finding" => "I reviewed all **published experiences older than 3 weeks** and found **0** with no activity in the last 30 days.\n\nReviewed items:\n- [Suspensión de servicio](https://studio.appcues.com/flows/42cf8374-a681-4a53-af81-979a4a8c124c/settings)\n  - Type: Flow\n  - Last-30-day activity: **1 seen user**\n  - Designed to show a service suspension notice on **/Principal.aspx** to the **Suspensión del servicio** segment\n  - Goals: none configured\n- [Pendientes administrativos GENERAL](https://studio.appcues.com/flows/0c6a9191-028f-4a3b-841e-9ccfc72c681d/settings)\n  - Type: Flow\n  - Last-30-day activity: **2 seen users**\n  - Designed to show an administrative follow-up notice on **/Principal.aspx** to the **Pendientes administrativos GENERAL** segment\n  - Goals: none configured",
      "outcomes" => ["engagement"],
      "priority" => "low",
      "title" => "0 published experiences have had no activity for more than 30 days.",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors