25363732
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
00:00.260
Run Time
00:00.006
Inserted
6h ago
Scheduled
6h ago
Completed
—
Cancelled
—
Discarded
6h ago
Args
%{
"account_id" => "223470",
"data" => %{
"account_insight_agent_id" => "b05dd0e0-c76a-4bf0-b98b-90e61230989a",
"insights" => [
%{
"action_plan" => "Review these two published experiences and unpublish any that are no longer needed. This kind of cleanup helps keep your live inventory tidy and reduces the chance that old test content gets revisited or accidentally reused later.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 59168352-2551-4af4-b08b-35f653cf5b4b named 'pin demo'. This is a web pin that had 0 seen, 0 completed, 0 dismissed, and 0 errors in the last 30 days. Unpublish it as routine cleanup.",
"title" => "Unpublish inactive pin demo pin",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 59168352-2551-4af4-b08b-35f653cf5b4b named 'pin demo' again, restoring it to its previously published state."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID ac34cb30-01b3-418f-8426-02a9cb080f7b named 'test banner'. This is a web banner that had 0 seen, 0 completed, 0 dismissed, and 0 errors in the last 30 days. Unpublish it as routine cleanup.",
"title" => "Unpublish inactive test banner",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID ac34cb30-01b3-418f-8426-02a9cb080f7b named 'test banner' again, restoring it to its previously published state."
}
],
"cta_text" => "Review inactive experiences",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Cleaning up inactive published content should reduce clutter in your live experience set and make ongoing experience management easier.",
"finding" => "As part of routine experience hygiene, **2 published experiences** that were published more than 3 weeks ago have had **no activity in the last 30 days**.\n\n- [pin demo](https://studio.appcues.com/pins/59168352-2551-4af4-b08b-35f653cf5b4b/settings)\n - Type: **Pin**\n - Designed to highlight content on a **brand positioning overview** page. Its rules target **localhost**, a single specific **user ID**, and one specific URL, which suggests it was likely a test or demo experience.\n\n- [test banner](https://studio.appcues.com/banners/ac34cb30-01b3-418f-8426-02a9cb080f7b/settings)\n - Type: **Banner**\n - Designed to announce **\"We've just released Banners!\"** with a CTA to explore the feature. Its rules also target **localhost**, a single specific **user ID**, and one specific URL, which suggests it was likely created for testing or internal previewing.",
"outcomes" => ["engagement"],
"priority" => "medium",
"title" => "2 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
},
"notification_id" => "93aec6e9-2490-4e9f-936c-74e41b4518f4",
"workflow_key" => "insight-issue-added"
}
Meta
%{"orig_scheduled_at" => 1777557965818164, "structured" => true}
Errors
Attempt 5—6h 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—6h 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—6h 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—6h 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—6h 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