25476472 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.214
Run Time 01:03.449
Inserted 1h ago
Scheduled 1h ago
Completed 1h ago (01:04)
Cancelled
Discarded

Args

%{
  "account_id" => "22",
  "account_insight_agent_id" => "48a08726-27a8-476e-a6da-eb73c17bf6fe"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "orig_scheduled_at" => 1777662302651478,
  "partition" => true,
  "partition_key" => "9wJekum5uAg2vhxR4iv0rYP35roZQgI2bck5DKQzQtk",
  "recorded" => true,
  "return" => "g1AAAAbieJy1VN1OE0EUBgF/SoyvcC6MSEJblOAFiTEESyBW0RYkxpjJdPZ0d2B3Zp05S9k73kHfwwfwzkfhSTyzra38JMVEbnZnTs7M+b5vzvloZmbmzmDBWEKf8frnlkNJGMEzSMpYo0HQxus4IehbB8/B4CAtAVMd616K4Eny90T7ahc7W+SQO5ujI40eZJ/QAZ6qtIi0iYESBMt3OuyjQ6O40Ci7BGmiC0dTRhKVoOwJp0bQ4wxF+mRUpT4+N8LnG4OHf5YikoyL6cwSfxYDscVw2BqRp9KE/a+WVMlfxXtcBhLJdeFrodVxfZgPvYKIf2Qh0RGLwTo4m1VEPMYZGuIUnUboGrCjK5Lag7GmHqEnVwwhn599n9QK4EKSQ5LaMLXAPFw4zlCSCyNkMppoK2NOBkmcXQLpDBuBxr0hTB/I3glk50N0TpGs/p2iInuXb85yCsv9g5zrX3qqEpakUrYwJPr8/IVD0V0XB91WR7zv7G3vtltLFUiPBD6xA6GNKHQQpS9TP0SyQJpSDKvHO0GpKRdWb1KYyIoJtu7/xcbqY+MmmuAN6x7udd5st/cOxea7zfan/d2trvhw0DpovRatt5u77e6/iLR+rUjTKlynWnTL6CsZj0Kl+yyhIDylwZzRaYg84P7XVAodjUOLoxCVOY6Dj/A0R8W+InSWc8uG2NpWitKwPVyaIxhoStgl0vHAT1yhavm+NmHOeD37Y5spRmxLQx+64j+UhIFx4yla4cnkQEG2Tk6qY4xWKtYhWviRy/B8BbhOB4Nq1Gpt6VkTRANrq+dn316s8gSXbBSx3ajVpvQm1OHzR42DL08TotxvNJue2AptQ+a5KtA3lM2arDkxId+cIG9WVF55lE4lL6cUWb4KY9pj3w6uaVWXqy6yBfHt6Ic9lTttHTdM2MwnbN8X5+TJtBceGnN1OrRc1YI2z62jwvC1R78BRRBVeA",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "BcoUo8Gh2za5kkU0LApcncH4ZPbdev2EcCpjXCoxHrk",
  "workflow" => true,
  "workflow_id" => "019de4ee-19bb-7eec-a16c-58c7ba4c4909"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for 2 newly eligible stale visible group properties after excluding the one referenced property and properties already covered by active group-property insights.",
  insights_data: [
    %{
      "action_plan" => "Each property above has a quick-action button to hide it from the segment builder. Hiding is non-destructive — property data is retained and the property can be made visible again at any time.",
      "actions" => [
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'account_feature_S5_USER_PROFILE' and set show_in_ui to false.",
          "title" => "Hide account_feature_S5_USER_PROFILE",
          "undo_prompt" => "Update group property 'account_feature_S5_USER_PROFILE' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'account_feature_WORKFLOW_ANALYTICS_QUEUED_EMAILS' and set show_in_ui to false.",
          "title" => "Hide account_feature_WORKFLOW_ANALYTICS_QUEUED_EMAILS",
          "undo_prompt" => "Update group property 'account_feature_WORKFLOW_ANALYTICS_QUEUED_EMAILS' and set show_in_ui to true."
        }
      ],
      "cta_text" => nil,
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Cleaner segment builder with only active properties",
      "finding" => "Found 2 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen 30–60 days ago:\n\naccount_feature_S5_USER_PROFILE - [View](https://studio.appcues.com/settings/properties/group?search=account_feature_S5_USER_PROFILE)\n\naccount_feature_WORKFLOW_ANALYTICS_QUEUED_EMAILS - [View](https://studio.appcues.com/settings/properties/group?search=account_feature_WORKFLOW_ANALYTICS_QUEUED_EMAILS)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 2 stale group properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

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