25370630
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
00:00.316
Run Time
00:00.007
Inserted
2h ago
Scheduled
2h ago
Completed
—
Cancelled
—
Discarded
2h ago
Args
%{
"account_id" => "93381",
"data" => %{
"account_insight_agent_id" => "bd5d4b40-43bd-4098-a258-f4800b84d3c8",
"insights" => [
%{
"action_plan" => "Review each linked experience and keep only the ones that still serve an active operational purpose, such as compliance messaging, account-status notices, or a still-valid targeted campaign. For the promo flows and narrowly targeted cleanup flows above, unpublishing is likely the right next step if those campaigns or user lists are no longer current.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow with experience ID 594eab93-4be6-4132-95f4-34e6b827eb93 named 'Rail launch tooltip flow'. This is a routine hygiene cleanup for a published flow with 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days.",
"title" => "Unpublish inactive rail launch flow",
"undo_prompt" => "Use the product_support publish_experience tool to publish the web flow with experience ID 594eab93-4be6-4132-95f4-34e6b827eb93 named 'Rail launch tooltip flow'."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow with experience ID 23b12a43-1623-4e72-a003-3a7a9a3c0ce2 named 'Downgrade account - QXLC'. This is a routine hygiene cleanup for a published flow with 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days.",
"title" => "Unpublish inactive downgrade notice flow",
"undo_prompt" => "Use the product_support publish_experience tool to publish the web flow with experience ID 23b12a43-1623-4e72-a003-3a7a9a3c0ce2 named 'Downgrade account - QXLC'."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow with experience ID 887f7e29-a27c-415f-a967-081581c242ee named 'Fake Account - Ying Chi'. This is a routine hygiene cleanup for a published flow with 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days.",
"title" => "Unpublish inactive Ying Chi flow",
"undo_prompt" => "Use the product_support publish_experience tool to publish the web flow with experience ID 887f7e29-a27c-415f-a967-081581c242ee named 'Fake Account - Ying Chi'."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow with experience ID f53a373a-79d1-471b-97db-597888568ee2 named 'Fake Account - Danny Gutmann'. This is a routine hygiene cleanup for a published flow with 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days.",
"title" => "Unpublish inactive Danny Gutmann flow",
"undo_prompt" => "Use the product_support publish_experience tool to publish the web flow with experience ID f53a373a-79d1-471b-97db-597888568ee2 named 'Fake Account - Danny Gutmann'."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow with experience ID 180ff30a-cd6a-499c-8b04-952f4358c0c6 named 'March/April Coupon - Out of Reach Users FT & FTE'. This is a routine hygiene cleanup for a published flow with 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days.",
"title" => "Unpublish inactive March April coupon flow",
"undo_prompt" => "Use the product_support publish_experience tool to publish the web flow with experience ID 180ff30a-cd6a-499c-8b04-952f4358c0c6 named 'March/April Coupon - Out of Reach Users FT & FTE'."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow with experience ID 7085349e-502f-4a7c-aed7-b8ff4a2f9f15 named 'June Coupon'. This is a routine hygiene cleanup for a published flow with 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days.",
"title" => "Unpublish inactive June coupon flow",
"undo_prompt" => "Use the product_support publish_experience tool to publish the web flow with experience ID 7085349e-502f-4a7c-aed7-b8ff4a2f9f15 named 'June Coupon'."
}
],
"cta_text" => "Review inactive experiences",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Unpublishing stale experiences reduces publishing clutter, lowers the risk of outdated messages resurfacing, and makes it easier to manage the experiences that still drive activation and engagement.",
"finding" => "As part of routine content hygiene, I reviewed published experiences that were live for **more than 3 weeks** and found **6** with **no seen events or enrollments in the last 30 days**.\n\n- [Rail launch tooltip flow](https://studio.appcues.com/flows/594eab93-4be6-4132-95f4-34e6b827eb93/settings)\n - Type: Flow\n - Designed to guide users through Rail/Ocean shipment filters on the **/shipments** page for a specific segment.\n - Goals: None configured.\n- [Downgrade account - QXLC](https://studio.appcues.com/flows/23b12a43-1623-4e72-a003-3a7a9a3c0ce2/settings)\n - Type: Flow\n - Designed to notify users from company code **QXLC** that their account was downgraded and prompt them to upgrade or contact an account manager.\n - Goals: None configured.\n- [Fake Account - Ying Chi](https://studio.appcues.com/flows/887f7e29-a27c-415f-a967-081581c242ee/settings)\n - Type: Flow\n - Designed to block or redirect a small set of users with flagged contact details and send them to schedule a demo.\n - Goals: None configured.\n- [Fake Account - Danny Gutmann](https://studio.appcues.com/flows/f53a373a-79d1-471b-97db-597888568ee2/settings)\n - Type: Flow\n - Designed to show an incorrect-contact warning and demo CTA for a very narrow set of email-targeted users.\n - Goals: None configured.\n- [March/April Coupon - Out of Reach Users FT & FTE](https://studio.appcues.com/flows/180ff30a-cd6a-499c-8b04-952f4358c0c6/settings)\n - Type: Flow\n - Designed to promote a time-bound **50% off** offer to a fixed list of email-targeted users.\n - Goals: None configured.\n- [June Coupon](https://studio.appcues.com/flows/7085349e-502f-4a7c-aed7-b8ff4a2f9f15/settings)\n - Type: Flow\n - Designed to promote a **25% off** upgrade offer on pricing and related pages to a very small email-targeted audience.\n - Goals: None configured.",
"outcomes" => ["engagement", "activation"],
"priority" => "medium",
"title" => "6 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
},
"notification_id" => "c6bf3183-16ce-425c-8ee5-a2910eb42090",
"workflow_key" => "insight-issue-added"
}
Meta
%{"orig_scheduled_at" => 1777558897944765, "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—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