25352893 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 03:03.996
Run Time 00:53.150
Inserted 2h ago
Scheduled 2h ago
Completed 1h ago (00:54)
Cancelled
Discarded

Args

%{
  "account_id" => "68649",
  "account_insight_agent_id" => "3ec52282-3aba-4e20-b68a-0fcc905883f8"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "8jkUOLYVdoV8zeKbhwRlOoDc/EiIo+WleooUgNlhQwo",
  "recorded" => true,
  "return" => "g1AAABD3eJytWFGPGzUQvtIehVSl8FDxOk+0lS65nk5FtKUtVUrVkxBCFeUFoci3O8m6t2sv9mzSvPEj+IX8BH4BM3Y2yeW2XDa3D9k4juf75vM4M+PQ3t7eJ7Pb2ng9yciPUkUq57lrxI9bhTxUQtqaUZkrw5+vZb9mCGPtPMHRQyidLdGRRg+ZmiL8WenkrB9N4LQissYDWch0ikAZFqBNqqc6rVSezwcgYA4LpY02Ezhex7svjCfpAX8/RufQHUDl0b21OT6ARDE8CmyKhoGdrSYZDFVJDAUvT+Cfv/4G5c9A03n60zkYVWD43jqoSlaMKRTKBI/YPVkHHicFGmIJOk/RwbuTAbzRqTipPRhr+il6chULnUawhedzkC2URQ7FF8ZWRl7z1YqF84Vip6ba69McQU3EcUVhJekCB7L5N+NOeglJT0JyQ2avJ6TC+9tKQrL3KSMXJcnwh3dBUNipFeG9UTF/WZZJhf4kvRcc8kjgMzsbaTOqtOzRWOU+su6Tphxl9NUb2bh163AkKpPa0Yr0xe6kvIU42EbY62YOlSS2MjR0KGF8xY828r4O8i5iNIn88aoObC31eTPTaeX5OPmWEbwTJK5sm6Q925Vwa0mvmhlSHKsqp194nR3atFXs7gZhmwhN8oZXI99a5ONmHslueRtlvaAsmDXJ+W4Hmq01fN8Mzvm++JnTZhsZt4OM2rJJydPdyLYW85FzHYpXWzVf1GqiaZOcj+/d/9NdOThVnu8YnIVlm+BcQra1mG+b8XWr7HYzyNCNWe1RW4KrxiFX7Y9VjENt2SIOl5EFMe8F4DMWMiL8QLPrJmaUz7mz0TQf6XQ5dWsxRfMSl5N38EOJCZe1kS5K7kRk7niYozLsymaHNNOUgTXcQqnYFK1auRCpsTR+ZsLj/S9fc8lM4egYPHeb56VJ50eZ9EFu2RwdcMPFExXZPjmVnCE3haJaZtk2laZO2iZx12k0CQ56vZ94g9hJ7g6fw+OH3JXNPTdZ9kmvt96XQB9+/03j7I/7GVHpnxweeqpSbQcqrhgktjjk3SV23R+ufDwUn194VC7Jnq0DPuj1LrYEnbBchGWuVY3uhGMFx9ibBbIThk1Q5gmVqxPwgMSIdQXpBLQGi7jxV9cVcEQT5EVa7QZ4Aca4uptzoeU81CmnE8QajHHjPa8T1AjFmPWdsRPUGoxx6xtoJ7jL62xI07YiNkIfk3bptHWckeXDjYwv5+frxjeXpdB45w3WktNDjrdlaR1VhmHfz/Y5e8bU/O8ipcDRqr5k8wknUi6t8Y8BUGNiAodT1iyX4MhaX1432W2oCJzGDRzH1HsASYbJmZieKuJxupat4w1fRj4m9sQa+dXJar6McyGYycNYttFetjTewLUvtJf8L/z9pe/1nxkMM2WGCOLXC9LgP1jYwc4",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "tH48RBp8g/oeCcNP+M44cFkv5W3QeO9uFzoA2Yyl5aY",
  "workflow" => true,
  "workflow_id" => "019ddea7-5782-731f-9dfe-92431dee20f5"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight after reviewing stale visible user properties older than 30 days, checking batched experience references, and confirming there were no existing non-dismissed user-property insights covering these properties.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 3 properties (planId, referrer, userRole) can be hidden through Captain AI — ask it to hide them by name — or updated manually in the segment builder UI. 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 '_myAppcuesId' and set show_in_ui to false.",
          "title" => "Hide _myAppcuesId",
          "undo_prompt" => "Update user property '_myAppcuesId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'accountCreatedDate' and set show_in_ui to false.",
          "title" => "Hide accountCreatedDate",
          "undo_prompt" => "Update user property 'accountCreatedDate' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'businessId' and set show_in_ui to false.",
          "title" => "Hide businessId",
          "undo_prompt" => "Update user property 'businessId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'defaultPromoCode' and set show_in_ui to false.",
          "title" => "Hide defaultPromoCode",
          "undo_prompt" => "Update user property 'defaultPromoCode' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'email' and set show_in_ui to false.",
          "title" => "Hide email",
          "undo_prompt" => "Update user property 'email' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'firmName' and set show_in_ui to false.",
          "title" => "Hide firmName",
          "undo_prompt" => "Update user property 'firmName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'firstName' and set show_in_ui to false.",
          "title" => "Hide firstName",
          "undo_prompt" => "Update user property 'firstName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'fullName' and set show_in_ui to false.",
          "title" => "Hide fullName",
          "undo_prompt" => "Update user property 'fullName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'id' and set show_in_ui to false.",
          "title" => "Hide id",
          "undo_prompt" => "Update user property 'id' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'lastName' and set show_in_ui to false.",
          "title" => "Hide lastName",
          "undo_prompt" => "Update user property 'lastName' 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 13 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\naccountCreatedDate - [View](https://studio.appcues.com/settings/properties/user?search=accountCreatedDate)\n\nbusinessId - [View](https://studio.appcues.com/settings/properties/user?search=businessId)\n\ndefaultPromoCode - [View](https://studio.appcues.com/settings/properties/user?search=defaultPromoCode)\n\nemail - [View](https://studio.appcues.com/settings/properties/user?search=email)\n\nfirmName - [View](https://studio.appcues.com/settings/properties/user?search=firmName)\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)\n\nfullName - [View](https://studio.appcues.com/settings/properties/user?search=fullName)\n\nid - [View](https://studio.appcues.com/settings/properties/user?search=id)\n\nlastName - [View](https://studio.appcues.com/settings/properties/user?search=lastName)\n\nplanId - [View](https://studio.appcues.com/settings/properties/user?search=planId)\n\nreferrer - [View](https://studio.appcues.com/settings/properties/user?search=referrer)\n\nuserRole - [View](https://studio.appcues.com/settings/properties/user?search=userRole)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 13 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors