25368321 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 00:00.329
Run Time 00:00.006
Inserted 2h ago
Scheduled 2h ago
Completed
Cancelled
Discarded 2h ago

Args

%{
  "account_id" => "33333",
  "data" => %{
    "account_insight_agent_id" => "f387f8cd-d952-43fd-ab92-98e2ddcd42a3",
    "insights" => [
      %{
        "action_plan" => "Review these inactive experiences and decide whether they still support a live workflow. If a flow supports a retired feature, old environment, or no-longer-relevant onboarding path, unpublish it. If it is still strategically important, keep it live but review its targeting and trigger conditions to confirm it can still reach users.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID 66676b70-1a70-435d-a6ff-f05c4038ee5b named \"Manhole Filters New Feature\". This flow has had 0 seen users in the last 30 days and was published on 2022-03-24.",
            "title" => "Unpublish Manhole Filters New Feature",
            "undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID 66676b70-1a70-435d-a6ff-f05c4038ee5b named \"Manhole Filters New Feature\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID -LZ0yml9bxY7ZYActSVy named \"Manhole Tabs\". This flow has had 0 seen users in the last 30 days and was published on 2022-03-04.",
            "title" => "Unpublish Manhole Tabs flow",
            "undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID -LZ0yml9bxY7ZYActSVy named \"Manhole Tabs\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID -LYx4wBSG3dXvmIRNpy2 named \"Manhole PDF Creation Slidout\". This flow has had 0 seen users in the last 30 days and was published on 2022-03-04.",
            "title" => "Unpublish Manhole PDF Creation flow",
            "undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID -LYx4wBSG3dXvmIRNpy2 named \"Manhole PDF Creation Slidout\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID -LZzmGerO0l6__egDNjY named \"PGM Tabs\". This flow has had 0 seen users in the last 30 days and was published on 2020-05-05.",
            "title" => "Unpublish PGM Tabs flow",
            "undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID -LZzmGerO0l6__egDNjY named \"PGM Tabs\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID -LZV18LRlKh8lal83-u- named \"Manhole Navigation Tooltips\". This flow has had 0 seen users in the last 30 days and was published on 2020-04-12.",
            "title" => "Unpublish Manhole Navigation Tooltips",
            "undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID -LZV18LRlKh8lal83-u- named \"Manhole Navigation Tooltips\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID -LVw1AaXE79MqxdKruua named \"PGM Dummy Data Confirmation\". This flow has had 0 seen users in the last 30 days and was published on 2020-01-26.",
            "title" => "Unpublish PGM Dummy Data flow",
            "undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID -LVw1AaXE79MqxdKruua named \"PGM Dummy Data Confirmation\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID -LZzg-jccl5G7YRFpR_h named \"PGM PDF Creation Slideout\". This flow has had 0 seen users in the last 30 days and was published on 2020-01-26.",
            "title" => "Unpublish PGM PDF Creation flow",
            "undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID -LZzg-jccl5G7YRFpR_h named \"PGM PDF Creation Slideout\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID -LZzbcTNDwf5vZm_KyIi named \"PGM Detail First Show\". This flow has had 0 seen users in the last 30 days and was published on 2020-01-26.",
            "title" => "Unpublish PGM Detail First Show",
            "undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID -LZzbcTNDwf5vZm_KyIi named \"PGM Detail First Show\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID -LZzqY1L1RomsyuQfctj named \"PGM Navigation Tooltips\". This flow has had 0 seen users in the last 30 days and was published on 2020-01-26.",
            "title" => "Unpublish PGM Navigation Tooltips",
            "undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID -LZzqY1L1RomsyuQfctj named \"PGM Navigation Tooltips\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID -LZzawGbpPlzp3TO4M_U named \"PGM List First Show\". This flow has had 0 seen users in the last 30 days and was published on 2020-01-17.",
            "title" => "Unpublish PGM List First Show",
            "undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID -LZzawGbpPlzp3TO4M_U named \"PGM List First Show\"."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up inactive published content should reduce maintenance overhead and lower the risk of outdated messaging appearing in production, while keeping your published experience inventory focused on active adoption paths.",
        "finding" => "As part of routine content hygiene, I reviewed published experiences that were published more than 3 weeks ago and checked for activity in the last 30 days. **10 experiences had 0 seen users** in that window.\n\n- [Manhole Filters New Feature](https://studio.appcues.com/flows/66676b70-1a70-435d-a6ff-f05c4038ee5b/settings)\n  - Type: Flow\n  - Purpose: Announces improvements to the manhole survey screen and walks users through new filters, map view, batch export, and CSV import.\n  - Targeting: Shown on the manhole survey page for a specific segment; frequency is once.\n\n- [Manhole Tabs](https://studio.appcues.com/flows/-LZ0yml9bxY7ZYActSVy/settings)\n  - Type: Flow\n  - Purpose: General guided tour of manhole data tabs like filters, export, map, CSV import, and batch update.\n  - Targeting: Broad URL targeting; no goals configured.\n\n- [Manhole PDF Creation Slidout](https://studio.appcues.com/flows/-LYx4wBSG3dXvmIRNpy2/settings)\n  - Type: Flow\n  - Purpose: Follow-up guidance after a user exports a manhole PDF, introducing edit, audit trail, and navigation options.\n  - Targeting: Broad URL targeting; no goals configured.\n\n- [PGM Tabs](https://studio.appcues.com/flows/-LZzmGerO0l6__egDNjY/settings)\n  - Type: Flow\n  - Purpose: Tour of PGM data tabs including map, batch update, batch export, and CSV import.\n  - Targeting: Broad URL targeting; no goals configured.\n\n- [Manhole Navigation Tooltips](https://studio.appcues.com/flows/-LZV18LRlKh8lal83-u-/settings)\n  - Type: Flow\n  - Purpose: Navigation onboarding for manhole users, highlighting jobs, map, users, company details, data transfer, billing, and profile areas.\n  - Targeting: Broad URL targeting; no goals configured.\n\n- [PGM Dummy Data Confirmation](https://studio.appcues.com/flows/-LVw1AaXE79MqxdKruua/settings)\n  - Type: Flow\n  - Purpose: Confirms loading dummy PGM data so users can explore exports, edits, and witness diagrams.\n  - Targeting: Broad URL targeting; no goals configured.\n\n- [PGM PDF Creation Slideout](https://studio.appcues.com/flows/-LZzg-jccl5G7YRFpR_h/settings)\n  - Type: Flow\n  - Purpose: Follow-up guidance after exporting a witness diagram, introducing editing, audit trail, and related PGM actions.\n  - Targeting: Broad URL targeting; no goals configured.\n\n- [PGM Detail First Show](https://studio.appcues.com/flows/-LZzbcTNDwf5vZm_KyIi/settings)\n  - Type: Flow\n  - Purpose: Introduces the PGM detail view and explains exporting witness diagrams from the record.\n  - Targeting: Broad URL targeting; no goals configured.\n\n- [PGM Navigation Tooltips](https://studio.appcues.com/flows/-LZzqY1L1RomsyuQfctj/settings)\n  - Type: Flow\n  - Purpose: Navigation tour for PGM users covering jobs, map, users, company details, data transfer, billing, and profile.\n  - Targeting: Broad URL targeting; no goals configured.\n\n- [PGM List First Show](https://studio.appcues.com/flows/-LZzawGbpPlzp3TO4M_U/settings)\n  - Type: Flow\n  - Purpose: Introduces the PGM list view and helps users open individual PGM records.\n  - Targeting: Limited to localhost and kullatest.herokuapp.com domains; no goals configured.\n\nI did **not** find any published pins, banners, checklists, or launchpads that met the criteria in this account.",
        "outcomes" => ["engagement", "adoption"],
        "priority" => "medium",
        "title" => "10 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "a365860e-6dfc-47f3-9484-055d8e5b67c8",
  "workflow_key" => "insight-issue-added"
}

Meta

%{"orig_scheduled_at" => 1777558720688367, "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