25367364 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 06:36.697
Run Time 01:26.913
Inserted 17h ago
Scheduled 17h ago
Completed 17h ago (01:27)
Cancelled
Discarded

Args

%{
  "account_id" => "93381",
  "account_insight_agent_id" => "bd5d4b40-43bd-4098-a258-f4800b84d3c8"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "Yxrz5MjxK5HR5wF1xMW/IxAYQacQEhzgshpjTG6vLCE",
  "recorded" => true,
  "return" => "g1AAABr0eJzNWd2O20QU3tKWQhHiHpA4ILWFaJ04zo+T5arabavyo5aqlUAIbSf2cTJdZ8aaGW8a3ocbHgAuuOMFeCXOGedvadJmRbbam8Qej2fO+c43Z745dnt7e+9MPpTKyuHI2eNUOJFT2xVHPx+M+UckTmp1XORC0f2Ve0/wVOIE3EhayKV1ICwYXTqpEJIchSqLOjzMqANaBHxZoJGoErQgDIJFYbUS+T44iSk4DVphoLMMRJLoUjmw0pWCp7T7oA0IOaZ+gqYp09k4U12C0pBrNUTjZ0gcj2RQJKN9KFVRDsiyEZsw5gcniAW/ZcjgUwSpTlE5baaQlMbQZR2+5R5CTVfsrfpqlU9Bem/gVzQaGI5T6ajR0kCO3pbsD72cesOsk3k+N0p6uwYIpWUnhkIqsFqrOiN7o0LWMt7vMt7XuPVq4gT/v/9s7gbfvVsYPS4cB+DxM4KVzaGmtEzcsS2LQhu34nciCjGQOVtJ05/BA2bXZM4EB5DlegJKMMR3ngiZQy5KlVBPrXMnC//8DkykG60i8/AIOv02ikG/FbQH2A3azVYU9DtZO2i1sTvoRTHSszo8ZZL4OSbEkuXUWkEURq2gGQVhx0M3EimExA5U+/SfkLM5Okz5xp7IouBL7hcCGqMNY+/dyQUxsBVCKqa2Ds/OuOoDuGI2x/JrSDWRx0GKPAFFyMfiupMuR776YjnGJkD8sihVqo8XUdn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2Xuz8+XgNdnZEecPTZ25mOje8UYip9z4jJEviGeU7mSBhx4Cm0vginUecHeP22RC8QRSV84RnopWj9cGzzDuQJCO0zTrcNpwftoBtm9PEuWGL11Muy8WQ+kiVaONxmDspFVFo7KudM6CqJE+sOkUzBTvmBYxjgjRY0GxeCOWRazVL+SAtKc8J2l3Gejb762E6I3a3wGob6XturPhUsiOslKDteUL59P9gdF4JtgVu2wiy8+E2k85rcGMwtGMXa7VOeAu4pH50+wjuc2GfNiWu3xOW7BfvEJo6ZvIlvetr+ORj6b3z2Q/pZ1479+/NbVyH24p+2AKSbdTEeSHxgu4NkESdW8ssk2VoqqRO0eZ9PDCY+02+8Dt8lddXVuArvPovEF7l0Ebt9Y//gMItN5f7eqWDaDptSMl4QU3qS5bjs0LwcMOmvtyg1conCLZzuafPBSmPc42lkh9aWlvii8l1SsdeX13ZOzTofW0uJMXs8w/Rg3zmFLrJCp2nrG/8bDP94BWj/zLCqqGxENGNmYJuvE4633tJ4iv12pw/DRXCkGUz7b46roUBLcQonutwEpqC+MqaSzJnq3bwvu57pU1JQQcLoBbaSVis/wss7d/G",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "wT9SbQnX/z4axvhHCCgdOAPwyDk/yv9WikDC39uWo2w",
  "workflow" => true,
  "workflow_id" => "019ddebe-3a14-7cf9-95a8-0fce6e1b7026"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight covering 6 published experiences older than 3 weeks with zero seen/completed/skipped/errors in the last 30 days. Excluded one separate flow with zero sees but 27 errors because it is an error issue, not a no-activity hygiene case.",
  insights_data: [
    %{
      "action_plan" => "Review this list as routine cleanup. If these experiences are seasonal, tied to one-off account situations, or aimed at audiences you no longer expect to reach, unpublish them to keep your live inventory current. Keep any experience live only if the zero activity is intentional and you still expect it to be used again soon.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish capability to unpublish the published web flow named 'Rail launch tooltip flow' with experience ID 594eab93-4be6-4132-95f4-34e6b827eb93. This flow was published on 2023-12-05 and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only; do not delete it.",
          "title" => "Unpublish Rail launch tooltip flow",
          "undo_prompt" => "Use the product_support publish capability to republish the web flow named 'Rail launch tooltip flow' with experience ID 594eab93-4be6-4132-95f4-34e6b827eb93 so it becomes live again."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish capability to unpublish the published web flow named 'Downgrade account - QXLC' with experience ID 23b12a43-1623-4e72-a003-3a7a9a3c0ce2. This flow was published on 2023-09-25 and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only; do not delete it.",
          "title" => "Unpublish Downgrade account QXLC",
          "undo_prompt" => "Use the product_support publish capability to republish the web flow named 'Downgrade account - QXLC' with experience ID 23b12a43-1623-4e72-a003-3a7a9a3c0ce2 so it becomes live again."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish capability to unpublish the published web flow named 'Fake Account - Ying Chi' with experience ID 887f7e29-a27c-415f-a967-081581c242ee. This flow was published on 2023-07-05 and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only; do not delete it.",
          "title" => "Unpublish Fake Account Ying Chi",
          "undo_prompt" => "Use the product_support publish capability to republish the web flow named 'Fake Account - Ying Chi' with experience ID 887f7e29-a27c-415f-a967-081581c242ee so it becomes live again."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish capability to unpublish the published web flow named 'Fake Account - Danny Gutmann' with experience ID f53a373a-79d1-471b-97db-597888568ee2. This flow was published on 2023-02-21 and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only; do not delete it.",
          "title" => "Unpublish Fake Account Danny flow",
          "undo_prompt" => "Use the product_support publish capability to republish the web flow named 'Fake Account - Danny Gutmann' with experience ID f53a373a-79d1-471b-97db-597888568ee2 so it becomes live again."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish capability to unpublish the published web flow named 'March/April Coupon - Out of Reach Users FT & FTE' with experience ID 180ff30a-cd6a-499c-8b04-952f4358c0c6. This flow was published on 2022-12-07 and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only; do not delete it.",
          "title" => "Unpublish March April Coupon",
          "undo_prompt" => "Use the product_support publish capability to republish the web flow named 'March/April Coupon - Out of Reach Users FT & FTE' with experience ID 180ff30a-cd6a-499c-8b04-952f4358c0c6 so it becomes live again."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish capability to unpublish the published web flow named 'June Coupon' with experience ID 7085349e-502f-4a7c-aed7-b8ff4a2f9f15. This flow was published on 2022-06-14 and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only; do not delete it.",
          "title" => "Unpublish June Coupon flow",
          "undo_prompt" => "Use the product_support publish capability to republish the web flow named 'June Coupon' with experience ID 7085349e-502f-4a7c-aed7-b8ff4a2f9f15 so it becomes live again."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing stale live experiences reduces account clutter, lowers the chance of outdated messages resurfacing, and makes it easier to focus on experiences that are actively driving engagement.",
      "finding" => "Routine hygiene check: **6 published experiences** that were all published more than **3 weeks ago** have had **no seen events or enrollments in the last 30 days**.\n\n- [Rail launch tooltip flow](https://studio.appcues.com/flows/594eab93-4be6-4132-95f4-34e6b827eb93/settings)\n  - Type: Flow\n  - Published: **2023-12-05**\n  - Designed to introduce the **Ocean/Rail mode and status filters** on the shipments page for a targeted segment on `erl.bluecargo.io/shipments`\n  - Goals: none\n- [Downgrade account - QXLC](https://studio.appcues.com/flows/23b12a43-1623-4e72-a003-3a7a9a3c0ce2/settings)\n  - Type: Flow\n  - Published: **2023-09-25**\n  - Designed to show an **account downgrade/payment failure notice** and direct the **QXLC** account to upgrade or contact an account manager\n  - Goals: none\n- [Fake Account - Ying Chi](https://studio.appcues.com/flows/887f7e29-a27c-415f-a967-081581c242ee/settings)\n  - Type: Flow\n  - Published: **2023-07-05**\n  - Designed to flag **incorrect contact information** and prompt a very small email-targeted audience to **schedule a demo**\n  - Goals: none\n- [Fake Account - Danny Gutmann](https://studio.appcues.com/flows/f53a373a-79d1-471b-97db-597888568ee2/settings)\n  - Type: Flow\n  - Published: **2023-02-21**\n  - Designed to flag **incorrect contact information** and prompt a narrowly targeted audience to **schedule a demo**\n  - Goals: none\n- [March/April Coupon - Out of Reach Users FT & FTE](https://studio.appcues.com/flows/180ff30a-cd6a-499c-8b04-952f4358c0c6/settings)\n  - Type: Flow\n  - Published: **2022-12-07**\n  - Designed to promote a **50% off D&D Fighter plan coupon** to a fixed list of users and send them to plan settings\n  - Goals: none\n- [June Coupon](https://studio.appcues.com/flows/7085349e-502f-4a7c-aed7-b8ff4a2f9f15/settings)\n  - Type: Flow\n  - Published: **2022-06-14**\n  - Designed to promote a **25% upgrade offer** on pricing-related pages for a very small targeted audience\n  - Goals: none",
      "outcomes" => ["engagement"],
      "priority" => "medium",
      "title" => "6 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors