25115266
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
00:00.222
Run Time
00:00.008
Inserted
9h ago
Scheduled
9h ago
Completed
—
Cancelled
—
Discarded
9h ago
Args
%{
"account_id" => "105345",
"data" => %{
"account_insight_agent_id" => "f67e5a2f-b0ce-4a97-a0be-017c29ccb36c",
"insights" => [
%{
"action_plan" => "Treat this as routine cleanup:\n1. Review the linked experiences and confirm which ones still support an active onboarding, announcement, or workflow.\n2. Unpublish obvious test or deprecated items first, especially anything labeled **test**, **demo**, or tied to retired contract templates.\n3. Keep intentionally dormant or seasonal content published only if you expect it to be reused soon; otherwise unpublish it so reporting and content inventory stay clean.\n4. After cleanup, repeat this review monthly to keep only live experiences that still earn traffic.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support unpublish_experience tool to unpublish the published banner named 'Liz Testing' with experience ID '86869431-7ad5-484d-af78-9da6388fc73f'. This banner has had no activity in the last 30 days and is part of a routine cleanup review.",
"title" => "Unpublish inactive test banner",
"undo_prompt" => "Use the product_support publish_experience tool to republish the banner named 'Liz Testing' with experience ID '86869431-7ad5-484d-af78-9da6388fc73f' if it needs to be restored."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named 'TEST FIDIC Submit insurance Details' with experience ID '2174cd93-f472-485d-b44b-52c9c3421dd7'. This flow has had no activity in the last 30 days and is a clear test-content cleanup candidate.",
"title" => "Unpublish inactive test flow",
"undo_prompt" => "Use the product_support publish_experience tool to republish the flow named 'TEST FIDIC Submit insurance Details' with experience ID '2174cd93-f472-485d-b44b-52c9c3421dd7' if it needs to be restored."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support unpublish_experience tool to unpublish the published checklist named 'TEST FIDIC Yellow Emp first 30 days' with experience ID '33964f4f-65c9-4358-adbe-da8c614da378'. This checklist has had no activity in the last 30 days and is a clear test-content cleanup candidate.",
"title" => "Unpublish inactive test checklist",
"undo_prompt" => "Use the product_support publish_experience tool to republish the checklist named 'TEST FIDIC Yellow Emp first 30 days' with experience ID '33964f4f-65c9-4358-adbe-da8c614da378' if it needs to be restored."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named 'Lily Test Survey' with experience ID '6acfb4d2-456f-4514-9597-537eedec5365'. This flow has had no activity in the last 30 days and is part of a routine hygiene review.",
"title" => "Unpublish inactive survey flow",
"undo_prompt" => "Use the product_support publish_experience tool to republish the flow named 'Lily Test Survey' with experience ID '6acfb4d2-456f-4514-9597-537eedec5365' if it needs to be restored."
}
],
"cta_text" => "Review inactive experiences",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Reducing stale published content should make your experience inventory easier to manage, lower the chance of outdated content resurfacing, and improve focus on active adoption programs.",
"finding" => "I checked published **Flows, Pins, Banners, and Checklists** that were published more than **3 weeks ago** and found **101 experiences** with **no seen events or checklist enrollments in the last 30 days**.\n\nThis looks like a normal content hygiene opportunity, not necessarily a problem: many appear to be older workflow reminders, onboarding assets, or test content that may no longer be relevant.\n\n**Breakdown**\n- **86 Flows**\n- **1 Banner**\n- **14 Checklists**\n- **0 Pins**\n\n**What these experiences were designed to do**\n- Most inactive **flows** appear to be legacy contract-workflow reminders, submission prompts, and compliance notices based on names like FIDIC, JCT, NEC3, and NEC4 reminders.\n- The inactive **checklists** are mostly first/last **30-day or 90-day onboarding checklists** for contract templates and onboarding journeys.\n- The inactive **banner** appears to be a **test banner**.\n- No published **pins** met the inactivity criteria.\n\n**Inactive published flows**\n- [Lily Test Survey](https://studio.appcues.com/flows/6acfb4d2-456f-4514-9597-537eedec5365/settings)\n - Type: Flow\n- [FIDIC Obtain the consent of the Engineer to the appointment of a proposed Contractor’s Representative](https://studio.appcues.com/flows/3e80e40e-1722-463d-b7fe-9c6e1071cc8d/settings)\n - Type: Flow\n- [FIDIC Notify of an error, fault or defect in the Employer’s Requirements](https://studio.appcues.com/flows/83ca1624-f4f4-4b84-94ec-3c645e195c76/settings)\n - Type: Flow\n- [TEST FIDIC Submit insurance Details](https://studio.appcues.com/flows/2174cd93-f472-485d-b44b-52c9c3421dd7/settings)\n - Type: Flow\n- [FIDIC Submit insurance Details](https://studio.appcues.com/flows/f272d270-55d7-419d-b7d0-9b5b2d41297d/settings)\n - Type: Flow\n- [FIDIC Respond to the Contractor’s submission of the initial programme](https://studio.appcues.com/flows/1116feb7-f51a-4315-a82a-b0b3eb9bda30/settings)\n - Type: Flow\n- [FIDIC Respond to a Contractor’s request to obtain the consent of the Engineer to the appointment of a proposed Subcontractor](https://studio.appcues.com/flows/41db07bf-2a57-480b-a8fc-243d7a142361/settings)\n - Type: Flow\n- [FIDIC Respond to a Contractor’s request for consent of the Engineer to the appointment of a proposed Contractor’s Representative](https://studio.appcues.com/flows/32b42c22-466a-4952-a405-90bce98461de/settings)\n - Type: Flow\n- [FIDIC Respond to a Contractor’s Notification of an error, fault or defect in the Employer’s Requirements](https://studio.appcues.com/flows/b8e71493-62df-4a09-825a-6a74fe86e745/settings)\n - Type: Flow\n- [FIDIC Notify of any defects in the Contractor’s Documents](https://studio.appcues.com/flows/f9eed344-da4c-46fe-bbea-2501e6325a2a/settings)\n - Type: Flow\n- [FIDIC Submit insurance details](https://studio.appcues.com/flows/5fc952b2-473a-4a21-8372-6ee57602c476/settings)\n - Type: Flow\n- [FIDIC Submit the initial programme](https://studio.appcues.com/flows/c16bcd60-75e4-4f35-9aa5-08b642e9b190/settings)\n - Type: Flow\n- [FIDIC Submit the Health and Safety Manual](https://studio.appcues.com/flows/29d6a2fe-9d8a-4626-baa3-959be6798820/settings)\n - Type: Flow\n- [FIDIC Submit the quality management system](https://studio.appcues.com/flows/a4bc26bc-20a9-47c2-ba95-faabb66b8098/settings)\n - Type: Flow\n- [FIDIC Obtain the consent of the Engineer to the appointment of a proposed Subcontractor](https://studio.appcues.com/flows/fa732ec6-01c1-4d65-a63b-fc67971478c3/settings)\n - Type: Flow\n- [FIDIC Deliver the Performance Security](https://studio.appcues.com/flows/068fe4d3-5600-444b-a0f4-b3858714d31f/settings)\n - Type: Flow\n- [FIDIC Notify of any defects in the Contractor’s Documents](https://studio.appcues.com/flows/8c8f8ffb-8e2f-4f02-8bed-e6fd63e6fb71/settings)\n - Type: Flow\n- [JCT Remind the Contractor to provide a certified copy of the Contract Documents (2.7.2)](https://studio.appcues.com/flows/79680203-7e1b-48c7-a123-ef23294760e4/settings)\n - Type: Flow\n- [JCT Notify reminder of Contractor's Design Documents (2.8)](https://studio.appcues.com/flows/fbcee620-359f-4635-840c-b9a0d369797b/settings)\n - Type: Flow" <> ...,
"outcomes" => ["engagement", "adoption"],
"priority" => "high",
"title" => "101 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
},
"notification_id" => "2c6141bb-6c18-4aa8-9a7b-9b04d66ce1b1",
"workflow_key" => "insight-issue-added"
}
Meta
%{"orig_scheduled_at" => 1777405488172418, "structured" => true}
Errors
Attempt 5—9h 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+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+88574494) 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—9h 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+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+88574494) 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—9h 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+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+88574494) 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—9h 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+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+88574494) 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—9h 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+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
(customer_api 1.21.0+88574494) 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