25354491
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
00:00.302
Run Time
00:00.010
Inserted
1h ago
Scheduled
1h ago
Completed
—
Cancelled
—
Discarded
1h ago
Args
%{
"account_id" => "69101",
"data" => %{
"account_insight_agent_id" => "50be5729-e280-4c6c-ad62-b9ee4395fc83",
"insights" => [
%{
"action_plan" => "Treat this as routine experience hygiene. Review whether these legacy flows still support a live product area or current onboarding path. If they no longer serve an active use case, unpublish them to keep your published inventory clean. If either one should stay live, confirm the target page still exists and that the experience still matches the current UI and audience.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID 48beda02-52f9-4a0d-a94f-58039a2becf5 named \"Report Share 2\". This flow is currently published and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only; do not edit content.",
"title" => "Unpublish inactive report sharing flow",
"undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID 48beda02-52f9-4a0d-a94f-58039a2becf5 named \"Report Share 2\". Publish the existing draft/live content without making any content or rule changes."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID 412b5ed6-2bc1-435d-8e37-971deb97fe1b named \"Brand Conversation\". This flow is currently published and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only; do not edit content.",
"title" => "Unpublish inactive brand conversation flow",
"undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID 412b5ed6-2bc1-435d-8e37-971deb97fe1b named \"Brand Conversation\". Publish the existing draft/live content without making any content or rule changes."
}
],
"cta_text" => "Review inactive experiences",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Unpublishing unused legacy experiences reduces maintenance overhead, keeps your published experience list cleaner, and helps your team focus on experiences that are actively driving engagement.",
"finding" => "I reviewed published **Flows, Pins, Banners, and Checklists** that were published more than **3 weeks ago** and found **2 experiences** with **no activity in the last 30 days**.\n\n- [**Report Share 2**](https://studio.appcues.com/flows/48beda02-52f9-4a0d-a94f-58039a2becf5/settings)\n - Type: Flow\n - Published: **2022-11-08**\n - Last 30 days: **0 seen**, **0 completed**, **0 skipped**, **0 errors**\n - Designed to announce the **report sharing** feature on the reporting library page and encourage users to learn more via embedded walkthrough content.\n - Targeting: `app.listenfirstmedia.com` on `/ #explore/reporting/library`\n - Goals: **none configured**\n\n- [**Brand Conversation**](https://studio.appcues.com/flows/412b5ed6-2bc1-435d-8e37-971deb97fe1b/settings)\n - Type: Flow\n - Published: **2022-04-15**\n - Last 30 days: **0 seen**, **0 completed**, **0 skipped**, **0 errors**\n - Designed as a guided introduction to the **Brand Conversation** area, explaining conversation analysis tiles and navigation.\n - Targeting: `app.listenfirstmedia.com` on `/#explore/brand/conversation`\n - Goals: **none configured**",
"outcomes" => ["engagement"],
"priority" => "medium",
"title" => "2 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
},
"notification_id" => "ca668c22-4e9f-4799-b615-f57331539ee4",
"workflow_key" => "insight-issue-added"
}
Meta
%{"orig_scheduled_at" => 1777557181947379, "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