25354405 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 12:36.206
Run Time 01:22.637
Inserted 2h ago
Scheduled 2h ago
Completed 1h ago (01:23)
Cancelled
Discarded

Args

%{
  "account_id" => "224039",
  "account_insight_agent_id" => "bc3ca86f-63a5-4292-aa65-72ffb39fc10c"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "kEgQ6f0XCRk9Yzo2pC4xU20GqHy3CMcLs/ng+BELelY",
  "recorded" => true,
  "return" => "g1AAABNUeJy9WE2P2zYQ3TQfbZ0W6bFHnposENm7yCJAt0iCYoFtAvRUNL0UhUBLsxKzEsmSIzu65T+0v6k/JL+kM5Rs2Y0aW2u1h/XKNPnmvRmK8yQ8Ojr6ZPml0l5lOfo4lSgLGruF9HG/5A+ZoDI6toXU9P2W/jkHcaWcR3F6IqwzFhwq8CKXCxC/Vyq5jpolYl4hGu0FGpGrFATmUAqlU7VQaSWLop4KBnNQSqWVzsTZJt4jTVBalvBYIGipMVYpXSosaKTy4I5FIikIMHgKmuCdqbJcXEiLBCi+fyXev/tTSH8tFG6TmNeCkcPvxonKkm5IRSl14EUkeZ7wkJWgkYSoIgUnXr+aipcqZarKC210lIJHV5HcRQPW8q8FJ5InOWAuhC01/9XdjJZ8KYnUQnk1L0DIjIlLDDNRlTDlEnza5NNzYSZcmDs8ejtBGf7/VHFhju4RcmmRL5PXQVDIUhfwYSytTSrwl8aVcW6W0VL6qDaVi4yeG+lYWARvabYCncDDwNkDCk+TY6XjSnEar2ThG2J3QzX46uwl53ZggLC9Kp2auKM+/0+pU61guk8Gqz1oMAWqE+Ycu9JJAdJFpfKevxsX5UQLXIS51IFaQltsSE4vP8zpTUL2ZRn/Z3l75/1FP7HEeIwTuhXBDcngVyGDG4v7cvH8xiH3VvVvIRzwsRNLHCLqQSNqvbZP07ObBjxUUgpWOuRDc7ikbu0ASbsDHrr3oLSFqQGo/QzfexuLB+y9PUIeWigip4krNdrhherWDijU7oB7S/quP0Ih6Y5VdoieL4KedmGfmPMbhdpbyQ8fgbfS+6VxaeyAIgxR9XWnahukT+HlwRQOrRu5LpkNO9iburULB9RtR6ig5A2v/4xUxAhvcXlbq4JHPg/bt6Zbcj10vx3C2sJ68MGqF8aqtGTceOzJBTVPTUz+aSiXCnNhNDlO2XjIzv8G43fFbllndH0vvTSkUZyeCU8WfVsZ22Xqw2Qb3dpLPiZ/SgMVmgidTK6BzDOr5lFam7IHZpfZmabpZPIjVZ1Ikpl+Lr49IRNbe/Kk5nwyOdgaiEj8+ouC5W+PckTrz2czj1WqzLQFniamnFFJkDD8rBM2Y6EvPEVI8mcHszieTHp29ijcenCPNzP69OT9uz8+ktTdrnb8FO6OSRI61zAKgQ6OsLuuMAp2B7cqtLLjFVdZQl09lY4CuwIj3HA/j4EZHo03N94T3nhPtzbehrkdp6YdHoXuPNko4B0cYW9Yo1HAN/AIve0PoyC3WIS6fn0xCu4ajZG5IY6DykjHofWZCmkF+KYRWqeMoy7HX+7kKsu3O/E3u9pS89olrOY+GfqmsdY4rDTBvlnepY7UtLu/LpqjQZx2LTuvMzqHyHM2b6joYW5BJ5POuoirdydJ5dGUHxAwodFyE6AbobkH1q2Se6GDK3B80oWO2B18PnTLJbTTZEHc0rqJ33bP5g2Q8txzaKilOP0bAJqw+Q",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "BP8I3+UQQ3rAY5hXYkJV/Q5iikRMecRHWD5fYBAGfRU",
  "workflow" => true,
  "workflow_id" => "019ddea7-57ae-75a6-a66d-cf366952109c"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 4 properties (nickname, tenant_id, title, user) 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 '_appcuesForm_how-was-your-onboarding-experience' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_how-was-your-onboarding-experience",
          "undo_prompt" => "Update user property '_appcuesForm_how-was-your-onboarding-experience' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_was-anything-unclear-missing-or-harder-than-expected' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_was-anything-unclear-missing-or-harder-than-expected",
          "undo_prompt" => "Update user property '_appcuesForm_was-anything-unclear-missing-or-harder-than-expected' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'cost_center' and set show_in_ui to false.",
          "title" => "Hide cost_center",
          "undo_prompt" => "Update user property 'cost_center' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'created_at' and set show_in_ui to false.",
          "title" => "Hide created_at",
          "undo_prompt" => "Update user property 'created_at' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'department' and set show_in_ui to false.",
          "title" => "Hide department",
          "undo_prompt" => "Update user property 'department' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'employee_id' and set show_in_ui to false.",
          "title" => "Hide employee_id",
          "undo_prompt" => "Update user property 'employee_id' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'identities' and set show_in_ui to false.",
          "title" => "Hide identities",
          "undo_prompt" => "Update user property 'identities' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'last_ip' and set show_in_ui to false.",
          "title" => "Hide last_ip",
          "undo_prompt" => "Update user property 'last_ip' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'last_password_reset' and set show_in_ui to false.",
          "title" => "Hide last_password_reset",
          "undo_prompt" => "Update user property 'last_password_reset' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'manager' and set show_in_ui to false.",
          "title" => "Hide manager",
          "undo_prompt" => "Update user property 'manager' 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 14 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_was-anything-unclear-missing-or-harder-than-expected - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_was-anything-unclear-missing-or-harder-than-expected)\n\nlast_password_reset - [View](https://studio.appcues.com/settings/properties/user?search=last_password_reset)\n\nLast seen 60–90 days ago:\n\n_appcuesForm_how-was-your-onboarding-experience - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-was-your-onboarding-experience)\n\ncreated_at - [View](https://studio.appcues.com/settings/properties/user?search=created_at)\n\nidentities - [View](https://studio.appcues.com/settings/properties/user?search=identities)\n\nlast_ip - [View](https://studio.appcues.com/settings/properties/user?search=last_ip)\n\nnickname - [View](https://studio.appcues.com/settings/properties/user?search=nickname)\n\nuser - [View](https://studio.appcues.com/settings/properties/user?search=user)\n\nLast seen 30–60 days ago:\n\ncost_center - [View](https://studio.appcues.com/settings/properties/user?search=cost_center)\n\ndepartment - [View](https://studio.appcues.com/settings/properties/user?search=department)\n\nemployee_id - [View](https://studio.appcues.com/settings/properties/user?search=employee_id)\n\nmanager - [View](https://studio.appcues.com/settings/properties/user?search=manager)\n\ntenant_id - [View](https://studio.appcues.com/settings/properties/user?search=tenant_id)\n\ntitle - [View](https://studio.appcues.com/settings/properties/user?search=title)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 14 stale user properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property hygiene insight covering 14 stale visible custom user properties older than 30 days that are not referenced by experiences and were not already covered by a non-dismissed insight."
}

Errors

No Errors