25370619
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.214
Queue Time
00:00.308
Run Time
00:00.006
Inserted
2h ago
Scheduled
2h ago
Completed
—
Cancelled
—
Discarded
2h ago
Args
%{
"account_id" => "219598",
"data" => %{
"account_insight_agent_id" => "72553d33-1e79-4b26-82dd-60681764ae1b",
"insights" => [
%{
"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"
}
]
},
"notification_id" => "c982f4a3-4504-49e7-bf82-7ea2880b3cd8",
"workflow_key" => "insight-opportunity-added"
}
Meta
%{"orig_scheduled_at" => 1777558888212868, "structured" => true}
Errors
Attempt 5—2h ago
** (Knock.ApiKeyMissingError) The api_key setting is required to make requests to Knock.
Please configure :api_key in config.exs, set the KNOCK_API_KEY
environment variable, or pass into a new client instance.
(knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
(customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
(oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
(oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
(oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
(elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
(elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4
Attempt 4—2h ago
** (Knock.ApiKeyMissingError) The api_key setting is required to make requests to Knock.
Please configure :api_key in config.exs, set the KNOCK_API_KEY
environment variable, or pass into a new client instance.
(knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
(customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
(oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
(oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
(oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
(elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
(elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4
Attempt 3—2h ago
** (Knock.ApiKeyMissingError) The api_key setting is required to make requests to Knock.
Please configure :api_key in config.exs, set the KNOCK_API_KEY
environment variable, or pass into a new client instance.
(knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
(customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
(oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
(oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
(oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
(elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
(elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4
Attempt 2—2h ago
** (Knock.ApiKeyMissingError) The api_key setting is required to make requests to Knock.
Please configure :api_key in config.exs, set the KNOCK_API_KEY
environment variable, or pass into a new client instance.
(knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
(customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
(oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
(oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
(oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
(elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
(elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4
Attempt 1—2h ago
** (Knock.ApiKeyMissingError) The api_key setting is required to make requests to Knock.
Please configure :api_key in config.exs, set the KNOCK_API_KEY
environment variable, or pass into a new client instance.
(knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
(customer_api 1.21.0+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+dd24b211) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
(oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
(oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
(oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
(elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
(elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4