25072327 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.013
Run Time 02:38.085
Inserted 16h ago
Scheduled 16h ago
Completed 16h ago (02:39)
Cancelled
Discarded

Args

%{
  "account_id" => "22",
  "account_insight_agent_id" => "50b6d9c6-755f-4194-8216-ad2af76c474c"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "9wJekum5uAg2vhxR4iv0rYP35roZQgI2bck5DKQzQtk",
  "recorded" => true,
  "return" => "g1AAABdUeJy1WF2PHEcVNRGG4AjxF0ohQvFoez073xOIxMYQyVICaGPzYqHd6u7qmfJ2dzVV1TOe8GJeEM+8IcHv4Nfw4l/Cubeqe2a8NrB2/LI7/VFV9+Pcc89tf+fOnQ+2d2vjlavw+98PTdVIq3Lh10qU0nlRtGUpcrkTphBNm5barfG4KM1WKGuNdeLT0XA0S4aTZDQXGyf6q9l94Y2QG6NzgU29lqXIWmtV7RPaMJdenoqHVkmPHadClsp6JwpjBd5RW9zET/wQTpUq88YmfKJwjb5W7ufCXeumobdqJWSea69NjTOGL//ytzMBSxshnYChidMrPDjd/ljX+Ln27pLOLuHwXY8/H5HrH8mM1l82paxx/b1/nbfYUSiZrQWOr8hqL+1KkbHOq0bomqP0SlBkncP88KbABgiB8zItlXjyqNvIYaH0uK8RW/VcI8xxsxgf8Y3H6QbPGmW1qjN1Kr5QmWydEoXUZWuVE8iTWEtEoNb1SsjMGufE1YOrE/yRWWZaHJRsRnztlPd4yz3wSla4Q1Zujb1mkxu5Ug73SmdEZupC24qN4YemLnfCtrUT27XCiRwQ8v/li7/Dj+inEw1MguWn4lGBxQaG9s7WBlmoV8pGX3GGw388K3cnwm21x5Z0oIm+rFqdSzjN+BGVyZHVVAEYSuTaAgr0EmIB8OENWlmr5579OKVc/jDk0j2jiw8zLy89nnOWL9RGA1HkGl3/CEZov7vUO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Wuwvot2nhOgnaF66vEEtg+9Q/fwPbuEFUcfsmz9pHmtI8lB2KDlB8cTBjCGM9JXUOYa4r1lJ34TcMUW47jvs4QieokQ9YR6By2SNayWvmQ3QzGxARzgvfP3FL7I19Gj3fojhi19XCIm4oO76FUjMH1EDUVb4oiWRCbnS5YHnnWuvoYdn/wEFLra/",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "2qBsydm8xvnSLC7H3OmBmljsYeGCbjdxKANTzbo5fNc",
  "workflow" => true,
  "workflow_id" => "019dd4d1-a21e-7579-9fc5-20421149a4b6"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Audit each element-targeted step in the published flow and retarget it to stable UI elements that still exist in the current Studio experience. Because failures are happening across `/`, `/accounts-v2`, `/settings/team`, and workflow pages, also confirm the flow only runs where each step’s target is present. If those elements no longer exist consistently, switch the opening guidance to a modal before directing users to the next page.",
      "actions" => [],
      "cta_text" => "Review flow",
      "entity_id" => "dc950f84-4955-46b7-af94-f76971f3e888",
      "entity_type" => "flow",
      "expected_impact" => "Fixing these selector mismatches should bring errors back toward zero and improve adoption of the Captain AI setup journey.",
      "finding" => "**11 errors on 2026-04-27**, up from **0 on 2026-04-26**.\nThe flow was still logging failures on **2026-04-28 (2 more errors)** and was seen by **62 users on 2026-04-27**.\nRecent failures span multiple missing targets: **`#navigation [type] [type]`**, **`[href=\"/settings/ai-assistant\"]`**, and **`#context`**.",
      "outcomes" => ["engagement", "adoption"],
      "priority" => "high",
      "title" => "Captain AI setup flow selector errors returned yesterday",
      "type" => "issue"
    },
    %{
      "action_plan" => "Tighten the flow’s page targeting so it only runs on pages where the Flows 2.0 entry is actually available instead of matching all Studio URLs. Then replace the title-based selector with a more stable target if one is available, since the current selector is failing across unrelated pages.",
      "actions" => [],
      "cta_text" => "Review flow",
      "entity_id" => "c2ea2e85-ff53-4249-a983-49004e8d373a",
      "entity_type" => "flow",
      "expected_impact" => "Narrower targeting and a sturdier selector should stop avoidable delivery errors and improve reach for this feature announcement.",
      "finding" => "**6 errors on 2026-04-27**, up from **0 on 2026-04-26**.\nThe issue is still active with **4 errors on 2026-04-28**.\nAll recent failures point to the same missing selector: **`[title=\"Flows 2.0\"]`**. The flow is erroring on pages like `/themes`, `/signup_info`, `/settings/account`, and `/`, where that target is not reliably present.",
      "outcomes" => ["engagement", "adoption"],
      "priority" => "high",
      "title" => "Flows 2.0 Callout is misfiring across Studio pages",
      "type" => "issue"
    },
    %{
      "action_plan" => "Restrict the rule to builder-specific URLs where the Flows 2.0 navigation target exists, then recheck the selector against the current UI. If the Flows 2.0 target is not stable enough, consider leading with a modal and using the CTA to send users into the builder instead of anchoring the first step to navigation.",
      "actions" => [],
      "cta_text" => "Review flow",
      "entity_id" => "263e7959-f3c9-495a-8ba3-86765ea31462",
      "entity_type" => "flow",
      "expected_impact" => "Reducing broad eligibility should eliminate these false starts and make the Advanced Styling announcement more reliable.",
      "finding" => "**4 errors on 2026-04-27**, up from **0 on 2026-04-26**.\nThe flow logged **4 more errors on 2026-04-28**.\nRecent issues show the selector **`[title=\"Flows 2.0\"]`** failing on non-builder pages such as `/themes`, `/signup_info`, `/settings/account`, and `/integrations/connections`. The rule currently matches **all Studio URLs (`.*`)**, so the flow is eligible even when its target is absent.",
      "outcomes" => ["engagement", "adoption"],
      "priority" => "medium",
      "title" => "Advanced Styling promo flow is targeting pages without Flows 2.0",
      "type" => "issue"
    },
    %{
      "action_plan" => "Validate whether the label text or DOM structure changed in Flow Settings, then retarget the step to the current element. If the label only appears after another interaction, move the trigger later in the sequence or update the custom event timing so the tooltip only attempts to render after the field is visible.",
      "actions" => [],
      "cta_text" => "Review flow",
      "entity_id" => "a3679bc3-4d1b-4128-b0ad-40cb46e53767",
      "entity_type" => "flow",
      "expected_impact" => "Fixing the target timing should restore this contextual help flow and reduce friction when users configure page targeting.",
      "finding" => "**4 errors on 2026-04-27**, up from **0 on 2026-04-26**.\nThe flow added **2 more errors on 2026-04-28**.\nRecent failures are tied to **`#path-label`** with text **“At a specific path”**, including errors on `/flows`, `/settings/account`, and analytics pages. That points to a label or timing dependency that is no longer reliable when the flow tries to render.",
      "outcomes" => ["engagement", "adoption"],
      "priority" => "medium",
      "title" => "Page Targeting helper flow is missing its target label again",
      "type" => "issue"
    },
    %{
      "action_plan" => "Replace the order-based selector with a stable attribute, label, or container that uniquely identifies the intended workflow builder target. If there is no durable element to attach to, convert the guidance into a modal or attach it to a more stable parent panel instead of the first menu item.",
      "actions" => [],
      "cta_text" => "Review flow",
      "entity_id" => "74d3eb07-04e4-4539-91c2-93135ae56bd2",
      "entity_type" => "flow",
      "expected_impact" => "A more durable selector should cut repeat errors and improve delivery of this workflow education flow.",
      "finding" => "**4 errors on 2026-04-27**, up from **0 on 2026-04-26**.\nThe flow logged **2 more errors on 2026-04-28**.\nThe failing target is **`[role=\"menuitem\"]`** with **order filter 0** inside workflow builder pages. That positional selector is brittle and can break whenever menu order or rendering changes.",
      "outcomes" => ["engagement", "adoption"],
      "priority" => "medium",
      "title" => "Email Rate Limit helper flow relies on a fragile workflow selector",
      "type" => "issue"
    }
  ],
  notes: "Compared the last full day of published flow errors (2026-04-27 vs 2026-04-26) to avoid partial current-day data. Created 5 alerts for renewed or new selector-error spikes; skipped one additional 0→1 blip as low-signal."
}

Errors

No Errors