25160132 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 2 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.637
Run Time 04:20.472
Inserted 44m ago
Scheduled 37m ago
Completed 32m ago (04:21)
Cancelled
Discarded

Args

%{
  "account_id" => "143646",
  "account_insight_agent_id" => "5bc285f5-14ab-455d-a62a-593874dee9a7"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "orig_scheduled_at" => 1777439400832280,
  "partition" => true,
  "partition_key" => "2sACrv4HpWMRQdBn98kjVcSZ7skR2R/eBSBR1ZfEEm0",
  "recorded" => true,
  "return" => "g1AAAD2ueJzVW1uP4zQU3uXOIEDilReLl2VX685ltSvuF62EWIQQIC4PCFVufJp417GD7UwJAgmB4A/AL+Rn8MSx00nbNLMkrWemfZhOczvn+z4f2+c4rrt27doTsxeFsiLNnB1z5pjEc9cdfryQ+w+WOKHVuJBM4fH1h19lQKbCWEeOj0hhdAHGCbAkY6dAfihF8ojWj5BJ6ZxWljhNMsGBuAxyIhQXp4KXTMpqRLwxAzkTSqiUnBydLFtMGNoA/ywHhU8bXaYZuc8Kh/eTDx+QSUUUy4FoQ8oCoQMnOVPBNNH+CSDffW3BLBstWArfv545V9i3Dg+tK7nQI1YUSQl2lOj80IJzCMYeLh46LNHIzRH5WHAPU1iitKIcrDMlUkXe//z695mTingR/U0GPFAExZT/qxZ3zJnlDFU5FVZMJBCWelbMhTudyGHk5X+21tL6RjnwjfKUP/tk4lj4/2XpG+XaM2g5L5z/+u7XQQlSLvGuyA2WJLpU7gG/EdAgSWIzPRsLNS6Fb6Epk7Z2+bQTToL/9tLHvtmaR0M4lIrr8cLdOxu6Q+Vg1IfPh90OxvMm+0ibfDyE0yuB08rjXbw+2MJtb27f9nByojgVqigdflKMaJprzuQQxq+vM+422qXDN9Eh9lbnkx6u75i56yGCvLouSGOnS4MHMYBEpc04p37UHBQHHbQbO5vS/l8gvWn/3sP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gROApfW/s42tl+/liEERTQaqKZCaoqmDVdbDfa+zxwEXjXG0i85eCC5pBPwOwG7XOwRWBtM2a8Xf9VJ4JJtM0F249UYFPwEXXbq1RzKOgIOnmryCYBG5at/OYzH8rtmeqSlnUumUAE/YJNpwvEILDRXLUfkTYc9rZaGUhMKdwOjt/nIUPGo9HIv8c7fuOYMM7FfL0bpEjDLsWlV4IsMdpaIiFlSUUw2nIyFSC5vU1KnAMZB07PXkv6VwBgmutc2FxYi4ZbF7xrHV5goqOpkDC/svLy8N7RP7/+tfr+cCs1Qhws1gGU30FKJyVPwdndDutNkW8b2S2/aysne6XaIPRRlHtsvrwH2m2MP4p6SAtrq3wfumYfqFE0WRrQT7UslQMczfdAoMG4I6l1VrvsmVjDYEfRql7SDEnCYkVrD8QajLutVtixIWxtyOfYNMmYlGgMmn4dn2sfr0OQzjK45Hcw26C5uZzm3fFp3r1+ad5j2rV/yFzRYvrFYo89vazUC3swDmwCPYpm21Tpe6DrRdGLov3M1C1er8HvgZr9AQ8Z/C9vAWITFIOnsaUx7oqmrhaCQQzWm/mSCawDuBk2pOvSoSOw9fb0s9Uxf/BUJtJsdY/+jXqz+MnxyXkbxesf+4bH/fb1sJ1dF4U2rlRo9+HsaaVd2IV+/fB+2EfIyXGzF59mVSpAAZn/JJmg4OgAYyiD5BFCn7s9+9Vs2329eOQy5vOHkDqMyBzyyZutZ1dQ45W3yV0yAwMr29rDkhSyDResE1IimCkeqKTe5b7Y4W5vE+yspx6k16dZM0tK63S+7C7snZdInlck0adobW5K2LBhM/y8uF4jwytnv84e/QfF8HsH",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "fAULHDjlwhGZS6f7kgucASeqOmPYLGkTesxMm0AFIDw",
  "workflow" => true,
  "workflow_id" => "019dd7a4-e380-7061-a788-562c31a98157"
}

