25362388 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 01:38.166
Run Time 01:35.643
Inserted 1h ago
Scheduled 1h ago
Completed 1h ago (01:36)
Cancelled
Discarded

Args

%{
  "account_id" => "59710",
  "account_insight_agent_id" => "deb6aea8-6a89-4400-9dab-33d03364e598"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "ok1GjcYvsY/B0s8SaMp7zV0H4oyCkXto4MltoxPrSew",
  "recorded" => true,
  "return" => "g1AAABTneJzVWNuOG0UQzZ1kI8QHIKEmQkCsHd+zu94nIJtAhERCNhGKELJ6Zsp2Z2e6h+4ee80/8cQbn8EDH8IXcKpnfAl4FwttEpCirGemu7rq1Klb+0uXLl2ZXdfGk8vx+4/7lqSnVHTEZD5WpEko7dR44kVipmSVHou+KMo4U26CZXRa4CXphJwwWUpW+InUoidmRCdOzJSfiJ/IGlE6fJOJV1Pl55CJdSQy6bzotUUq564pHpwmWZlCaGZm0dRkZU4iLr1wXmVZFPYStNCetBdSp8JAO7LW2MjobC5G2MfHe5HLudAESamSY20gIHFshyeJXSNR6toCmNOcvVtb6Iap9DIDCpc9/rvNeNzmY40eFpnUeL7881OaKpoJkskEEmulVigEvVJKVEpiNiEYaYWqTRCuLApjvRNSZLwtYPLSlFbTvLmz02mKR6OAy5o85YQ2QESPsdZSRlOp/e7KApbuDb6kJVYDQO8ZaGjhVF5kajQHTGPDfsulYuwkxDZ3uuEwVm1iyiytNYwpaLYr2NXYGtBkjby0Y/KikGMSxlaaFxLOrfbRqXJsF479yxY+2JYZ6FGtzKUHciBZJryVo5FKmju9pviaqBDgoF84eBeKnFAQVIAtMjas1tJs+LbUkOqCCWSnxKeL2h9FaQvjqMkefKfyoGO/XmO/XuO3VxMv+e+t5wuJ/HSjsCYvPDv6s+euPt0aQOuHtfMEEKjpx1+XCg3XfOaNyd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TF/YlgWAVMpi0mXsgA3oK6XRYtTmYNvH+m6LJ4LKcdba5tauxHRJ0q/Cqjky4Mw2a8V9jBtIz3ClmWphtprTCVpk8mCo8g9ATUGJ5f2hHyRSeSkCqhtcFqWuHPAWSX5c/FZZaHWppLRIvB3HZH7i/V/J1pdzdbKoZcOOStcJDQaxxK5/AUbflzDsYu3D5GfQEu+kQnAVW+fcgorOX6eLKkljqSX/FmGvMfp6gtVZYbvjD0JyezfUWwrSHdCQ4J/yElQdFWW6kJwyHvcK+Uw3IPF4IaqELLkleWyABagCCwL0Azq1+UBOdvRuErYoSasLp9+LGW4TgqxHMrOTUiAPRTuVq7wm51VgQq1GCdy7TW6quOFVcaiEodmEK2AKvNX25v7Z90tTth53INBn+Ut4gjarorUAqk8XPSALEE0MC3p5Z/jUgRi",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "bo/sNIJy6z1K25Lp9zRCW96GeyuCGCg3nJHHHUJl8k0",
  "workflow" => true,
  "workflow_id" => "019ddeb5-126f-7309-a92d-9e7a0050c0a8"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Review each inactive experience and decide whether it still supports a live user journey.\n\n1. If the experience is no longer relevant, unpublish it to reduce clutter and simplify ongoing maintenance.\n2. If it should still be live, verify that the target page or user path still exists and that the targeting rules still match real traffic.\n3. Keep test content, like the pin above, unpublished unless it serves an active purpose.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 295a7c32-1abe-48b9-bb2f-239b601c317f named \"DP - How to add seats - 29\". This flow had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days and is being flagged as inactive hygiene cleanup.",
          "title" => "Unpublish inactive add seats flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 295a7c32-1abe-48b9-bb2f-239b601c317f named \"DP - How to add seats - 29\" after the accidental unpublish."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID cb8e1401-161a-4174-99c4-a72007ee34ee named \"DP - Invite & Edit Access - 28\". This flow had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days and is being flagged as inactive hygiene cleanup.",
          "title" => "Unpublish inactive access guide flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID cb8e1401-161a-4174-99c4-a72007ee34ee named \"DP - Invite & Edit Access - 28\" after the accidental unpublish."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin with experience ID 94573c1b-0624-4726-9b22-7d5430c2ea81 named \"Testing\". This pin had 0 seen, 0 completed, 0 dismissed, and 0 errors in the last 30 days and is being flagged as inactive hygiene cleanup.",
          "title" => "Unpublish inactive testing pin",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the pin with experience ID 94573c1b-0624-4726-9b22-7d5430c2ea81 named \"Testing\" after the accidental unpublish."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published checklist with experience ID -N6OYQSxD826GPrx9xO9 named \"Onboarding\". This checklist had 0 seen, 0 completed, 0 skipped, and 0 dismissed in the last 30 days and is being flagged as inactive hygiene cleanup.",
          "title" => "Unpublish inactive onboarding checklist",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the checklist with experience ID -N6OYQSxD826GPrx9xO9 named \"Onboarding\" after the accidental unpublish."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Cleaning up inactive content should make your published inventory easier to manage and reduce the chance of outdated experiences resurfacing, improving ongoing engagement hygiene.",
      "finding" => "I reviewed published **flows, pins, and checklists** that were published more than **3 weeks ago** and found **4** with **no seen events or enrollments in the last 30 days**.\n\n- [DP - How to add seats - 29](https://studio.appcues.com/flows/295a7c32-1abe-48b9-bb2f-239b601c317f/settings)\n  - Type: Flow\n  - Designed to guide users through adding seats on the **/subscription** page across your production, staging, and dev domains.\n  - Signals reviewed: **0 seen, 0 completed, 0 skipped** in the last 30 days.\n- [DP - Invite & Edit Access - 28](https://studio.appcues.com/flows/cb8e1401-161a-4174-99c4-a72007ee34ee/settings)\n  - Type: Flow\n  - Designed to show users how to invite team members and manage access levels on **/members-settings** across your production, staging, and dev domains.\n  - Signals reviewed: **0 seen, 0 completed, 0 skipped** in the last 30 days.\n- [Testing](https://studio.appcues.com/pins/94573c1b-0624-4726-9b22-7d5430c2ea81/settings)\n  - Type: Pin\n  - Designed as a simple pin with the text **\"Testing\"** on the **/search** page of your dev marketplace domain.\n  - Signals reviewed: **0 seen, 0 dismissed** in the last 30 days.\n- [Onboarding](https://studio.appcues.com/checklists/-N6OYQSxD826GPrx9xO9/edit)\n  - Type: Checklist\n  - Designed to support onboarding tasks like **Save Your Search**, **Follow a listing**, **Revenue & Production Data**, and **How Bidding Works**.\n  - Signals reviewed: **0 seen, 0 completed, 0 skipped, 0 dismissed** in the last 30 days.\n\nThis is routine content hygiene: these experiences may be tied to retired pages, outdated workflows, or segments that no longer qualify users.",
      "outcomes" => ["engagement", "retention"],
      "priority" => "medium",
      "title" => "4 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Created 1 hygiene insight covering 4 published experiences older than 3 weeks with zero user activity in the last 30 days. Excluded low-volume but still-active content and one error-only flow that may need diagnostics instead of unpublishing."
}

Errors

No Errors