24953850 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 00:00.133
Run Time 00:00.006
Inserted 3d ago
Scheduled 3d ago
Completed
Cancelled
Discarded 3d ago

Args

%{
  "account_id" => "37462",
  "data" => %{
    "account_insight_agent_id" => "031d89cb-d018-47fa-8cc7-31eb5caf21c0",
    "insights" => [
      %{
        "action_plan" => "Review whether each experience still supports an active journey.\n\n1. Unpublish clearly retired or test content to keep your live experience inventory clean.\n2. For **Benchmark Profiles**, investigate whether the page or selector has changed before republishing, since it is logging errors without any successful views.\n3. Keep content live only if it is intentionally dormant for a planned rollout or limited audience.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and unpublish the published web flow with experience ID e54d8c01-222a-4824-9368-9e3aff84d93a named \"Browser History Deprecation Test\". This flow was published on 2026-02-23 and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only; do not edit its draft content.",
            "title" => "Unpublish inactive browser test flow",
            "undo_prompt" => "Use the product_support agent and publish the web flow with experience ID e54d8c01-222a-4824-9368-9e3aff84d93a named \"Browser History Deprecation Test\" so it becomes live again with its current draft/published content."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and unpublish the published web flow with experience ID a3200106-6000-4284-938b-e0c514ffe209 named \"Customize + Save a Benchmark: Benchmark Profiles\". This flow was published on 2023-10-12 and had 0 seen, 0 completed, and 0 skipped in the last 30 days while still logging 747 errors. Unpublish the live experience only; do not edit its draft content.",
            "title" => "Unpublish inactive benchmark profiles flow",
            "undo_prompt" => "Use the product_support agent and publish the web flow with experience ID a3200106-6000-4284-938b-e0c514ffe209 named \"Customize + Save a Benchmark: Benchmark Profiles\" so it becomes live again with its current draft/published content."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and unpublish the published checklist with experience ID -MqFwNo-8Q1FP_hAWDBt named \"ONBOARDING V2.List 1\". This checklist was published on 2021-12-06 and had 0 seen, 0 completed, 0 skipped, and 0 dismissed in the last 30 days. Unpublish the live checklist only; do not edit its content.",
            "title" => "Unpublish inactive onboarding checklist",
            "undo_prompt" => "Use the product_support agent and publish the checklist with experience ID -MqFwNo-8Q1FP_hAWDBt named \"ONBOARDING V2.List 1\" so it becomes live again with its current content."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up inactive live content should reduce maintenance overhead, lower the chance of outdated experiences resurfacing, and help your team focus on experiences that actively support onboarding and engagement.",
        "finding" => "As part of routine content hygiene, I reviewed published Pins, Banners, Flows, and Checklists that were published more than 3 weeks ago. **3 experiences have had no activity in the last 30 days**.\n\n- [Browser History Deprecation Test](https://studio.appcues.com/flows/e54d8c01-222a-4824-9368-9e3aff84d93a/settings)\n  - Type: Flow\n  - Published: **2026-02-23**\n  - Activity: **0 seen**, **0 completed**, **0 skipped**, **0 errors** in the last 30 days\n  - Purpose: A small test modal confirming Appcues delivery, targeted only to two internal email addresses on `my.pitchbook.com` and a dev domain.\n\n- [Customize + Save a Benchmark: Benchmark Profiles](https://studio.appcues.com/flows/a3200106-6000-4284-938b-e0c514ffe209/settings)\n  - Type: Flow\n  - Published: **2023-10-12**\n  - Activity: **0 seen**, **0 completed**, **0 skipped** in the last 30 days\n  - Additional signal: **747 errors** in the same window\n  - Purpose: A tooltip that explains how to click **Customize Benchmark** on `/benchmarks/profile/` pages.\n\n- [ONBOARDING V2.List 1](https://studio.appcues.com/checklists/-MqFwNo-8Q1FP_hAWDBt/edit)\n  - Type: Checklist\n  - Published: **2021-12-06**\n  - Activity: **0 seen**, **0 completed**, **0 skipped**, **0 dismissed** in the last 30 days\n  - Purpose: A legacy onboarding checklist covering personalization, platform basics, support resources, and a welcome gift.",
        "outcomes" => ["engagement", "activation"],
        "priority" => "medium",
        "title" => "3 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "317500b2-6f6e-49dd-8996-e18c35fb86d9",
  "workflow_key" => "insight-issue-added"
}

Meta

%{"orig_scheduled_at" => 1777317108065398, "structured" => true}

Errors

Attempt 5—3d 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+5243cc40) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+5243cc40) 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—3d 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+5243cc40) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+5243cc40) 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—3d 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+5243cc40) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+5243cc40) 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—3d 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+5243cc40) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+5243cc40) 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—3d 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+5243cc40) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+5243cc40) 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