25368259
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
00:00.307
Run Time
00:00.008
Inserted
3h ago
Scheduled
2h ago
Completed
—
Cancelled
—
Discarded
2h ago
Args
%{
"account_id" => "118919",
"data" => %{
"account_insight_agent_id" => "61a74239-e9ff-4ce3-8b8f-bb82a67bcfde",
"insights" => [
%{
"action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 8 properties (group, id_user, name, plan_level, post, status, surname, username) 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 'calling_code' and set show_in_ui to false.",
"title" => "Hide calling_code",
"undo_prompt" => "Update group property 'calling_code' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'cellphone_number' and set show_in_ui to false.",
"title" => "Hide cellphone_number",
"undo_prompt" => "Update group property 'cellphone_number' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'company_name' and set show_in_ui to false.",
"title" => "Hide company_name",
"undo_prompt" => "Update group property 'company_name' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'company_nit' and set show_in_ui to false.",
"title" => "Hide company_nit",
"undo_prompt" => "Update group property 'company_nit' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'country_alpha3' and set show_in_ui to false.",
"title" => "Hide country_alpha3",
"undo_prompt" => "Update group property 'country_alpha3' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'country_indicative' and set show_in_ui to false.",
"title" => "Hide country_indicative",
"undo_prompt" => "Update group property 'country_indicative' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'country_indicative_alpha2' and set show_in_ui to false.",
"title" => "Hide country_indicative_alpha2",
"undo_prompt" => "Update group property 'country_indicative_alpha2' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'country_indicative_name' and set show_in_ui to false.",
"title" => "Hide country_indicative_name",
"undo_prompt" => "Update group property 'country_indicative_name' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'country_name' and set show_in_ui to false.",
"title" => "Hide country_name",
"undo_prompt" => "Update group property 'country_name' and set show_in_ui to true."
},
%{
"cta" => "Run",
"prompt" => "Update group property 'email' and set show_in_ui to false.",
"title" => "Hide email",
"undo_prompt" => "Update group 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 18 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\ncalling_code - [View](https://studio.appcues.com/settings/properties/group?search=calling_code)\n\ncellphone_number - [View](https://studio.appcues.com/settings/properties/group?search=cellphone_number)\n\ncompany_name - [View](https://studio.appcues.com/settings/properties/group?search=company_name)\n\ncompany_nit - [View](https://studio.appcues.com/settings/properties/group?search=company_nit)\n\ncountry_alpha3 - [View](https://studio.appcues.com/settings/properties/group?search=country_alpha3)\n\ncountry_indicative - [View](https://studio.appcues.com/settings/properties/group?search=country_indicative)\n\ncountry_indicative_alpha2 - [View](https://studio.appcues.com/settings/properties/group?search=country_indicative_alpha2)\n\ncountry_indicative_name - [View](https://studio.appcues.com/settings/properties/group?search=country_indicative_name)\n\ncountry_name - [View](https://studio.appcues.com/settings/properties/group?search=country_name)\n\nemail - [View](https://studio.appcues.com/settings/properties/group?search=email)\n\ngroup - [View](https://studio.appcues.com/settings/properties/group?search=group)\n\nid_user - [View](https://studio.appcues.com/settings/properties/group?search=id_user)\n\nname - [View](https://studio.appcues.com/settings/properties/group?search=name)\n\nplan_level - [View](https://studio.appcues.com/settings/properties/group?search=plan_level)\n\npost - [View](https://studio.appcues.com/settings/properties/group?search=post)\n\nstatus - [View](https://studio.appcues.com/settings/properties/group?search=status)\n\nsurname - [View](https://studio.appcues.com/settings/properties/group?search=surname)\n\nusername - [View](https://studio.appcues.com/settings/properties/group?search=username)",
"outcomes" => [],
"priority" => "high",
"title" => "Found 18 stale group properties to hide",
"type" => "opportunity"
}
]
},
"notification_id" => "43514bb8-a530-4aae-96be-062e76885076",
"workflow_key" => "insight-opportunity-added"
}
Meta
%{"orig_scheduled_at" => 1777558624343867, "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—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