25356950
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
00:00.442
Run Time
00:00.007
Inserted
2h ago
Scheduled
2h ago
Completed
—
Cancelled
—
Discarded
2h ago
Args
%{
"account_id" => "45325",
"data" => %{
"account_insight_agent_id" => "77429441-5c11-49ee-8c05-1feffaf8ed37",
"insights" => [
%{
"action_plan" => "Treat this as normal experience hygiene: review whether each item is still intentionally live.\n\n1. Unpublish experiences that were one-time announcements, one-off account notices, or targeted tests that are no longer needed.\n2. Keep any experience that is intentionally dormant for a future campaign or a still-valid narrow audience.\n3. If an experience should stay live, review its targeting and trigger rules to confirm it can still reach the intended audience.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Happy with Purplepass Survey\" with experience ID \"502ca769-2539-4063-9af9-26ea84f70718\". This experience has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and should be unpublished as part of inactive experience cleanup.",
"title" => "Unpublish Happy with Purplepass Survey",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow named \"Happy with Purplepass Survey\" with experience ID \"502ca769-2539-4063-9af9-26ea84f70718\" again, restoring it to a live published state."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Checking Stats\" with experience ID \"-Lyf70UXb6jAKgDaAapz\". This experience has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and should be unpublished as part of inactive experience cleanup.",
"title" => "Unpublish Checking Stats flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow named \"Checking Stats\" with experience ID \"-Lyf70UXb6jAKgDaAapz\" again, restoring it to a live published state."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Box office Instructions\" with experience ID \"0adff5a9-e554-483f-af7a-f4a0cea5ccf5\". This experience has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and should be unpublished as part of inactive experience cleanup.",
"title" => "Unpublish Box office Instructions",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow named \"Box office Instructions\" with experience ID \"0adff5a9-e554-483f-af7a-f4a0cea5ccf5\" again, restoring it to a live published state."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Westminster License Due\" with experience ID \"2206924f-3abb-41ef-b981-5fb14a2e4631\". This experience has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and should be unpublished as part of inactive experience cleanup.",
"title" => "Unpublish Westminster License Due",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow named \"Westminster License Due\" with experience ID \"2206924f-3abb-41ef-b981-5fb14a2e4631\" again, restoring it to a live published state."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Updates To Dashboard (12/1 - Tour)\" with experience ID \"9c391414-dc50-4871-a55f-63d233803576\". This experience has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and should be unpublished as part of inactive experience cleanup.",
"title" => "Unpublish Dashboard updates tour",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow named \"Updates To Dashboard (12/1 - Tour)\" with experience ID \"9c391414-dc50-4871-a55f-63d233803576\" again, restoring it to a live published state."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Announcement Android (OLD)\" with experience ID \"7f52158c-fd98-44de-b9d2-93c17e80608f\". This experience has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and should be unpublished as part of inactive experience cleanup.",
"title" => "Unpublish Android announcement flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow named \"Announcement Android (OLD)\" with experience ID \"7f52158c-fd98-44de-b9d2-93c17e80608f\" again, restoring it to a live published state."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Purplepass Pro Announcement\" with experience ID \"741e8dc4-dc03-4d5e-8a86-eb4c5def27d0\". This experience has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and should be unpublished as part of inactive experience cleanup.",
"title" => "Unpublish Purplepass Pro announcement",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow named \"Purplepass Pro Announcement\" with experience ID \"741e8dc4-dc03-4d5e-8a86-eb4c5def27d0\" again, restoring it to a live published state."
}
],
"cta_text" => "Review inactive experiences",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Cleaning up inactive published experiences should reduce clutter in your live experience inventory and lower the risk of outdated or irrelevant messaging being shown if old targeting becomes active again.",
"finding" => "Routine cleanup found **7 published experiences** that were all published more than 3 weeks ago and had **no activity in the last 30 days**.\n\n- [Happy with Purplepass Survey](https://studio.appcues.com/flows/502ca769-2539-4063-9af9-26ea84f70718/settings)\n - Type: Flow\n - Designed to collect quick sentiment feedback about Purplepass from a highly specific audience on `/login`, with follow-up comments and no goals attached.\n- [Checking Stats](https://studio.appcues.com/flows/-Lyf70UXb6jAKgDaAapz/settings)\n - Type: Flow\n - Designed as a guided tour for the stats/reporting area, triggered on `www.purplepass.com` and walking users through sales, box office, geography, attendance, marketing, coupons, and guest list stats.\n- [Box office Instructions](https://studio.appcues.com/flows/0adff5a9-e554-483f-af7a-f4a0cea5ccf5/settings)\n - Type: Flow\n - Designed to onboard a single targeted box office user to the new box office experience, including printer and admit setup guidance plus a help article link.\n- [Westminster License Due](https://studio.appcues.com/flows/2206924f-3abb-41ef-b981-5fb14a2e4631/settings)\n - Type: Flow\n - Designed as a billing reminder for one specific account user whose annual license fee was past due, with no goals attached.\n- [Updates To Dashboard (12/1 - Tour)](https://studio.appcues.com/flows/9c391414-dc50-4871-a55f-63d233803576/settings)\n - Type: Flow\n - Designed to announce and tour dashboard, reporting, and preferences updates for an older cohort of users, with no goals attached.\n- [Announcement Android (OLD)](https://studio.appcues.com/flows/7f52158c-fd98-44de-b9d2-93c17e80608f/settings)\n - Type: Flow\n - Designed to announce the Android app and drive installs with a Google Play link for an older user cohort on the events area.\n- [Purplepass Pro Announcement](https://studio.appcues.com/flows/741e8dc4-dc03-4d5e-8a86-eb4c5def27d0/settings)\n - Type: Flow\n - Designed to announce Purplepass Pro for Android on the beta domain for an older user cohort, with no goals attached.\n\nThese appear to be a mix of legacy tours, one-off announcements, and very narrowly targeted messages that are no longer generating views.",
"outcomes" => ["engagement", "adoption"],
"priority" => "medium",
"title" => "7 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
},
"notification_id" => "8df98a5f-1acc-4c7a-8474-3dc6d3f5cefa",
"workflow_key" => "insight-issue-added"
}
Meta
%{"orig_scheduled_at" => 1777557377134074, "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