25368343
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.0.170
Queue Time
00:00.333
Run Time
00:00.006
Inserted
2h ago
Scheduled
2h ago
Completed
—
Cancelled
—
Discarded
2h ago
Args
%{
"account_id" => "88470",
"data" => %{
"account_insight_agent_id" => "882e0326-745b-4212-8657-7cf5c99e6ecd",
"insights" => [
%{
"action_plan" => "Review whether this survey flow still supports an active program. If not, unpublish it to keep your live experience inventory clean. If the campaign is still relevant, keep it live only after confirming its audience and trigger conditions still match your current product journey.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Combo Survey @ 5 Cont = Butterfly Interview + Onboarding Suggestions - July 2024 (PAUSED TO SURVE NEW NAME)\" with experience ID edb056ed-2d93-4093-bd57-d6cb975518a2. This flow has had zero seen, completed, skipped, and error events in the last 30 days and was published on 2024-11-13, so unpublish it as routine cleanup.",
"title" => "Unpublish inactive survey flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow named \"Combo Survey @ 5 Cont = Butterfly Interview + Onboarding Suggestions - July 2024 (PAUSED TO SURVE NEW NAME)\" with experience ID edb056ed-2d93-4093-bd57-d6cb975518a2."
}
],
"cta_text" => "Review inactive experience",
"entity_id" => "edb056ed-2d93-4093-bd57-d6cb975518a2",
"entity_type" => "flow",
"expected_impact" => "Unpublishing unused live content reduces clutter in your published inventory and lowers the chance of maintaining or troubleshooting experiences that are no longer serving users.",
"finding" => "I reviewed published Pins, Banners, Flows, and Checklists that were published more than 3 weeks ago and checked their last **30 days** of activity.\n\nInactive experience:\n- [Combo Survey @ 5 Cont = Butterfly Interview + Onboarding Suggestions - July 2024 (PAUSED TO SURVE NEW NAME)](https://studio.appcues.com/flows/edb056ed-2d93-4093-bd57-d6cb975518a2/settings)\n - Type: Flow\n - Published: **2024-11-13**\n - Last 30 days: **0 seen**, **0 completed**, **0 skipped**, **0 errors**\n - Designed to: collect survey feedback from users on how they found Newlywords, ask whether they would join a **15-minute feedback session**, and gather suggestions for improving onboarding\n - Targeting summary: shown on the **dashboard** at **www.newlywords.com**, triggered after the **\"Received 5 contributions\"** event, limited to a small set of specific user IDs, excludes users who already completed a purchase\n - Goal attached: **Purchased Book**\n\nThis looks like a good routine cleanup candidate rather than an urgent problem.",
"outcomes" => ["engagement"],
"priority" => "medium",
"title" => "1 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
},
"notification_id" => "e169b5b4-f995-4dcd-a101-f7c3c861681b",
"workflow_key" => "insight-issue-added"
}
Meta
%{"orig_scheduled_at" => 1777558735515069, "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