25354151 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 09:17.037
Run Time 00:43.171
Inserted 20h ago
Scheduled 20h ago
Completed 19h ago (00:44)
Cancelled
Discarded

Args

%{
  "account_id" => "216869",
  "account_insight_agent_id" => "fc190d92-9ed3-4e16-b85f-58f79c6ce093"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "jHR5ICEgZFRXqvNEvE0IWwZm8CVzuLimHjzULa/IpKo",
  "recorded" => true,
  "return" => "g1AAAAiJeJytVk1v20YQdb764aDovadBD01LWLL8ERv1LU2BIkDRBKmNHopCWHGH5MbLXWJ3aVr9Q733j/Qv9c2KkhnAaHLoRaKGy5n33rwZKu3t7T0cnjifOLa4/udlYJVY0xE169qwYzIumrpJVPlAirp+ZU1scIJvOw44UTJ5qzlQapSjExqYryMNJjX0JwdPqkzmxqQ1EuEIk1Ux0cmCtFrHOb1GKBBbU5uV5Un60rvELlHgG8OD1DP5aKM0YqXc2mUGskFFSt6T4wHfqFXaXvN8+GKEH5daJWVB8UHCx1Mh+1QSeLfsrHL4/eDkRaTg+2TAurSsXN8djPVpaDiXT42J1IFKTMZain3X+ZAigXqGgydV2ylTO0E13qbWS6E5varIJEIG58l6VyOhY9asD6h3I3c5AQaBdV8Kjj4lHEPFte8DWSkxkd64G0jhw3qbPDa+t3qEt+L8wI6FAdKkQs3gWAOzJnAvuRU1UROaVya0kqZU7i4HPFFKT1br3MGQ/dBHDnEuOn660THu1H0s0UdlUvL9+dWWmfz6pAu+7ZLIXVxFzvkQAte03Kql6txdoJO7O2GWE9potRXEd6rlRDv3SIcmx7MbX/1Ims/OFuXZ0Wx1zsez0/PTaqa+P+XZ4ui5OldnWh9xRU61yPDsB++vYfiXytpnc7qUvk91j1T2IQCoXU/qCmhxqPuQ76+m7Y4+fybfRenfIM0BOUayO5WfJJMsy9XXk4fd6LoJWiGf7d077Zc7vff+/ji9/0Ptqdb/o7oj/xWXvuW4sbiqlXHzd4L7Mxhpmfg2k/jq7ejkLfE7HNlsYALNl0YPj5yxWYYxlNYd74JfymMlFt3SYFrLnPqvtxiLINr3DrLrDZDtHrpmRnfyDN43fpuFgUEVGTezG7NOJbairMiKsFl03q0gGVUthWJS6zyJmcsBAUzwNxLxNxykl+xqtCcP6LiQNyNXGadxDtcPv7lEmcpbuzHOvRsadm194Pd3NNb2aNiYTVsUH7BtUVzs78/o90nz/vi2SamLF4eHMfXa+LnqurLnOEcvD2HEePgxrjiMnGQlxe/2iWYAcolmXRQFvTFujLzZ0pLw8eL4+WxxNjtZjHd/nqCUA0WxoMjsiuIgXwNNZxnibwPaxNbEKIExxW+NSmJDEGAV5G1C2kuu11Ul7x22XVZLB7FFnks5s9pokQL8KvKX0rU8EdkriVW75bRbvLFvWxXWkvxXjDs6UVVZ7AYD0KHfuRDf5ndYHGsNjUeXUBpNbWG1vHl2NIB8LPOTVzZr8It3vFnpdQ9H5lGCB/OQ5VUtkf07g22GrQvGB/Q/L2uMqgHW97bPi6P7LbZ10dRD8p9h4rtx+UmWxzKOOTHg9/zuX/073iM",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "SKB60eKMR4TEH/aidZvE5RkVMFi6H5e9XoCfj1tqO7Q",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a8-7cd7-98b6-68d097d64df0"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for a published experience older than 3 weeks with zero activity in the last 30 days. Other eligible published content reviewed either had recent activity or was too new to include.",
  insights_data: [
    %{
      "action_plan" => "As routine cleanup, review whether this pin still supports an active campaign or support motion. If it is no longer needed, unpublish it to reduce clutter in your live experience inventory. If it should still be live, review its targeting and placement to confirm it can still be reached by the right users.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin experience with ID de660c61-b7e2-474f-a94e-015a7a6dd1ef named 'Book a Call'. This experience is currently published and had no activity in the last 30 days. Unpublish it so it stops showing to end users.",
          "title" => "Unpublish inactive Book a Call pin",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID de660c61-b7e2-474f-a94e-015a7a6dd1ef named 'Book a Call' so it becomes live again."
        }
      ],
      "cta_text" => "Review inactive experience",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Retiring unused live content keeps your experience inventory cleaner and reduces the chance of outdated messaging staying active, improving overall engagement hygiene.",
      "finding" => "The following published experience is more than 3 weeks old and has had **no activity in the last 30 days**:\n\n- [Book a Call](https://studio.appcues.com/pins/de660c61-b7e2-474f-a94e-015a7a6dd1ef/settings)\n  - **Type:** Pin\n  - **Published:** 2025-06-30\n  - **Last 30 days:** **0 seen**, **0 completed**, **0 dismissed**\n  - **What it appears to do:** Offer help and drive users to book a training call with your team\n  - **Targeting summary:** Shows off the homepage and excludes users who have permanently dismissed it\n  - **Goals:** None configured",
      "outcomes" => ["engagement"],
      "priority" => "medium",
      "title" => "1 published experience has had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors