25355536 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:42.361
Run Time 00:40.036
Inserted 6h ago
Scheduled 6h ago
Completed 6h ago (00:41)
Cancelled
Discarded

Args

%{
  "account_id" => "93012",
  "account_insight_agent_id" => "7c06f2f3-daf7-4181-b3d7-e8fe51202d56"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "bAJ1FFtpXPh6H3O1n2X5rTT1ALy7kOH3toRe0cd2Xp8",
  "recorded" => true,
  "return" => "g1AAAAmBeJytVU1v5EQQzWZ3+cgKceeASjmBFc9MJiELuUWsNlqRA4KEC0KjHrs87k2723S3450bv4s/wW/gn/CqPV9BIcqBy4zd7q6q9+q96ri3t7ffv7Qucmjw/Of3nlXkko6pXi40W84rV3QBK73yVtsFaRv0oo5UOY9nVUR9x9R2c6NDjW2Fs5FtHNFF47B7uvOJP7TsEbPgQM6U7CnWytIJ9cy34YicNUu6uqSf+PeOQwz0y5QajtjFZF2eUum4REU+P5nkpVoGSVfqqJ0d9Z+tKguzUkVlgOZZxM8rwfVKDjs7a42yeH+2vBaciKwDqUDedVFbXhe/xj5CKXeae+prRhF+2F+zaakyrie8hKiNIctcAqBQIsVG5RcsLKquTHhJ2ZJatUDEd1Xa0lngN0shtPUOjAD/ejeY8BS6tnU+kvJRF4Yll3VkwCnq8Gz4Ttl4hDgrfkkDjsOXskO+wnQxsjSIlq7zZKRJW/6xfgeczi9TQTi6gaKFAQGDYHNOB48QNdGg0ZMBm9QtmDYAQ+FaljOgsNK+kZgFmjsERSDwXUAEI+nGx0M3wqZHL2T1eRGV/H96s8Ykbx+BnqaN0rSzm8CJPCwBZZxtOFpI06SegdrV8dkO4OickfK2fKVAG232PB962utY07s3pObfTNW8OsmPp5PT/PTsW86/K16f5epMqbOpKk4rVZFVDc4e3tfs4YiuRSc72XvRWOJQRBEgBVTtqkf8s5ZgQlWrUpq/NoB0Vao3KkQ6mVAyQl9rIyw3SiebbiImxl9GHQ3L05c3W8WssxteqGKZ8CezQJxutuF976+n8f4I6553Wf8/uSa98lOA2ntYIgz5AsTNIkJViQ82bQc1o/cC6hOobRb5Q0L4xcrnG0a2GJIiARO8z3TZP7faJI5WS3HZ8mbxczlWwPgz3bSIJGt//MDchsGFD43CrRVhWoZjhE5WQcu4cdQoC5aPNu0F/9Jdgex1uBURFcr7NEjcPDiDuTO4fT2Ik+EqjTFpF3je//uChuG51dPK3oj11GGNUQeRUJYdP6Th7dksGx0c5PTr/a799lUdYxvOx+MQMUDcSLVtgY+jwjVjUUYYP0US48BRJlH4+oAop2u04hwlvUWALEtLP65LkvXpZIpwx/nx69XXqx3/yIYJBWZLY5qAvKY1aYTLW7jVbbt6Zu+dD6sIbxg3jk3D8lzccadLaWgOPMM14QanZtkVw8OXMLRXMvrWbNBb55ssG5yw6HSpBtuIntPJFKXXJWZuUkZg5Ys63TRZdvhzN290HKYx/UeKw1Wt15vBHbqmUX55TqEG1VJjlo0LBckCTD4oroF0xpb73A9RUGPaB2SjqpMcptQeYgcZRlcsrcMelUQRQ8wf33g0XBjpllEU4Bpd6QLoFpKYWtOF3XWZamZ71yc8l06Z1Dbrhpu70osOBsmyZG/c6MjE6Y7Zl5UDtosVsORpz2IPRBvGQeu18zBDunMwaTRIujc4L44f9m+Nef7vAS3taWQADZ4ZJJac+EIGRgqsQ+j4/T9u6zkV",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "3B6aPxxkg//GfuRepVYtYhV43Bpw+DBlBFawQjmAL0s",
  "workflow" => true,
  "workflow_id" => "019ddeab-ea25-743c-9e67-1d8683804a18"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Treat this as routine content hygiene. Review whether this help flow is still needed for the targeted audience and page. If the underlying process, audience, or support article is no longer relevant, unpublish it to reduce clutter in your live experience inventory. If it is still intended to be live, review its targeting and audience scope to confirm it can still be reached.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID ab52abf3-1204-468e-9c76-a6aa62ac4faf named \"LG Requests V2\". This experience was reviewed as part of inactive published content hygiene and had no activity in the last 30 days while remaining published.",
          "title" => "Unpublish inactive legacy flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID ab52abf3-1204-468e-9c76-a6aa62ac4faf named \"LG Requests V2\" if the user wants to restore it after unpublishing."
        }
      ],
      "cta_text" => "Review inactive experience",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Keeps your published experience inventory clean and easier to manage, while reducing the risk of carrying obsolete live content.",
      "finding" => "A 30-day activity review of published experiences older than 3 weeks found **1 inactive published experience**.\n\n- [LG Requests V2](https://studio.appcues.com/flows/ab52abf3-1204-468e-9c76-a6aa62ac4faf/settings)\n  - Type: **Flow**\n  - Published: **2023-11-17**\n  - Last 30 days: **0 seen / 0 completed / 0 skipped / 0 errors**\n  - Designed to: provide in-app help on the **Lead Generation Request Form** with guidance to use the help widget and search for **\"Submitting a Lead Generation Request\"**\n  - Targeting summary: shows on **/campaign-management/new-request** on **app.funeraldirectorslife.com** and **tst-app.funeraldirectorslife.com**, scoped to a specific segment plus a specific email condition\n  - Goals: **none configured**",
      "outcomes" => ["engagement", "retention"],
      "priority" => "medium",
      "title" => "1 published experience has had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Created 1 hygiene-focused warning insight for inactive published content. Among 2 published experiences older than 3 weeks, only LG Requests V2 met the no-activity-for-30-days condition."
}

Errors

No Errors