21108228 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 2 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.151
Run Time 00:29.613
Inserted 20h ago
Scheduled 20h ago
Completed 20h ago (00:30)
Cancelled
Discarded

Args

%{
  "account_id" => "94742",
  "account_insight_agent_id" => "bb4afd1a-eeeb-4f09-b1c1-eb6db92f324d"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "orig_scheduled_at" => 1773778200680933,
  "partition" => true,
  "partition_key" => "q7MxR6YwNMgLx3r8Y66kpjyX7teh/ISLSKbu/XIHazs",
  "recorded" => true,
  "return" => "g1AAAAn6eJx1VtFu4zYQTIMLevWhaD+BCAoUMGw36aXoJW9pgEMLHIrCyD27lLSyeKZIlaTi+LP6e33q7NKy5Tb3YogSuZzdmZ11Ojs7O99eOJ8otnj+5yGQTlSpa2VcNOsmKV0nCirQk6GtcWvlHamgXeVbu1ORLJW8n547CoZcSXcqNaS6vrAmNvhide/KptOVuqy9S4jbYGdaXKrfsIjKmidSRZ9UTMZa1UeKqrO6pMbbCjeXOEQuzZS2dv5x+UElHdaUAGWm6InCbp5MS6oO9FeP+3fY6CrlvFp7beNMtXrDsE0SXKUlHSgirTIZ73RhCSBiT4vt1/uM46rSSVtU44uEnzdclzd5+wrAHNavlu99kHjT6Wfyu5xO5W7ibREXN9qtkVpBtQ+oINldriYj01HpXAhg830osR85U7ibTK4XaklSkFzYUWkSPSe1NalRsaPS1Kaccf3CvNYlB7e6IBtxTCdASWUjEe5b4Cu1Uw8+OETCmxh9aTRnOCJypmKPI4JNyjaiMpmEc1Jo3YLkA2xr3CYuJj8u1McOZcyYD+e+j3mDil6RRnCTqFWdNy4BpsdFkJ9VDdlupgrvN8JyS21BITYGL1F2kI4yVyDRuIwZxCUCKl+rNTnO7iUFLSZvF+p3HYLfCqqDjqAd37K8FOQlOKTQmunagkwSXCe8sHBbDxkx1Lq3x1pZv15TN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"workflow" => true,
  "workflow_id" => "019cfd6b-6868-73d0-9191-9090650bca43"
}

Recorded Output

%{
  notes: "Created 1 insight after reviewing one randomly selected experience: the published launchpad \"font inherit.\" It is live but still uses placeholder content, all-URL targeting, every-time frequency, and no goals, making it the clearest actionable issue.",
  insights_data: [
    %{
      "action_plan" => "For the **launchpad \"font inherit\"**, make these changes before relying on it as a live resource center:\n\n1. Replace the placeholder text with specific, user-facing labels that match the American Cornhole Association experience, such as a clear launchpad title and named resource links.\n2. Update the launchpad's links so each item points to a real help, booking, membership, or event destination instead of generic placeholder content.\n3. Narrow the targeting from all URLs to the pages where a resource center is most helpful, such as logged-in member or booking-related pages.\n4. Reduce frequency from every-time exposure to a less repetitive setting so the launcher does not feel noisy.\n5. Add at least one goal tied to the launchpad's purpose, such as opening a key resource or reaching a booking/help destination, so you can measure adoption impact.\n\nRationale: a launchpad works best when it is contextual, clearly labeled, and tied to measurable destinations. Right now the current setup risks banner blindness and weak engagement because users are being shown a generic resource center everywhere.",
      "actions" => [],
      "cta_text" => "Review launchpad",
      "entity_id" => "7f09ee14-198d-4300-99fe-fafd8bf0ee90",
      "entity_type" => "launchpad",
      "expected_impact" => "Tightening the content and rules should improve engagement with the launchpad, reduce unnecessary repeat exposure, and create a measurable path to adoption of key ACA resources.",
      "finding" => "The published launchpad **font inherit** appears to still be in a template state.\n\n- The live header is **\"Resource Center\"**\n- The main section label is **\"Block Title\"**\n- The only listed destination is **\"Link title\"**\n- Targeting is effectively **all URLs** using a catch-all regex\n- Frequency is set to **every_time**\n- There are **no goals configured**\n\nThis combination makes the experience low-value for end users: the content does not communicate a clear purpose, it can appear everywhere, and it may reappear too often without any measurement of whether it helps users discover important resources.",
      "outcomes" => ["adoption", "engagement"],
      "priority" => "high",
      "title" => "Published launchpad is live with placeholder content and broad targeting",
      "type" => "issue"
    }
  ]
}

Errors

Attempt 1—20h 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}}