25361884
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
00:00.337
Run Time
00:00.006
Inserted
1h ago
Scheduled
1h ago
Completed
—
Cancelled
—
Discarded
1h ago
Args
%{
"account_id" => "112853",
"data" => %{
"account_insight_agent_id" => "942589c0-2ccb-466c-af8b-563c41bcac12",
"insights" => [
%{
"action_plan" => "Review whether each experience still supports an active journey. If it no longer matches your current onboarding or engagement strategy, unpublish it to reduce clutter and keep reporting focused on live content that is still driving adoption. If any of these should still be active, inspect their targeting and the product area they are attached to before keeping them live.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID dfe34146-3669-4703-8403-06f6a414605f named \"First Edu-Job Completion\". This flow has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days, and it was published on 2025-12-22T09:52:04.639928Z. Unpublish only this experience.",
"title" => "Unpublish inactive Edu-Job completion flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID dfe34146-3669-4703-8403-06f6a414605f named \"First Edu-Job Completion\" that was previously unpublished as part of an inactivity cleanup review. Publish only this experience."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID c882a1fe-2e07-4458-93e5-46ce3d5ec278 named \"PYP\". This flow has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days, and it was published on 2025-04-26T07:12:42.577516Z. Unpublish only this experience.",
"title" => "Unpublish inactive Pick Your Passion flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID c882a1fe-2e07-4458-93e5-46ce3d5ec278 named \"PYP\" that was previously unpublished as part of an inactivity cleanup review. Publish only this experience."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 4cefc897-66d5-48dd-b901-729e40b6150a named \"Onboarding - Anna\". This flow has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days, and it was published on 2025-02-07T16:52:12.877501Z. Unpublish only this experience.",
"title" => "Unpublish inactive onboarding flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 4cefc897-66d5-48dd-b901-729e40b6150a named \"Onboarding - Anna\" that was previously unpublished as part of an inactivity cleanup review. Publish only this experience."
}
],
"cta_text" => "Review inactive experiences",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Unpublishing unused experiences will simplify ongoing experience management, reduce noise in your published inventory, and keep attention on content that is actually contributing to activation and engagement.",
"finding" => "I reviewed **7 published experiences** that were published more than **3 weeks ago**. **3** of them had **no activity at all in the last 30 days** (**0 seen, 0 completed, 0 skipped**), which makes them good candidates for routine cleanup.\n\n- [First Edu-Job Completion](https://studio.appcues.com/flows/dfe34146-3669-4703-8403-06f6a414605f/settings)\n - Type: Flow\n - Published: **2025-12-22**\n - Designed to: celebrate a learner's first Edu-Job completion, then redirect them to view earnings.\n - Targeting: all URLs for users where **role = learner**.\n - Goals: none configured.\n\n- [PYP](https://studio.appcues.com/flows/c882a1fe-2e07-4458-93e5-46ce3d5ec278/settings)\n - Type: Flow\n - Published: **2025-04-26**\n - Designed to: collect a learner's \"Pick Your Passion\" response after a short video and encourage future Edu-Job participation.\n - Targeting: shown once across Life Hub domains including **lifehublearning.com** and related environments.\n - Goals: none configured.\n\n- [Onboarding - Anna](https://studio.appcues.com/flows/4cefc897-66d5-48dd-b901-729e40b6150a/settings)\n - Type: Flow\n - Published: **2025-02-07**\n - Designed to: onboard new users into Life Hub and guide them through the Edu-Job center with welcome, interest selection, and tooltip guidance.\n - Targeting: configured for the **jobs-center** experience.\n - Goals: none configured.\n\nThis looks like normal content hygiene rather than a setup problem: these experiences are live, but they are not being used.",
"outcomes" => ["activation", "engagement"],
"priority" => "medium",
"title" => "3 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
},
"notification_id" => "77043539-7b0a-4efb-8384-d552383728a3",
"workflow_key" => "insight-issue-added"
}
Meta
%{"orig_scheduled_at" => 1777557805162476, "structured" => true}
Errors
Attempt 5—1h 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—1h 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—1h 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—1h 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—1h 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