25363766
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.008
Inserted
2h ago
Scheduled
2h ago
Completed
—
Cancelled
—
Discarded
2h ago
Args
%{
"account_id" => "69076",
"data" => %{
"account_insight_agent_id" => "5a589118-2d96-4e29-89ed-c8f6d8cd4d07",
"insights" => [
%{
"action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 9 properties (firstName, first_name, language, location, main_group, purchasedAd, renewalDate, username, version) 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 '_myAppcuesId' and set show_in_ui to false.",
"title" => "Hide _myAppcuesId",
"undo_prompt" => "Update user property '_myAppcuesId' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'accountId' and set show_in_ui to false.",
"title" => "Hide accountId",
"undo_prompt" => "Update user property 'accountId' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'account_id' and set show_in_ui to false.",
"title" => "Hide account_id",
"undo_prompt" => "Update user property 'account_id' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'companyName' and set show_in_ui to false.",
"title" => "Hide companyName",
"undo_prompt" => "Update user property 'companyName' 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 '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 'created_by' and set show_in_ui to false.",
"title" => "Hide created_by",
"undo_prompt" => "Update user property 'created_by' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'created_by_id' and set show_in_ui to false.",
"title" => "Hide created_by_id",
"undo_prompt" => "Update user property 'created_by_id' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'created_by_username' and set show_in_ui to false.",
"title" => "Hide created_by_username",
"undo_prompt" => "Update user property 'created_by_username' 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_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\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\naccountId - [View](https://studio.appcues.com/settings/properties/user?search=accountId)\n\ncompanyName - [View](https://studio.appcues.com/settings/properties/user?search=companyName)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/user?search=createdAt)\n\ncreated_by - [View](https://studio.appcues.com/settings/properties/user?search=created_by)\n\nenvironment - [View](https://studio.appcues.com/settings/properties/user?search=environment)\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)\n\nlanguage - [View](https://studio.appcues.com/settings/properties/user?search=language)\n\nlocation - [View](https://studio.appcues.com/settings/properties/user?search=location)\n\nmain_group - [View](https://studio.appcues.com/settings/properties/user?search=main_group)\n\npurchasedAd - [View](https://studio.appcues.com/settings/properties/user?search=purchasedAd)\n\nrenewalDate - [View](https://studio.appcues.com/settings/properties/user?search=renewalDate)\n\nusername - [View](https://studio.appcues.com/settings/properties/user?search=username)\n\nversion - [View](https://studio.appcues.com/settings/properties/user?search=version)\n\nLast seen 30–60 days ago:\n\naccount_id - [View](https://studio.appcues.com/settings/properties/user?search=account_id)\n\ncreated_at - [View](https://studio.appcues.com/settings/properties/user?search=created_at)\n\ncreated_by_id - [View](https://studio.appcues.com/settings/properties/user?search=created_by_id)\n\ncreated_by_username - [View](https://studio.appcues.com/settings/properties/user?search=created_by_username)\n\nfirst_name - [View](https://studio.appcues.com/settings/properties/user?search=first_name)",
"outcomes" => [],
"priority" => "high",
"title" => "Found 19 stale user properties to hide",
"type" => "opportunity"
}
]
},
"notification_id" => "5cbcf3fa-1299-4ba9-ba46-33b07a95746e",
"workflow_key" => "insight-opportunity-added"
}
Meta
%{"orig_scheduled_at" => 1777558180134722, "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