25358351
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
00:00.318
Run Time
00:00.011
Inserted
2h ago
Scheduled
2h ago
Completed
—
Cancelled
—
Discarded
2h ago
Args
%{
"account_id" => "201694",
"data" => %{
"account_insight_agent_id" => "906f9f3f-fbd6-46b9-9e42-f87410018566",
"insights" => [
%{
"action_plan" => "Review whether each experience still serves a live audience or current workflow. If an experience is tied to an outdated onboarding path, a demo environment, or a very narrow audience that no longer exists, unpublishing it is a healthy cleanup step. If any of these should remain live, double-check their targeting and audience assumptions before leaving them published.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID 38e59f19-9261-40ab-a745-4aade9dee636 named \"John's New Provider Shoutout and BAA prompts\". This experience was published on 2024-06-24 and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days.",
"title" => "Unpublish inactive provider tour flow",
"undo_prompt" => "Use the product_support agent and its publish_experience tool to publish the web flow with experience ID 38e59f19-9261-40ab-a745-4aade9dee636 named \"John's New Provider Shoutout and BAA prompts\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID 771cb243-7381-4fe8-8d20-f4316bbe5ba6 named \"Get Help on Your Dashboard\". This experience was published on 2024-06-21 and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days.",
"title" => "Unpublish inactive dashboard help flow",
"undo_prompt" => "Use the product_support agent and its publish_experience tool to publish the web flow with experience ID 771cb243-7381-4fe8-8d20-f4316bbe5ba6 named \"Get Help on Your Dashboard\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published pin with experience ID 543d66a6-c1ea-409d-9e3f-78e15fc2d62d named \"Free Trial on Demo\". This experience was published on 2024-10-11 and had 0 seen, 0 completed, 0 dismissed, and 0 errors in the last 30 days.",
"title" => "Unpublish inactive free trial pin",
"undo_prompt" => "Use the product_support agent and its publish_experience tool to publish the pin with experience ID 543d66a6-c1ea-409d-9e3f-78e15fc2d62d named \"Free Trial on Demo\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published banner with experience ID 746009c2-06b6-4124-834e-93158b95f8df named \"Tour Banner\". This experience was published on 2024-06-10 and had 0 seen, 0 completed, 0 dismissed, and 0 errors in the last 30 days.",
"title" => "Unpublish inactive tour banner",
"undo_prompt" => "Use the product_support agent and its publish_experience tool to publish the banner with experience ID 746009c2-06b6-4124-834e-93158b95f8df named \"Tour Banner\"."
}
],
"cta_text" => "Review inactive experiences",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Unpublishing stale experiences can reduce maintenance overhead, keep your live experience inventory cleaner, and help your team focus on journeys that are actively supporting activation and engagement.",
"finding" => "As part of routine experience hygiene, I reviewed published **Flows, Pins, Banners, and Checklists** that were published more than **3 weeks ago** and checked their activity in the last **30 days**. I found **4 published experiences** with **no activity at all**.\n\n- [John's New Provider Shoutout and BAA prompts](https://studio.appcues.com/flows/38e59f19-9261-40ab-a745-4aade9dee636/settings)\n - Type: Flow\n - Published: **2024-06-24**\n - Designed to: onboard providers through a welcome tour, BAA signing guidance, content libraries, messaging, and feature setup such as telehealth and calendar\n - Targeting: all URLs on **mybodysite.com** / **\\*.mybodysite.com** for a specific audience segment\n - Goals: none\n - Last 30 days: **0 seen**\n\n- [Get Help on Your Dashboard](https://studio.appcues.com/flows/771cb243-7381-4fe8-8d20-f4316bbe5ba6/settings)\n - Type: Flow\n - Published: **2024-06-21**\n - Designed to: point providers to dashboard help resources, tutorials, office hours, and support options\n - Targeting: all URLs on **mybodysite.com** / **\\*.mybodysite.com** for a specific audience segment\n - Goals: none\n - Last 30 days: **0 seen**\n\n- [Free Trial on Demo](https://studio.appcues.com/pins/543d66a6-c1ea-409d-9e3f-78e15fc2d62d/settings)\n - Type: Pin\n - Published: **2024-10-11**\n - Designed to: promote the free trial from **demo.mybodysite.com** with a CTA to start a trial\n - Targeting: homepage on **demo.mybodysite.com**\n - Goals: none\n - Last 30 days: **0 seen**\n\n- [Tour Banner](https://studio.appcues.com/banners/746009c2-06b6-4124-834e-93158b95f8df/settings)\n - Type: Banner\n - Published: **2024-06-10**\n - Designed to: show a simple promo banner with a CTA button and dismiss option\n - Targeting: all URLs on **mybodysite.com** for user property **userId = 448077**\n - Goals: none\n - Last 30 days: **0 seen**",
"outcomes" => ["engagement", "activation"],
"priority" => "medium",
"title" => "4 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
},
"notification_id" => "f60bb74a-9810-4a74-a859-df20b7e19fed",
"workflow_key" => "insight-issue-added"
}
Meta
%{"orig_scheduled_at" => 1777557560961966, "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