25353381 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 03:50.924
Run Time 01:13.314
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (01:14)
Cancelled
Discarded

Args

%{
  "account_id" => "107599",
  "account_insight_agent_id" => "f74bb43d-c493-4143-aa91-ace36950fb33"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "82AymvxiYwBsZYPJSMkoQNzedi96abrX+R+7h866Z/A",
  "recorded" => true,
  "return" => "g1AAABXMeJy9WNtu20YQdW6tKzdIPmEeiiYGbNlGgCJ2mwSpW8MB2qawk/ihKIQ1ORI3JnfZ3aEUoS/5h/YL8yWdWUqiJKu2RLN9kESuOOfMmV3sHg6tra3dHtzXxuteQr4TK1Ipj90i/trI5EtFpK3p5KkyfH97/U2C0NXOE+ztQu5sjo40ekhUH+GPQkcX22UInBdE1nggC4mOESjBDLSJdV/HhUrTYRsEzGGmtNGmB/vTeI8dRqj7eKRT9G9zzgz9FowGf9bec8QbdJk2Kv2R1JlygjH/4Gl2KfYdeo/pS/qeiZL5P88SRV7leTVuU/nxkUM0J+htWoi4LSg8uiOpwy8qw/L2J1XebUKkWD6K7BgNC3e26CVwqHJiqfDyFXz6+DcofwGaZstzPgTDCOF/66AIacSQKRMqxuWT58BjL0NDXGKdxujg7as2HOtYiqg9GGu2Y/TkCp6Ifgk2quwQZIrlIYeSC2MrI59h9cQo+UxxUn3t9XmKoHqSuKLwJOkM27I4Pi9n2suSacmSuSujdyJS4fekkCWz9hkjZznJ5XdlXUO1KsJHeK4OU+X9o5CMRwKf2EFHm06hpT5dlfqS8R5pSlGu7h9L0caRYakWJradiuzbemRcNmwvI+bf8V+bdLiKli/HWiRwkZSDWlRLK3mxGF4bg+4YZWtYRc3DoGYqeJGi57Upl1Z1FcWZjilZRdSDSlSIXaTpWV3CG0+UPy34UkZrTFQVvMpEXU95U1W2oPrLbyp4BVVLUN50+QWKmsuvil1h+V1PuLSk/cUMeWINrqKmFdSEsEVCntagWVpDbzH46Pz/AXPlqHD4ulv6hCMO/NVhX9vCj+3GyBysovhpUFyDZFF9uv+5hKWrebpaKjUq99WVlbuiSieNphYq8l5w17kaHcIPNLhjdCojX7AV0zTs6HgytDEaomGOk8EH+CHHiP1cR2c5WycZe3KYouLz4ZKlG2hKwPLpDqp0cZU3DtarK07a9Ph6/c8jy9phbx882/dZxWKlKRHj5iZubosdIg8UZLfJqegC462gWkY5NhYXKj5P0nUaTYTtVkvMLSfJdvY57O+yjRx6doX2oNUaGyrYht/eaRz8/jghyv3Bzo6nIta2zX46KtC3I5vtcGWJ0/Y7VX47ku8Lj8pFybMx2GbAFXfTFKxgMeqUw2gEeQpvjB422+bAA5xgV0duM+AVHqNPHX2NoE/hjdGbq0sFx9g19r1GkqjBe0W2/0dml7KYfrluknkat2KrXsab5KpQK6ZF7/hNci7Cr9jnmghNEs9BC6c0KJqhECRGnO91NAI+D8o8Mx2URkhmEEcM46ZMYwSTLs/0mfhk99PHv76ZORaDXW2ENSBVy+u65leT6+06rs3giHg7Zkz0pT/KnbaOzY/c3E34AJg1dF9f51bKfliIFvsU7JTNc8tbmWHY94N7bFSCC7q1cegwNMj2Jg5vOxn22LPIu3poakLXuops3M+aJw1uy1iIkYJDm/I+7D276OTKj1wSZIqiRJptodOmfcZV4pgqhVErrsygDSfI5WF3xyWTdhkMGA8uMCeI+BZdXwWHd64ExY5afCHfiW9NtZf5krZd4aRtJ7Io0ZxTFHFBqf0PQfujBA",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "p8CzUhm6LvIsCiMLMysp2iitHL0NJyJOKpkIO5/8I+M",
  "workflow" => true,
  "workflow_id" => "019ddea7-5791-7f2f-84c1-8cf71d57b11b"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 9 properties (receiveFilesUpdates, receiveMissingTerminalEtaWarningUpdates, receiveSmsUpdates, receiveVesselAtBerthUpdates, receiveWhatsappUpdates, roles, screenResolution, userFirstName, userLastName) 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 'ebaClass' and set show_in_ui to false.",
          "title" => "Hide ebaClass",
          "undo_prompt" => "Update user property 'ebaClass' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'ebaOnly' and set show_in_ui to false.",
          "title" => "Hide ebaOnly",
          "undo_prompt" => "Update user property 'ebaOnly' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'innerHeight' and set show_in_ui to false.",
          "title" => "Hide innerHeight",
          "undo_prompt" => "Update user property 'innerHeight' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'innerWidth' and set show_in_ui to false.",
          "title" => "Hide innerWidth",
          "undo_prompt" => "Update user property 'innerWidth' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'isSuperuser' and set show_in_ui to false.",
          "title" => "Hide isSuperuser",
          "undo_prompt" => "Update user property 'isSuperuser' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'outerHeight' and set show_in_ui to false.",
          "title" => "Hide outerHeight",
          "undo_prompt" => "Update user property 'outerHeight' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'outerWidth' and set show_in_ui to false.",
          "title" => "Hide outerWidth",
          "undo_prompt" => "Update user property 'outerWidth' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'phone' and set show_in_ui to false.",
          "title" => "Hide phone",
          "undo_prompt" => "Update user property 'phone' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'receiveDepartureOfVesselFromPreviousTerminalUpdates' and set show_in_ui to false.",
          "title" => "Hide receiveDepartureOfVesselFromPreviousTerminalUpdates",
          "undo_prompt" => "Update user property 'receiveDepartureOfVesselFromPreviousTerminalUpdates' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'receiveDepartureOfVesselUpdates' and set show_in_ui to false.",
          "title" => "Hide receiveDepartureOfVesselUpdates",
          "undo_prompt" => "Update user property 'receiveDepartureOfVesselUpdates' 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 19 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nebaClass - [View](https://studio.appcues.com/settings/properties/user?search=ebaClass)\n\nebaOnly - [View](https://studio.appcues.com/settings/properties/user?search=ebaOnly)\n\ninnerHeight - [View](https://studio.appcues.com/settings/properties/user?search=innerHeight)\n\ninnerWidth - [View](https://studio.appcues.com/settings/properties/user?search=innerWidth)\n\nisSuperuser - [View](https://studio.appcues.com/settings/properties/user?search=isSuperuser)\n\nouterHeight - [View](https://studio.appcues.com/settings/properties/user?search=outerHeight)\n\nouterWidth - [View](https://studio.appcues.com/settings/properties/user?search=outerWidth)\n\nreceiveDepartureOfVesselFromPreviousTerminalUpdates - [View](https://studio.appcues.com/settings/properties/user?search=receiveDepartureOfVesselFromPreviousTerminalUpdates)\n\nreceiveDepartureOfVesselUpdates - [View](https://studio.appcues.com/settings/properties/user?search=receiveDepartureOfVesselUpdates)\n\nreceiveFilesUpdates - [View](https://studio.appcues.com/settings/properties/user?search=receiveFilesUpdates)\n\nreceiveSmsUpdates - [View](https://studio.appcues.com/settings/properties/user?search=receiveSmsUpdates)\n\nreceiveVesselAtBerthUpdates - [View](https://studio.appcues.com/settings/properties/user?search=receiveVesselAtBerthUpdates)\n\nreceiveWhatsappUpdates - [View](https://studio.appcues.com/settings/properties/user?search=receiveWhatsappUpdates)\n\nroles - [View](https://studio.appcues.com/settings/properties/user?search=roles)\n\nscreenResolution - [View](https://studio.appcues.com/settings/properties/user?search=screenResolution)\n\nuserFirstName - [View](https://studio.appcues.com/settings/properties/user?search=userFirstName)\n\nuserLastName - [View](https://studio.appcues.com/settings/properties/user?search=userLastName)\n\nLast seen 30–60 days ago:\n\nphone - [View](https://studio.appcues.com/settings/properties/user?search=phone)\n\nreceiveMissingTerminalEtaWarningUpdates - [View](https://studio.appcues.com/settings/properties/user?search=receiveMissingTerminalEtaWarningUpdates)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 19 stale user properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property-hygiene insight for 19 stale visible user properties with no detected experience references and no matching non-dismissed property-hiding insight. Recommendations were kept conservative based on the stale property listing returned for this account."
}

Errors

No Errors