25354513
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.0.170
Queue Time
00:00.312
Run Time
00:00.010
Inserted
3h ago
Scheduled
3h ago
Completed
—
Cancelled
—
Discarded
3h ago
Args
%{
"account_id" => "68649",
"data" => %{
"account_insight_agent_id" => "3ec52282-3aba-4e20-b68a-0fcc905883f8",
"insights" => [
%{
"action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 3 properties (planId, referrer, userRole) 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 'accountCreatedDate' and set show_in_ui to false.",
"title" => "Hide accountCreatedDate",
"undo_prompt" => "Update user property 'accountCreatedDate' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'businessId' and set show_in_ui to false.",
"title" => "Hide businessId",
"undo_prompt" => "Update user property 'businessId' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'defaultPromoCode' and set show_in_ui to false.",
"title" => "Hide defaultPromoCode",
"undo_prompt" => "Update user property 'defaultPromoCode' 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" => "Run",
"prompt" => "Update user property 'firmName' and set show_in_ui to false.",
"title" => "Hide firmName",
"undo_prompt" => "Update user property 'firmName' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'firstName' and set show_in_ui to false.",
"title" => "Hide firstName",
"undo_prompt" => "Update user property 'firstName' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'fullName' and set show_in_ui to false.",
"title" => "Hide fullName",
"undo_prompt" => "Update user property 'fullName' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'id' and set show_in_ui to false.",
"title" => "Hide id",
"undo_prompt" => "Update user property 'id' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update user property 'lastName' and set show_in_ui to false.",
"title" => "Hide lastName",
"undo_prompt" => "Update user property 'lastName' 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 13 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\naccountCreatedDate - [View](https://studio.appcues.com/settings/properties/user?search=accountCreatedDate)\n\nbusinessId - [View](https://studio.appcues.com/settings/properties/user?search=businessId)\n\ndefaultPromoCode - [View](https://studio.appcues.com/settings/properties/user?search=defaultPromoCode)\n\nemail - [View](https://studio.appcues.com/settings/properties/user?search=email)\n\nfirmName - [View](https://studio.appcues.com/settings/properties/user?search=firmName)\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)\n\nfullName - [View](https://studio.appcues.com/settings/properties/user?search=fullName)\n\nid - [View](https://studio.appcues.com/settings/properties/user?search=id)\n\nlastName - [View](https://studio.appcues.com/settings/properties/user?search=lastName)\n\nplanId - [View](https://studio.appcues.com/settings/properties/user?search=planId)\n\nreferrer - [View](https://studio.appcues.com/settings/properties/user?search=referrer)\n\nuserRole - [View](https://studio.appcues.com/settings/properties/user?search=userRole)",
"outcomes" => [],
"priority" => "high",
"title" => "Found 13 stale user properties to hide",
"type" => "opportunity"
}
]
},
"notification_id" => "521dbade-dbea-4c84-8126-c1aac4a96505",
"workflow_key" => "insight-opportunity-added"
}
Meta
%{"orig_scheduled_at" => 1777557239561419, "structured" => true}
Errors
Attempt 5—3h 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—3h 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—3h 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—3h 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—3h 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