25353493 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 04:25.123
Run Time 01:27.561
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (01:28)
Cancelled
Discarded

Args

%{
  "account_id" => "120376",
  "account_insight_agent_id" => "0ca731b5-09a0-491b-85d6-806d0db343bc"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "9DTt/aRNmWseDQyFi6li+xxqD42fuv1mgX+c39NTuMc",
  "recorded" => true,
  "return" => "g1AAABAVeJy9V9tyG0UQNcQBIgPhE/qFSlIVSQYljuVcXJTLqVCVCiku4YGitkY7Le0kuzObmR7L+wb/wBfxITzwJfTMKpIcL7ASG16kUXvmnD49rjPdtLOz8/78E6WdmmXkEilI5Bx7j/hjrwgfIiVldFLmQoffv5+KNIPSmhItVSAm5gwhEw4EvPYqfdWv98PEE/EXGciURFAEU2sKoAzB4axATbxF5RLtAJ4oqfQMlANtdF+iI+sZhYH//OW3FVdILmyySEJplCC0jIDLHalgYoRCMOOZcmqSI4gZbwZBvLsCUgUOgowP6zRdEHstiN0N0Sspifj9rY9iP2DkoqSw1D+UzI/gHdoV4Y0Ez3mlUKeYSOUK5RzKRI5Gh9PRoeyPR3dl/87hnS/744OJ6O8f3sPx+K44OMD9GzF9hwQuM/NE6cSrUK6pyF2d41VSlGNYHT8JNdyeK16k19IkK0HF/yWILxMHbUr8Y3NGp/zn6rkNFxauDO1jn+ff80V+h4LcifGaNqnlzVjLFqBNRXvReYqdV+e5sNR5dS6D/pfqtE+xdXW+aUm9XVWguSr/XI1nnaXUugr3mym/dl/JQulNFH8cFS8ONqk72oqqtZK/hX+KQm4iZG8hJJxr0jHehqi1jONmdNRnyhodXsFNtHwWtawdbhL0aGvK1qoeNlPoUj3zxQTtJpo+jZqWR5sUPdiSrrWee80Er221iZKPohI+1KThYGOKmP3LCMyZJ4TnNL+iVR4i1/gWFVWJksvQ3iJEVYnL4PXwmKfED7gqSnacEBud5CjYdt5uw2CuKAOjc27q6uZrkaZCFzumqdKhTeP17q+P2a4kjMFxu3hRFO/mniy0W3bZg93mvo4Dnkyf2PheobwdRYcon5UwqWJ3tmo9Br3eU+G4JIgaHsF4n5u/invMmTnq9bZvUaAPP71QOP/5ZkZUuqPh0JGXygxEWaYe3SA1xZCvglinG64UDYPCY4fCptnD7elv9XotOoVOkmzB05TN5Zf53WRzmacpm3edxQX2xcvVCdMCK6KGd6Qj0ADFmGtW3gnwGh6jL221E+wlGiOz2XWCyTi3oi8aT7wfXe2SpVXGsgWGH7sZz7MX7fnzf/GselCNh4OHRk81ZWksec2oL+dX2a5qK/zjxPJ/DvvWFysrz6oZWwIPuvUoDVNjl1xvRtHUO+IZ+G3qaLzagESKZr3mgzzrTtGGlRvA6Xmae4n1zLvupmvjOCsUMMU5iGKiZt5494Z1jTBO4ha5dnzn/CyFeT3k68QUqRr8BXFxdb8",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "2IXfCW6fMkB7yS2CZS5ICFJMDLBJWpUtr2aB10wpKpY",
  "workflow" => true,
  "workflow_id" => "019ddea7-5798-7a90-82e0-819e5721782c"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 9 stale visible custom user properties with no detected experience references. Excluded the auto-tracked property and a few ambiguous custom properties from recommendation for safety.",
  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 user property '_experience_dismissed_d338f38d-935d-4842-96ba-087e995a66e0' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_d338f38d-935d-4842-96ba-087e995a66e0",
          "undo_prompt" => "Update user property '_experience_dismissed_d338f38d-935d-4842-96ba-087e995a66e0' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'EmptyPractitionerFullTimeSeatsCount' and set show_in_ui to false.",
          "title" => "Hide EmptyPractitionerFullTimeSeatsCount",
          "undo_prompt" => "Update user property 'EmptyPractitionerFullTimeSeatsCount' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'EmptyPractitionerPartTimeSeatsCount' and set show_in_ui to false.",
          "title" => "Hide EmptyPractitionerPartTimeSeatsCount",
          "undo_prompt" => "Update user property 'EmptyPractitionerPartTimeSeatsCount' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'EmptyPractitionerSeatsCount' and set show_in_ui to false.",
          "title" => "Hide EmptyPractitionerSeatsCount",
          "undo_prompt" => "Update user property 'EmptyPractitionerSeatsCount' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'IsAdmin' and set show_in_ui to false.",
          "title" => "Hide IsAdmin",
          "undo_prompt" => "Update user property 'IsAdmin' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'IsLead' and set show_in_ui to false.",
          "title" => "Hide IsLead",
          "undo_prompt" => "Update user property 'IsLead' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'environment' and set show_in_ui to false.",
          "title" => "Hide environment",
          "undo_prompt" => "Update user property 'environment' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'npiNumber' and set show_in_ui to false.",
          "title" => "Hide npiNumber",
          "undo_prompt" => "Update user property 'npiNumber' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'qry' and set show_in_ui to false.",
          "title" => "Hide qry",
          "undo_prompt" => "Update user property 'qry' 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 9 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_experience_dismissed_d338f38d-935d-4842-96ba-087e995a66e0 - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_d338f38d-935d-4842-96ba-087e995a66e0)\n\nEmptyPractitionerFullTimeSeatsCount - [View](https://studio.appcues.com/settings/properties/user?search=EmptyPractitionerFullTimeSeatsCount)\n\nEmptyPractitionerPartTimeSeatsCount - [View](https://studio.appcues.com/settings/properties/user?search=EmptyPractitionerPartTimeSeatsCount)\n\nEmptyPractitionerSeatsCount - [View](https://studio.appcues.com/settings/properties/user?search=EmptyPractitionerSeatsCount)\n\nIsAdmin - [View](https://studio.appcues.com/settings/properties/user?search=IsAdmin)\n\nIsLead - [View](https://studio.appcues.com/settings/properties/user?search=IsLead)\n\nenvironment - [View](https://studio.appcues.com/settings/properties/user?search=environment)\n\nnpiNumber - [View](https://studio.appcues.com/settings/properties/user?search=npiNumber)\n\nqry - [View](https://studio.appcues.com/settings/properties/user?search=qry)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 9 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors