25362946 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 00:29.952
Run Time 01:35.035
Inserted 6h ago
Scheduled 6h ago
Completed 6h ago (01:36)
Cancelled
Discarded

Args

%{
  "account_id" => "126068",
  "account_insight_agent_id" => "e11d963e-0f0a-41ac-8c9d-9ecc249fd346"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "mQe87Kk31WTrVE3E4QPP94AFEmfYm9evZL2fpX/yy08",
  "recorded" => true,
  "return" => "g1AAAAobeJy1VsFuI0UQzbK7sAQh7pxKEQcYYsfZJAh84bAL7CIQK5ScELLaMzWeXre7h+4eT8yJ30Dib/gKrnwJr7o9tiMW2AuHOJ6e7uqqV++9cjw6Onqjf1fboBdNDLNKRWWwdi/i452VfKgyamdnrVEWz/euv+e15p76hmPDnmKjAzVs2orDkmrjesJCiNoYsswVV1Q72cakbWRvlSHVVZptiZVIUfkFxzCm57U84qx1ZJxdIHarfCRX08Z1nsrOe7aRQte2DuutdyWHcEqdbbu50aFJ4Rwtmdt8xOg1E9+27LfX2TUiOL+h0rCyw52hcZ2ptjnPZRt1gU9zILzfhkclyla0RrR6c1A/b2vQdkFSqdcLST6HW6lYNhzyNlarP3/5NexK6Z1fCmJjAfqtDHTYwf9AVu+XUcn/t2+GKuXpTRS/aqP0Y3oTOEXHUtWVcTbgoxZyhWQsb3cgzQ7wiM4ZQWyPYAq0K7fnee5or2NzCOTzp6TKy4onEzXiyUU1ury8nI/U/KIe1eefXX3C1eTiasJk1QphTp4N9PgSwU7GdC2cSYEbBfKoiiYUmO0p/pcozHDkSh7CUretfJUyJsTeOx+kP5KnUSHSxYQqtQlpA4LOWbpQG4UWZOJ516Ezd2jQbBb4wgn1h1FHw/KNbvY8stILcOcOr5MaOlu52Q79oz9eD/1/wd7zIfb/D+Kk60yCAF72ysaQbw7QQhKhqqHMPQ2A4fillPcI7JtFvk21vr9V/g6dfXqJoShYx81MV/L0wetkmxDdHoubNj0/GKB+T8KXIMJMr1rcKGu/3RykCHSRMmqqBsigN89oA0PfXZSSQJVXOkHg3JyVWiYAWAUtYnbgTNkFcvZgt6hXYT+wypWbDVVeryUHtgu0eoUisohrbSus4/v9754jG0EMCe419bewPSNuUex3rKQpeGXpAi95CXIvXFGkfOEl5ZITqbTPCiiKrQawBV6ZMgSgY7w4P7gNb0VoRQF7Fa0RixcGcSy23hkjNUiMpC7JC5XAmo6PR/TDHTr9+GETYxumZ2chwsjdWLVt2XEYQ7pn0olw9jrNP0MPxDPDR8dEI7pG/6cpfnp8McAxRcqPJ4+vRpPL0fmnRZHefnMgfdnwX/YxWMf2+FPGuLMCo6PKTXHIGFBtL3eAMu/gI5hfc1UusxoVOlNhemUyBPSlKE6egXglWtVns/j8pChOASH4h0A44vmnToOUshfXll7Ps2HoEDrGbqo1m63DubpmL6dqJOT6UdfS1y7CxVYZomHMTGVk9VZYWhRAf7zWcw9Zy4zmOMYf4qI2uacoXmRroo/pW+WXeU5dYxRhT+CFtD1F/8opk8C0DnapQoYIiB0nuzbOoWKjoZfBUkuHgQ6X2/opebWdiMBDUcUiOszalQ4RMpumdO7+QNiR/hR4RxGiDATrIoyc0xSugGCJS8wm6esRrkaLOU9JWTneKzBbVuu18xBAmpMwQ92t7hr9k/N/kGOjxPIhEkhkkFGaIQeKzJxLuTwYLOth6uXL/iES5yArvz/xrEBCOt+Bs/2JleKpgwQSIM5UA3CD5hPlfmZ/kMor5t6YvrhNXJPfJi7BL2dGSeEp9JxLBRwztgOawyQ97Fj0HQ/eLv7xF2xHafc",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "2dB0kSTzoDoUYJLbBWrOV5cz2hTmV6Tj0vQ8Mzckymk",
  "workflow" => true,
  "workflow_id" => "019ddeb5-127f-7e32-b4f9-adf8aa9c9a82"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for a published flow older than 3 weeks with zero activity in the last 30 days. Excluded another zero-seen flow because it had recent errors rather than true inactivity.",
  insights_data: [
    %{
      "action_plan" => "Review whether this helpdesk flow is still needed for the internal audience it targets. If it is no longer part of your current support process, unpublish it to keep your live experience inventory clean. If it should still be in use, keep it published and verify whether the targeting or trigger still matches the team’s current workflow.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID ac4de00a-e03d-444b-ab3f-f1956ed0350e named \"Helpdesk Flow\". This flow has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days and is being flagged for routine experience hygiene.",
          "title" => "Unpublish inactive helpdesk flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID ac4de00a-e03d-444b-ab3f-f1956ed0350e named \"Helpdesk Flow\" if the user wants to restore it after unpublishing."
        }
      ],
      "cta_text" => "Review inactive experience",
      "entity_id" => "ac4de00a-e03d-444b-ab3f-f1956ed0350e",
      "entity_type" => "flow",
      "expected_impact" => "Unpublishing an unused flow will reduce clutter in your live experience set and make it easier to focus on experiences that are actively driving engagement.",
      "finding" => "I reviewed published experiences that were **published more than 3 weeks ago** and checked their last **30 days** of activity. **1 experience** had **no seen events or enrollments** in that window.\n\n- [Helpdesk Flow](https://studio.appcues.com/flows/ac4de00a-e03d-444b-ab3f-f1956ed0350e/settings)\n  - Type: Flow\n  - Published: **2025-04-18**\n  - Last 30 days: **0 seen, 0 completed, 0 skipped, 0 errors**\n  - Designed to do: collect helpdesk or bug feedback with a modal that asks **\"How can we help?\"**, includes a required **\"Describe the issue\"** field, and offers a follow-up Jotform\n  - Targeting: shown on **app.vibrantplanet.net** to the **Product + Marketing Team** segment\n  - Goals: **none assigned**\n\nThis looks like routine content hygiene rather than a delivery mistake: the flow is still published, but it has not been used recently.",
      "outcomes" => ["engagement"],
      "priority" => "medium",
      "title" => "1 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors