25352543 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:01.405
Run Time 00:45.049
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (00:46)
Cancelled
Discarded

Args

%{
  "account_id" => "37647",
  "account_insight_agent_id" => "8b2bb6c7-5800-47fb-9ce2-c84dd8b97bc8"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "5miC9GPMB6tnuQBCkRU1Hz+B1nk7ybt5IR0qm6bSIkE",
  "recorded" => true,
  "return" => "g1AAAAnteJy1Vk1vHEUQdeIEwkaIOxJSyScYrde2ckAyysGJMbJkKShKhARCq/ZM7U5ne7qH7p4dL8f4wn9AIHHmD0SCK7/Eyv/gVc/sR2CJcuFi73TX1MerV68m7uzs3G7vWhc5VPj96rFnFbmgIyoXU82WSdugp2UkNYnsyfNcc6vtlD6nurk0OpSw5quaPaxzDuRMAbtYKksPqGWehRE9gZ+19cS4lkpV0I/sHak86rmOCwTCW0xGhUgPDqlQi/AFWUdFUxudIyuE0SFK7GVOrQo0cY0tRu2H/VkYFyoqg1puRfy5L1XdlxjOjmujLJ5vPXmaqqC2ZESUZHXosoJ7Yyg0de18DKTI6DmTs5dO+UIi1yqW5Dxu8sZ7tpGaAA+BpxUeRnQ+IR0J7qJGpRHlWXJNLBKotZrykFRTJKiG4sc7Y3AveKXXUK9xdpqQNjxXNg6psT12cL2MEErXmKLP95I7FOFyxlzL/RptZYu+azhHXspPOYHoG4N2yXX0eiohc2cLLUgFyRxPE+0r8Zajii4U6JGXxEZP9aXhVHwYCcbvdxiHFfJ35HQ3j0r+f/B8WYM8vVd7V9VRWvHJ88Cp7TgqmjyOe+wJUAHclB1uVxCM11RDjs5Iomt8kqNV5S1fdl21qsLj3snR/uHo9U+/vP7515vr326ur29e/nFz/efNy1d71Gr0dcP3+Snt7V9Mwg/fPnp0+vXZNxdtfhavZl/ujejZii3437PALP6B+DvRe0QrWMAx+EhEXGeRgL0bdTQsv/bW1tp2Dd+kpqSU2I55cOMVxDt/vRvEbwHY8ybA/xOsT/mtULyQUu6BTuPIV6muj/spXmGxtk6UQ3HAfayLdtdqk5Dpj+Ki5tXhR/JajvEc66qGJzn7fYW0ANtY0LyQeYgCmIxYoIVr/GZl2s5x6fyCcsPKsh8CNsCNEauUljeVmLk5+5JVMexYwmbpKrKqoGV5AwW19O/uirkqXC1Dtqm33fBNtBUr/N41JwFCg/a6CdSlwahvIrOU9SGd96ogurRVyJMkteyZsmxtUTnPb6g7aOSyLOWXl5zPROBFILfxPst65mfZaDA477Qbp0dbU4DXxJ8ss+s5wmHReEEk5Se2rjgeDPbpu/8m4vefljHW4fjgIESorxupus4bgJe76kC4HA62sfIgcBSpDJ8NiPbpGWhzjGzO8EKWpaNTxtKxSemPUWlME8ZkQcskjTI9JzGyabpSFDAzCIopUmYWSzRoKoRPECmrzCLqPACiUKbODwUOo3oM+wGmuTINdwzqxlxuK4kVonS+CYkxc6WNEpWeYKc3nkNXxXIBHMsSae0yepZtiQ+0pZldLZWKeRoIBWOZIXpIR7CQRUKXHvwuU4SvnDLhOLUN3EtrZIrwRY/ZxYYCitUhtifbIR3CtKoNYxTlIcx0XaeXBs+QHtJPlE7D0n1jbKdtv8JRmkhxz5ohBddJinEOnDV6JnhDwZ1JqzkNbVPLpiu0bGvyqv82gJlCeQ6KXrB8D2DGATuArdLw3cOQSUvT6rstJwO2U4irfBEkg+XcdhpWg7EeOaVNCAXVTfWmzj/ePg4BSwWaIJtlYx5SfzaGst8s4ueO9Ci51iE0/OJvDRKASw",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "ojrwEy1Qilp5lvCCuOt0e4xBVaRW/Sxf2bCCa6dm/a4",
  "workflow" => true,
  "workflow_id" => "019ddea7-577b-716e-8de6-82578f933508"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Review whether this flow still supports a live onboarding path or a current user segment. If it is tied to an outdated page, audience, or rollout that is no longer relevant, unpublish it. If it should still be active, keep it published and review its targeting rules and trigger conditions to confirm it can still reach eligible users.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"A1-0.初回メッセージ\" with experience ID \"-LfsqZBBDPFWLwcFtxkE\". This flow is currently published and had zero activity in the last 30 days. Unpublish only this experience.",
          "title" => "Unpublish inactive onboarding flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow named \"A1-0.初回メッセージ\" with experience ID \"-LfsqZBBDPFWLwcFtxkE\". Republish only this experience."
        }
      ],
      "cta_text" => "Review inactive experience",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing unused content keeps your experience inventory cleaner, reduces maintenance overhead, and helps your team focus on active onboarding and adoption experiences.",
      "finding" => "As part of routine experience hygiene, I reviewed published experiences that were **published more than 3 weeks ago** and checked for activity in the last **30 days**.\n\nI found **1 published experience** with **no activity** during that period:\n\n- [A1-0.初回メッセージ](https://studio.appcues.com/flows/-LfsqZBBDPFWLwcFtxkE/settings)\n  - Type: **Flow**\n  - Designed to: introduce new users to Attelu with a welcome walkthrough on the analytics dashboard, explain the product value, and prompt them to start using available features\n  - Targeting: shown on the **analytics dashboard** for users matching a **type = 1** rule branch\n  - Goals: **none configured**\n  - Last 30 days: **0 seen, 0 completed, 0 skipped**\n\nThe rest of your older published experiences still showed activity, so this looks like an isolated cleanup candidate rather than a broad delivery problem.",
      "outcomes" => ["engagement", "adoption"],
      "priority" => "medium",
      "title" => "1 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Created 1 hygiene insight after reviewing 7 published experiences older than 3 weeks. One published flow had zero activity in the last 30 days; no duplicate existing insight was found."
}

Errors

No Errors