25370661
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.214
Queue Time
00:00.302
Run Time
00:00.005
Inserted
8h ago
Scheduled
8h ago
Completed
—
Cancelled
—
Discarded
8h ago
Args
%{
"account_id" => "212395",
"data" => %{
"account_insight_agent_id" => "9fe1b58f-9e89-4eae-bb8b-662258baf833",
"insights" => [
%{
"action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 3 properties (planTier, purchasedAt, renewalDate) 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 group property 'MRR' and set show_in_ui to false.",
"title" => "Hide MRR",
"undo_prompt" => "Update group property 'MRR' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'accountmanager' and set show_in_ui to false.",
"title" => "Hide accountmanager",
"undo_prompt" => "Update group property 'accountmanager' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'activatedAt' and set show_in_ui to false.",
"title" => "Hide activatedAt",
"undo_prompt" => "Update group property 'activatedAt' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'billingAmount' and set show_in_ui to false.",
"title" => "Hide billingAmount",
"undo_prompt" => "Update group property 'billingAmount' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'billingProvider' and set show_in_ui to false.",
"title" => "Hide billingProvider",
"undo_prompt" => "Update group property 'billingProvider' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'companyName' and set show_in_ui to false.",
"title" => "Hide companyName",
"undo_prompt" => "Update group property 'companyName' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'createdAt' and set show_in_ui to false.",
"title" => "Hide createdAt",
"undo_prompt" => "Update group property 'createdAt' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'industry' and set show_in_ui to false.",
"title" => "Hide industry",
"undo_prompt" => "Update group property 'industry' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'nextBilling' and set show_in_ui to false.",
"title" => "Hide nextBilling",
"undo_prompt" => "Update group property 'nextBilling' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'numberOfUsers' and set show_in_ui to false.",
"title" => "Hide numberOfUsers",
"undo_prompt" => "Update group property 'numberOfUsers' 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 group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nMRR - [View](https://studio.appcues.com/settings/properties/group?search=MRR)\n\naccountmanager - [View](https://studio.appcues.com/settings/properties/group?search=accountmanager)\n\nactivatedAt - [View](https://studio.appcues.com/settings/properties/group?search=activatedAt)\n\nbillingAmount - [View](https://studio.appcues.com/settings/properties/group?search=billingAmount)\n\nbillingProvider - [View](https://studio.appcues.com/settings/properties/group?search=billingProvider)\n\ncompanyName - [View](https://studio.appcues.com/settings/properties/group?search=companyName)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/group?search=createdAt)\n\nindustry - [View](https://studio.appcues.com/settings/properties/group?search=industry)\n\nnextBilling - [View](https://studio.appcues.com/settings/properties/group?search=nextBilling)\n\nnumberOfUsers - [View](https://studio.appcues.com/settings/properties/group?search=numberOfUsers)\n\nplanTier - [View](https://studio.appcues.com/settings/properties/group?search=planTier)\n\npurchasedAt - [View](https://studio.appcues.com/settings/properties/group?search=purchasedAt)\n\nrenewalDate - [View](https://studio.appcues.com/settings/properties/group?search=renewalDate)",
"outcomes" => [],
"priority" => "high",
"title" => "Found 13 stale group properties to hide",
"type" => "opportunity"
}
]
},
"notification_id" => "c84d8e43-b43e-434f-adf3-2cd6185fac26",
"workflow_key" => "insight-opportunity-added"
}
Meta
%{"orig_scheduled_at" => 1777558913250260, "structured" => true}
Errors
Attempt 5—8h 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—8h 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—8h 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—8h 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—8h 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