25354197
CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue
insight_agents
Attempt
1 of 2
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
23:01.624
Run Time
01:57.919
Inserted
7h ago
Scheduled
7h ago
Completed
7h ago (01:58)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "219598",
"account_insight_agent_id" => "72553d33-1e79-4b26-82dd-60681764ae1b"
}
Meta
%{
"deps" => [],
"name" => "execute",
"on_hold" => false,
"partition" => true,
"partition_key" => "XTXPus8m6Rdhl3rqaa4IjPR52+808yhldoLE3JMDfvk",
"recorded" => true,
"return" => "g1AAAC7NeJy1WttuJLcR3cT2JtEiyWMeHAN8SewFdNldIYvYiB0MJA12Et2sGWmBBIFAdXO6abHJDsme2fGT/yH5rfyEvyRV5Nya0z2XXfpF6mmyzzlFFouXon3y5MnPx59IZZkp4Pl/J5pRy1LyknBpeJZbMlSavD4mxlLByIgb/gD/k8pYVZDKME1KrUqmLWeGMMEzV24VyXnKCB1aqMHeJaJKucwAllZWHVhNk0dgmX462SevoBI8ciYTdqDZkGl8SpfA9wmVKZEKKnJjEUwqeZByU3BjoGZalYInIH6m3ByOfz17vE8p6AcDf2bhzzM09RlNLFfyvhRUwu+n3wxyRoZcG0tevlg2KqcjRv5d8eTxwH9CHiprlTRzK23OCmBN+YinFRVickgQTLOCcolK/3S8DPgFkxQaKe2kKUc8Kk6hMFVjOZiUaCiTOUXrrxK9T4aUiy4XrM+/ZxdgLbVJvg+izIkqSsGsx5FZx1qa5AWT1gTF0KVmoG5YqbS9kvXCLmcivZIPimoECQuhNTrQusYgbkPhgBfsFpygK9S4XvxGjQeqI82Y6XrBBbRJT4JbjDgbr34HJhq0BppqCM0d2HI1HPKEtem9ptC+0rYWK2P7zFblQFWBqBuGalpI+0ywxPZkWdkLZnOVuuI+Y/KCpehy0Ifmmkp292rfOUTfsrJEu8En2DuWnj6cKCmZc54LJblV+sy7AFaZNsXpRNKCJ10loE1uS9DAzSUbi8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SgLsd/8H8PUbTw",
"structured" => true,
"uniq" => true,
"uniq_bmp" => [1, 0, 2, 3],
"uniq_conflict" => true,
"uniq_key" => "j4vFCNDI2YBCqmvdXq9l1fqLdGN51+F32sQWPR7Y3Jk",
"workflow" => true,
"workflow_id" => "019ddea7-57a9-70ee-838f-05bc5a48c154"
}
Recorded Output
%{
notes: "Created 1 insight for 63 stale visible custom user properties eligible to hide after excluding 1 auto-tracked property, 2 experience-referenced properties, and no existing non-dismissed duplicate insights.",
insights_data: [
%{
"action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 53 properties (enabledAdditionalDropdownTypes, enhancedOcr, failFileSizeMismatch, hasCompletedAddingAttachments, hasCompletedAreasToReportOn, hasCompletedFieldOnboarding, hasCompletedFirstAssessment, hasCompletedFirstTimeUserFlow, hasCompletedHowToAnswer, hasCompletedMainInterviewFlow, hasCompletedMissingArtifacts, hasCompletedOfficeOnboarding, hasCompletedPatientOnboarding, hasCompletedPostSetupTour, hasCompletedReviewArtifacts, hasCompletedSelectInputMethod, hasSeenMedicationsPaneV2, hideStepper, indexedDbConnectionMonitorEnabled, interviewDynamicFollowUps, isNewlyOnboardedNurse, lastLoginDate, lastName, latestRequiredUpdateVersion, launchDarklyFlags, loginDispatcher, medExtractionTokenCount, name, optimizedSignOff, organizationId, promptArtifacts, property1, property2, property3, roles, sectionsToAlwaysReview, setWoundCountFromEnhancedContext, shouldUseImprovedAdditionalDropdownOptions, showArtifactState, showMedicationProfileV2, showSupplyPackage, skipConvertAudioToWav, skipReviewArtifactsWhenNoWarnings, throwOnEnhancedContextToolError, useEnhancedAudioTranscription, useLatestSonnet, usePointcareDbForAutoConfig, useQaForVisitNote, useStepsInAutoConfigReport, useV2SupplyListSuggestion, useZendeskWidget, vaccinationsCardListEnabled, visitNoteSourceSwitcher) 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 'advancedDirectivesCardListEnabled' and set show_in_ui to false.",
"title" => "Hide advancedDirectivesCardListEnabled",
"undo_prompt" => "Update user property 'advancedDirectivesCardListEnabled' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'allergiesRagSearch' and set show_in_ui to false.",
"title" => "Hide allergiesRagSearch",
"undo_prompt" => "Update user property 'allergiesRagSearch' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'artifactsReviewRevision' and set show_in_ui to false.",
"title" => "Hide artifactsReviewRevision",
"undo_prompt" => "Update user property 'artifactsReviewRevision' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'autoConfigOverrideScopes' and set show_in_ui to false.",
"title" => "Hide autoConfigOverrideScopes",
"undo_prompt" => "Update user property 'autoConfigOverrideScopes' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'braintrustPromptConfig' and set show_in_ui to false.",
"title" => "Hide braintrustPromptConfig",
"undo_prompt" => "Update user property 'braintrustPromptConfig' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'canSkipQa' and set show_in_ui to false.",
"title" => "Hide canSkipQa",
"undo_prompt" => "Update user property 'canSkipQa' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'conflictHandlingInSignOffEnabled' and set show_in_ui to false.",
"title" => "Hide conflictHandlingInSignOffEnabled",
"undo_prompt" => "Update user property 'conflictHandlingInSignOffEnabled' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'createdAt' and set show_in_ui to false.",
"title" => "Hide createdAt",
"undo_prompt" => "Update user property 'createdAt' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'createEnhancedContexts' and set show_in_ui to false.",
"title" => "Hide createEnhancedContexts",
"undo_prompt" => "Update user property 'createEnhancedContexts' 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_text" => nil,
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Cleaner segment builder with only active properties",
"finding" => "Found 63 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nbraintrustPromptConfig - [View](https://studio.appcues.com/settings/properties/user?search=braintrustPromptConfig)\n\ncanSkipQa - [View](https://studio.appcues.com/settings/properties/user?search=canSkipQa)\n\nconflictHandlingInSignOffEnabled - [View](https://studio.appcues.com/settings/properties/user?search=conflictHandlingInSignOffEnabled)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/user?search=createdAt)\n\ncreateEnhancedContexts - [View](https://studio.appcues.com/settings/properties/user?search=createEnhancedContexts)\n\nemail - [View](https://studio.appcues.com/settings/properties/user?search=email)\n\nenhancedOcr - [View](https://studio.appcues.com/settings/properties/user?search=enhancedOcr)\n\nfailFileSizeMismatch - [View](https://studio.appcues.com/settings/properties/user?search=failFileSizeMismatch)\n\nhasCompletedAddingAttachments - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedAddingAttachments)\n\nhasCompletedAreasToReportOn - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedAreasToReportOn)\n\nhasCompletedFieldOnboarding - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedFieldOnboarding)\n\nhasCompletedFirstAssessment - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedFirstAssessment)\n\nhasCompletedFirstTimeUserFlow - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedFirstTimeUserFlow)\n\nhasCompletedHowToAnswer - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedHowToAnswer)\n\nhasCompletedMainInterviewFlow - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedMainInterviewFlow)\n\nhasCompletedMissingArtifacts - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedMissingArtifacts)\n\nhasCompletedOfficeOnboarding - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedOfficeOnboarding)\n\nhasCompletedPatientOnboarding - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedPatientOnboarding)\n\nhasCompletedPostSetupTour - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedPostSetupTour)\n\nhasCompletedReviewArtifacts - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedReviewArtifacts)\n\nhasCompletedSelectInputMethod - [View](https://studio.appcues.com/settings/properties/user?search=hasCompletedSelectInputMethod)\n\nhasSeenMedicationsPaneV2 - [View](https://studio.appcues.com/settings/properties/user?search=hasSeenMedicationsPaneV2)\n\nindexedDbConnectionMonitorEnabled - [View](https://studio.appcues.com/settings/properties/user?search=indexedDbConnectionMonitorEnabled)\n\nisNewlyOnboardedNurse - [View](https://studio.appcues.com/settings/properties/user?search=isNewlyOnboardedNurse)\n\nlastLoginDate - [View](https://studio.appcues.com/settings/properties/user?search=lastLoginDate)\n\nlastName - [View](https://studio.appcues.com/settings/properties/user?search=lastName)\n\nlatestRequiredUpdateVersion - [View](https://studio.appcues.com/settings/properties/user?search=latestRequiredUpdateVersion)\n\nlaunchDarklyFlags - [View](https://studio.appcues.com/settings/properties/user?search=launchDarklyFlags)\n\nmedExtractionTokenCount - [View](https://studio.appcues.com/settings/properties/user?search=medExtractionTokenCount)\n\nname - [View](https://studio.appcues.com/settings/properties/user?search=name)\n\noptimizedSignOff - [View](https://studio.appcues.com/settings/properties/user?search=optimizedSignOff)\n\norganizationId - [View](https://studio.appcues.com/settings/properties/user?search=organizationId)\n\npromptArtifacts - [View](https://studio.appcues.com/settings/properties/user?search=promptArtifacts)\n\nproperty1 - [View](https://studio.appcues.com/settings/properties/user?search=property1)\n\nproperty2 - [View](https://studio.appcues.com/settings/properties/user?search=property2)\n\nproperty3 " <> ...,
"outcomes" => [],
"priority" => "high",
"title" => "Found 63 stale user properties to hide",
"type" => "opportunity"
}
]
}
Errors
No Errors