19699896 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 2 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 00:00.179
Run Time 00:57.540
Inserted 23h ago
Scheduled 23h ago
Completed 23h ago (00:58)
Cancelled
Discarded

Args

%{
  "account_id" => "22",
  "account_insight_agent_id" => "23ef1529-e75f-4ab6-956e-07669736796c"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "orig_scheduled_at" => 1772665501003516,
  "partition" => true,
  "partition_key" => "9wJekum5uAg2vhxR4iv0rYP35roZQgI2bck5DKQzQtk",
  "recorded" => true,
  "return" => "g1AAAA+seJy1V82OG8cRli3/UjAC+AkaEASQ4yXDn9VaXuSy0kmAFRvxT5AT0Zxpcnp3pnvS3UOKPhh78t2JASNA8kJ+jH0EP0G+qu4ZcrVSoEsuJGe6u7rqq6++KoZ79+69s/tEG683ZfDLQgZZ4d27AR+DGh8PZB60NcumkgbP7/42G4kseyGvlAilErktrQv4qps2yFWlhDbjxtmizcN5lglV6yCkKFShcxlUIdRWmSDW1gkl81I07arSvhQ7HUqxksYoB2MmqJdBDGXllCz2opRNo4w2G1wtTZEJWRRs1OktTLYeh3Bno1zYi71t+Yk8EF4FfyLUZDOB09H8Ml25zG1rwnKtnQ+z0wK+DmMUsLh2thZx6RulzEUYCThc60r5YI0S60puvKg0QMiyZE8Vy5kPy3QJLIo/isPSwhVHS1k2GcwJx+9lpYE5cJStx2/4v/UAwDlVScKdMLQmj2AfHNBeBCfzK0L8hNGXTokXAK68uf55LpwKgBnnCenzgRBiLKa9Ox5JEhydgDNxdXZz/c/5/9yx+OxNywsK5SvAzy4jjB/gIacfqXnF82Dhud5skLIg3UYR3MhW3QQvhpQoCgfMQLZpb8ePRI2HcwECiIe4sWgd74H1zhNRyL1nbhm1Y1p4sSsPRhjIVQtagOXVhOj9UR7kkti2u290RW8+JuDCfqmL/tWD9CrsG0XPH0Rv6Ocf1MtG5Qhiq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Yx4kS8rzdMQLBBeqMDWVDa/AqdJ33RIw8Z50tKqgl4KZgBNGDxZHKl0bUl8Oom8PS9gf029srauU1fGCmCunN2RZBJY2IY3B33m+oh9ltJxp9MeulDfV2lfbKzIUqHJWapTMs1NqZe0Ow31/nvP76q7GM6n87PxdD6eLshGfFqMp6ej88EYHn3+5Is4gyEkg16y4QkcO7ssD5mG5+LPcZFcv/npH93yiI3MnjzpjdioI+TIK1rCW8/O+p1pxlNvUheAx0fQ2Pozd3vaYHDRcaL13bTXlQ7aGqYAe4XE0Tyg0z8SSlu8KAkE5YnGAOp6tbzkfx4k6QX6zdiu1zE9dJ5ZVpDSUkui+0iHOp0pWtVNXtQbt2DgRjHSgO8Yt/Pb0GPD6/WX9s3miz5+9PnZ48kZDXQYc3xQjZhRDl4DHx09PT44nTy+c+7rNEzJdPQtDg2+JVTpaQw5tlUlG0zwcXYDOv08l2VRrdLUEjHRpE/YhfJi8ecub6RDER1UmwifZSeC2iSnkI+cikbZBvUgAwlUomnSso4NbzcY9KPA7SnhrQaDn/5GspkmykN4fdjcjDU/MH3SP1PIpVof1INnc5bM3vWb619YxV8dhKBSniDJy/1Rz7s1MXyY/pxf/hc9c2vQ",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "tor2bnJQjsprxK22q+6+jlYrd6y78uSx6DLKjXyPqjc",
  "workflow" => true,
  "workflow_id" => "019cbb18-f54b-7306-acd0-48a2ac4e7004"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "1) **Make the cohort computable in-product:** emit a dedicated event for each publish with banner context (already happening) *and* add a derived user property your product sets, e.g. **banner_publish_count_first14d** (computed from _firstSeenAt) or milestone flags like **published_1st_banner_14d / published_3rd_banner_14d**.\n2) **Validate causality vs correlation:** once the milestone is trackable, compare Month‑2 retention for:\n   - 0 publishes in first 14d\n   - 1–2 publishes in first 14d\n   - 3+ publishes in first 14d\n3) **Operationalize it:** use the milestone to trigger targeted prompts (e.g., coaching to publish banner #2 and #3) during the first 14 days for new users who publish once but stall.",
      "cta_text" => nil,
      "entity_id" => nil,
      "entity_type" => "banner",
      "expected_impact" => "If the Loops relationship holds, increasing adoption of “3 publishes in 14 days” from **~1% to even 3–5%** could materially improve **activation and retention** for new accounts (and gives you a leading indicator you can manage weekly).",
      "finding" => "Loops suggests a strong activation signal: users who **publish 3 banners within 14 days of first login** (currently **1.04% adoption**) show a **+146.4% uplift in Month‑2 retention**.\n\nIn your Appcues data, you *do* have the right anchor for a 14‑day window (**_firstSeenAt**), and you’re already tracking publishing behavior (**309 unique users published a banner in the last 30 days**). What’s missing is a reliable way to identify the exact cohort “3 publishes within 14 days” inside Appcues without additional instrumentation or a derived counter property.",
      "outcomes" => ["activation", "retention", "adoption"],
      "priority" => "high",
      "title" => "Turn the Loops finding into a measurable “early activation milestone” you can optimize (not just observe)",
      "type" => "opportunity"
    },
    %{
      "action_plan" => "1) **Audit the banner-creation event taxonomy**: confirm which UI paths fire “Opened Banner Selector” and “Create Banner Modal,” and whether “Create Banner Modal” is specific to a tagging flow (vs true banner creation).\n2) **Add 2–3 canonical mid-funnel events** so the creation journey is measurable end-to-end:\n   - start_banner (or click_create_banner)\n   - enter_banner_editor\n   - save_draft (optional)\n   - publish_banner\n3) Re-run the funnel with the canonical events to identify the true choke point(s), then focus onboarding nudges there (e.g., “create your first banner from a template” once a user visits Banners but doesn’t start).",
      "cta_text" => nil,
      "entity_id" => nil,
      "entity_type" => "banner",
      "expected_impact" => "Cleaner funnel visibility typically unlocks fast iteration: you’ll be able to target the right moment in the first 14 days to move more users from “browsing” to “publishing,” improving **activation and adoption** (and giving you a credible path to lift retention).",
      "finding" => "In the last 30 days (2026-02-03 to 2026-03-04):\n- **789** users navigated to Banners (event: Navigation → Banners)\n- **188** users opened the Banner Selector\n- **66** users triggered “Create Banner Modal”\n- **309** users published a banner\n\nA funnel using the events that look most like the “banner journey” shows a major early drop-off (and likely under-counting mid-journey due to event coverage):\n- Nav → Banners: **789** users\n- Opened Banner Selector: **123** users (**15.6%** of step 1)\n- Create Banner Modal: **4** users (**0.5%** of step 1)\n- Publish a Banner: **4** users (**0.5%** of step 1)\n\nThat step-3 collapse strongly suggests **the tracking event is only firing for a narrow creation path**, not that only 4 people attempted to create a banner.",
      "outcomes" => ["activation", "adoption", "retention"],
      "priority" => "high",
      "title" => "Your current tracking suggests the biggest drop happens before users even start a banner—then instrumentation gets patchy mid-funnel",
      "type" => "insight"
    }
  ]
}

Errors

Attempt 1—23h ago

** (Oban.PerformError) CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob failed with {:error, %OpenaiEx.Error{status_code: nil, name: nil, message: "Connection closed.", body: nil, code: nil, param: nil, type: nil, request_id: nil, request: nil, kind: :api_connection_error}}