Recorded Output

%{
  notes: "Created 1 property-hygiene insight after rechecking stale visible user properties older than 30 days. Found 229 stale visible properties total; 5 were auto-tracked and 12 were still referenced by experiences, leaving 212 eligible custom properties not already covered by existing non-dismissed insights.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 202 properties can be hidden through Captain AI by name or updated manually on the [User properties page](https://studio.appcues.com/settings/properties/user). Hiding is non-destructive — property data is retained and any property can be made visible again at any time.",
      "actions" => [
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'accountId' and set show_in_ui to false.",
          "title" => "Hide accountId",
          "undo_prompt" => "Update user property 'accountId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_",
          "undo_prompt" => "Update user property '_appcuesForm_' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_2nd-input-in-the-modal' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_2nd-input-in-the-modal",
          "undo_prompt" => "Update user property '_appcuesForm_2nd-input-in-the-modal' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_3rd-input' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_3rd-input",
          "undo_prompt" => "Update user property '_appcuesForm_3rd-input' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_add-email' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_add-email",
          "undo_prompt" => "Update user property '_appcuesForm_add-email' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_before-you-go-what-are-the-areas-we-can-improve-in-resilia-academy' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_before-you-go-what-are-the-areas-we-can-improve-in-resilia-academy",
          "undo_prompt" => "Update user property '_appcuesForm_before-you-go-what-are-the-areas-we-can-improve-in-resilia-academy' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_by-completing-this-task-your-are-helping-advance-one-of-the-following' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_by-completing-this-task-your-are-helping-advance-one-of-the-following",
          "undo_prompt" => "Update user property '_appcuesForm_by-completing-this-task-your-are-helping-advance-one-of-the-following' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_capture-a-small-update' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_capture-a-small-update",
          "undo_prompt" => "Update user property '_appcuesForm_capture-a-small-update' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_comment-optional' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_comment-optional",
          "undo_prompt" => "Update user property '_appcuesForm_comment-optional' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_create-some-tasks-to-get-your-goal-started-on-a-good-footing' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_create-some-tasks-to-get-your-goal-started-on-a-good-footing",
          "undo_prompt" => "Update user property '_appcuesForm_create-some-tasks-to-get-your-goal-started-on-a-good-footing' 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 **212** stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\naccountId - [View](https://studio.appcues.com/settings/properties/user?search=accountId)\n\n_appcuesForm_ - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_)\n\n_appcuesForm_2nd-input-in-the-modal - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_2nd-input-in-the-modal)\n\n_appcuesForm_3rd-input - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_3rd-input)\n\n_appcuesForm_add-email - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_add-email)\n\n_appcuesForm_before-you-go-what-are-the-areas-we-can-improve-in-resilia-academy - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_before-you-go-what-are-the-areas-we-can-improve-in-resilia-academy)\n\n_appcuesForm_by-completing-this-task-your-are-helping-advance-one-of-the-following - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_by-completing-this-task-your-are-helping-advance-one-of-the-following)\n\n_appcuesForm_capture-a-small-update - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_capture-a-small-update)\n\n_appcuesForm_comment-optional - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_comment-optional)\n\n_appcuesForm_create-some-tasks-to-get-your-goal-started-on-a-good-footing - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_create-some-tasks-to-get-your-goal-started-on-a-good-footing)\n\n_appcuesForm_daniel-test-radio-select - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_daniel-test-radio-select)\n\n_appcuesForm_did-the-content-provide-an-actionable-solution-for-your-organization - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_did-the-content-provide-an-actionable-solution-for-your-organization)\n\n_appcuesForm_first-name - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_first-name)\n\n_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-in-this-area - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-in-this-area)\n\n_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-in-this-second-area - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-in-this-second-area)\n\n_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-in-this-third-area - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-in-this-third-area)\n\n_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-on-creating-a-campaign-or-donations-page - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-on-creating-a-campaign-or-donations-page)\n\n_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-on-creating-a-fundraising-plan - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-on-creating-a-fundraising-plan)\n\n_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-on-creating-stories-with-1-being-the-least-confident - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-on-creating-stories-with-1-being-the-least-confident)\n\n_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-on-creating-your-branding-with-1-being-the-least-confident - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-on-creating-your-branding-with-1-being-the-least-confident)\n\n_appcuesForm_from-1-to-5-how-confident-do-you-currently-feel-on-drafting-a-strategic-plan - [View](https://studio.appcues.com/setting" <> ...,
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 212 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

Attempt 1—37m ago

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