24376084
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.0.170
Queue Time
00:00.260
Run Time
00:00.006
Inserted
9d ago
Scheduled
9d ago
Completed
—
Cancelled
—
Discarded
9d ago
Args
%{
"account_id" => "139378",
"data" => %{
"account_insight_agent_id" => "1baaecd0-1ed1-4ed1-81d3-c52df196590e",
"insights" => [
%{
"action_plan" => "Treat this as routine content hygiene. Review whether each experience still supports a live workflow, page, or audience. If an experience is outdated, tied to a demo-only flow, or no longer needed, unpublish it to reduce clutter and keep your published inventory current. If any should remain live, confirm the target page and audience are still active before leaving it published.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 0103ceed-26f6-44d6-ac85-9b7c2d407b7e named \"[2025-11-12 - MANUAL] Marketplace Insights (Prod Announcement)\". This experience is currently published and has had 0 seen, 0 completed, 0 skipped, and 0 error users in the last 30 days.",
"title" => "Unpublish inactive announcement flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 0103ceed-26f6-44d6-ac85-9b7c2d407b7e named \"[2025-11-12 - MANUAL] Marketplace Insights (Prod Announcement)\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin with ID 61b4b35c-215a-4208-8e1f-8c30ec468a80 named \"Competitor Intelligence - Snapshots (Demo)\". This experience is currently published and has had 0 seen, 0 completed, 0 dismissed, and 0 error users in the last 30 days.",
"title" => "Unpublish inactive demo snapshots pin",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 61b4b35c-215a-4208-8e1f-8c30ec468a80 named \"Competitor Intelligence - Snapshots (Demo)\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin with ID 5a6f3366-a0ec-4ccf-b4a1-585b076d65d9 named \"Pending Notice Filter \\\"Search Required\\\"\". This experience is currently published and has had 0 seen, 0 completed, 0 dismissed, and 0 error users in the last 30 days.",
"title" => "Unpublish inactive notice filter pin",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 5a6f3366-a0ec-4ccf-b4a1-585b076d65d9 named \"Pending Notice Filter \\\"Search Required\\\"\"."
}
],
"cta_text" => "Review inactive experiences",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Unpublishing unused content keeps your live experience inventory cleaner and makes it easier to maintain the experiences that still drive engagement.",
"finding" => "These published experiences were all **published more than 3 weeks ago** and had **no activity in the last 30 days**:\n\n- [Marketplace Insights (Prod Announcement)](https://studio.appcues.com/flows/0103ceed-26f6-44d6-ac85-9b7c2d407b7e/settings)\n - Type: Flow\n - Designed to announce the rename from Amazon Insights to Marketplace Insights and highlight new eBay reporting, buy box tracking, and suppression insights\n - Targeting: shows on `platform.trackstreet.com` pages containing `amazon-insights`, `ebay-insights`, or `amazon-suppression-reports`\n - Goals: none\n\n- [Competitor Intelligence - Snapshots (Demo)](https://studio.appcues.com/pins/61b4b35c-215a-4208-8e1f-8c30ec468a80/settings)\n - Type: Pin\n - Designed as a tooltip walkthrough explaining demo snapshot metrics and charts in the Competitor Intelligence experience\n - Targeting: demo snapshots page on `platform.trackstreet.com`, limited to a small set of internal/demo email users\n - Goals: none\n\n- [Pending Notice Filter \"Search Required\"](https://studio.appcues.com/pins/5a6f3366-a0ec-4ccf-b4a1-585b076d65d9/settings)\n - Type: Pin\n - Designed to remind users to click Search after applying filters on the pending notifications page\n - Targeting: `platform.trackstreet.com/enforcement-workflows/pending-notifications`\n - Goals: none",
"outcomes" => ["engagement", "adoption"],
"priority" => "medium",
"title" => "3 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
},
"notification_id" => "fb39ee8d-578f-422a-9fd2-a6f40e2fea7a",
"workflow_key" => "insight-issue-added"
}
Meta
%{"orig_scheduled_at" => 1776799464147848, "structured" => true}
Errors
Attempt 5—9d 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+a640f45e) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+a640f45e) 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—9d 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+a640f45e) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+a640f45e) 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—9d 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+a640f45e) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+a640f45e) 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—9d 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+a640f45e) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+a640f45e) 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—9d 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+a640f45e) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+a640f45e) 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