19688011 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.039
Run Time 00:48.131
Inserted 19h ago
Scheduled 19h ago
Completed 19h ago (00:49)
Cancelled
Discarded

Args

%{
  "account_id" => "22",
  "account_insight_agent_id" => "f77385cc-9ee8-4c77-9bb9-c974282e6ee6"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "orig_scheduled_at" => 1772660392398416,
  "partition" => true,
  "partition_key" => "9wJekum5uAg2vhxR4iv0rYP35roZQgI2bck5DKQzQtk",
  "recorded" => true,
  "return" => "g1AAAARNeJxtVE1vEzEQbVUQkArxF+aYSG0SblAJJJA49IIQEgeE0HZqT3ZdHHtlz2a7t0r9G3Dlh/WXMOOkadpy2axn5+PNe8/hvb29/f6lC9nVDefKIqPXGMtjtJTHIRp2MVStxyDn/evPEdYhCESWLCQthRD76Wh0uoAhdtBjYOAIJgZ2oSPgxmXAzroS5oaAgoW4KK9tii0lHsC7zDBe1xnfZbciP0DqPEHsGKK3lGZZEG5rHGU4pyGWZotM/O7NfD45uhvcYu1CDS7AObJpJF2Gvp7PoZMEX8Z/+HIKibhLIcsWgFZQynrod4YcaWaQtGPpYX7BIibAMOzC6JuYCc48Zq4yUag4n4FsXVBLOQZ4OweLgxAhcE2KOR8nWlCiYJQhLccaRQuGTPWSAucZXUp/t87AVJNsVU9Vl+eGsWK65P4gOK+RF1LgeKic3YYONyEeWtoGX2lPw2Qrt2xFyu2HZwsXrPRXmf9+pZWjXuTtssDf3dNxA0tiVK/A2KlSWvVg9UnZ0jornDJo54eECSUMDa4I6hhIBNHSwuz7W6JEtmIQrCW/MC+AxmulYS7fUuzqBkTzIzHPUtwl0k6m8JEMCm6Vc2eggC7tbq5+u6AeXtHN1R/tQrkRmYrIiaDXR1BMYsUVeiebPpIGBOd/xRmNvssNMKhuUQofEagzTuDHt/vhn+OGuc0nMzG48Bmn2Lamozw1cTmTdbV3nt3lz7TtpDhB7oYkUb4opza5mER0PRz42OvvU3GBJ337JNf3dvlHyMa3xE/AEheP3JcgbUyhnZ6oqYptNv8eF/8A4naBCw",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "JH8VQ1nsjTiufhh8rirBcsZSwPDqQieONYs9AopWbQw",
  "workflow" => true,
  "workflow_id" => "019cbacb-01cd-7fa8-9479-830a4727cd3b"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "No action needed right now.\n\nIf you want to continue this audit to the end of the property list (to conclusively rule out older/stale properties beyond offset=800), continue paging in batches of 100 until the API returns no additional properties, then re-check for any properties whose `last_seen_ts` is older than 90 days and cross-reference those against segments/experience targeting.",
      "cta_text" => nil,
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => nil,
      "finding" => "Reviewed user properties with metadata (including `last_seen_ts`) and did not find any properties that have gone unseen for >90 days in the pages checked (offset 0 through 800, limit 100). Because no properties met the “inactive” threshold, there were none to validate against segment or experience targeting.\n\nYou can review user properties here: [User properties](https://studio.appcues.com/settings/properties/user)",
      "outcomes" => [],
      "priority" => "low",
      "title" => "No inactive user properties (>90 days) detected in the pages reviewed",
      "type" => "insight"
    }
  ]
}

Errors

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