19807494 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 2 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 00:00.070
Run Time 01:06.995
Inserted 12h ago
Scheduled 12h ago
Completed 12h ago (01:07)
Cancelled
Discarded

Args

%{
  "account_id" => "22",
  "account_insight_agent_id" => "24b7d62e-28d4-4e9c-879e-3fd9588ce8be"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "orig_scheduled_at" => 1772746619670453,
  "partition" => true,
  "partition_key" => "9wJekum5uAg2vhxR4iv0rYP35roZQgI2bck5DKQzQtk",
  "recorded" => true,
  "return" => "g1AAAAVXeJyNVM1uGzcQdtoEbVQUfYU5tIC89W5lyVLi3Iw4BXIoCsToWZklZ7WMKHJBcqXsJfA7BD0UaN+nz+En6QzXqhG0QHtZkDv/3/cN08nJyaPD18ZFs2lTXGtMaOVf4s9kx5+vUCXj3bqz6Pj+6M+rXpsEqSWIiboIxsHd7e8/Wn+IMK9mfPkIV3qPTpGGmzRY4zZ3t39wBCbAlFC1kDyQpR25lOMl2S+vX0zOK3hD5R6t4T4ISFylyN3tbxEShg0liByokg8SN/g+QBe87nOPnAOmR3sE3yRyUAfCLSCfg9hVi25D8bSazCt43cCDeyA7ACfRg8OdUaAsxgh8Jk4V4Prnn7iXwJX6QGcQDyaNg8SEtSVovd9GmFK1qc5AkzaKR9DwVhAti7cyeTB1n7g2oNNc7n6gI5LVZFHBVe6z7ziKYTtjr1K1pLZAIUiTye88nw5SWHnXmLDLCZTvXZKcfXDiBVNuuSYm5TTbu2B8KDUOUCOPbBxVQu6XKuE60ft0+NwZK3+eMicmDWuj5fbtfLWgZ5fLy7JZqMvy4nKJ5fMaF+Xz1bPVknBxfrGaZ5Xch6WhI7k/bri0HL6h9x0DTHptdh1LSf79+oaYMZ7vgcwGjWVcI8TW91YDOwe/JwbSmj2FQdgxWBvLRWDa0IFRGiEZ0eS6DLhlBo1TzHjkVNofHDNGuANyG9xkvf2g/K6zJHKJ0HBlQUeazXh80RinuTER+oeX7IlB2iyK5AW76Xw2X5WzRTlbnhaFwCzRRdEF2hvfRzgQbT91vGDHs5GCvrYmtqwJKcdR/7k1ML0mBZxqecoLxAVb1DlVbTasYd6FzmxJFuGIY8kwZdn9jZuJsWcspn2UhPeVX2XkOCHGUT3WR8mHe6Yhq1lgYAEzPr6Blzc3/2SKN2hSwphJ1uZh4hdc4bwo/t26FOs8W69xKJnjUZbjXorx+/PZ7LuiyPL0fWK+KMqT9Jn8mTwwma/yOO1R2HyXA7LOWSNZgy2/aXJ4wtK0WZY3n4xyv1PaMzOM2cjx8Vn5X2/aUeWPj7p/gpZCevcXwUTH5A",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "6rNGN2qjPFtvsYL7yA10RdqSWNe2RES6jhx0KUQsgmA",
  "workflow" => true,
  "workflow_id" => "019cbfee-bb15-7f97-94e8-4e9941cadebc"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Audit the steps in “Flows 2.0 – Advanced Styling” that attach to elements in the UI:\n1. Re-validate each step’s target selector in your production UI (selectors often break after UI changes).\n2. If selectors rely on dynamic class names or DOM structure, switch to stable hooks (e.g., dedicated `data-*` attributes) and retarget the step.\n3. After updating, re-check errors tomorrow to confirm the count returns to (or below) the prior-day baseline.",
      "cta_text" => nil,
      "entity_id" => "263e7959-f3c9-495a-8ba3-86765ea31462",
      "entity_type" => "flow",
      "expected_impact" => "Reducing selector failures should improve delivery reliability (fewer errors) and typically increases downstream engagement/completions for the flow.",
      "finding" => "Comparing **today (2026-03-05)** to the **previous weekday (2026-03-04)**, the published flow **“Flows 2.0 – Advanced Styling (Dec 2025)”** had the biggest spike in selector-related delivery issues (using flow **Errors** as the closest available indicator of CSS selector failures).\n\n- Errors on 2026-03-04: **1**\n- Errors on 2026-03-05: **2**\n- Day-over-day change: **+100%**",
      "outcomes" => ["engagement", "activation"],
      "priority" => "high",
      "title" => "CSS selector errors doubled today in your “Flows 2.0 – Advanced Styling” flow",
      "type" => "alert"
    }
  ]
}

Errors

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