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

Args

%{
  "account_id" => "107777",
  "data" => %{
    "account_insight_agent_id" => "2804edd1-5177-4506-8e75-22a204daa2f4",
    "insights" => [
      %{
        "action_plan" => "Treat this as routine experience hygiene:\n\n1. Review the linked settings pages to confirm whether each experience still supports an active journey.\n2. If an experience is no longer needed, unpublish it to reduce clutter and avoid unintended delivery.\n3. If it is still strategically important, keep it live but refresh its targeting or selectors before expecting it to drive engagement again — especially for the Kubernetes flows that are still producing errors.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID bf0dd5aa-c09f-49b0-a1c1-f59a5170acf0 named \"Main Dashboard\". This flow has had 0 seen users in the last 30 days and was published on 2024-07-31.",
            "title" => "Unpublish Main Dashboard flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID bf0dd5aa-c09f-49b0-a1c1-f59a5170acf0 named \"Main Dashboard\" after it was previously unpublished during inactive experience cleanup."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID a197daf4-72dc-43b0-b0d2-3d2ff2d1d688 named \"Kubernetes tour\". This flow has had 0 seen users in the last 30 days and was published on 2024-07-31.",
            "title" => "Unpublish Kubernetes tour flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID a197daf4-72dc-43b0-b0d2-3d2ff2d1d688 named \"Kubernetes tour\" after it was previously unpublished during inactive experience cleanup."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 437dac23-8916-4364-bf97-f4bd07c700ee named \"Kubernetes dashboard\". This flow has had 0 seen users in the last 30 days and was published on 2024-07-31.",
            "title" => "Unpublish Kubernetes dashboard flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 437dac23-8916-4364-bf97-f4bd07c700ee named \"Kubernetes dashboard\" after it was previously unpublished during inactive experience cleanup."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 5b20fa72-f487-4418-849e-becb4b8d7025 named \"Kubernetes cluster\". This flow has had 0 seen users in the last 30 days and was published on 2024-07-31.",
            "title" => "Unpublish Kubernetes cluster flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 5b20fa72-f487-4418-849e-becb4b8d7025 named \"Kubernetes cluster\" after it was previously unpublished during inactive experience cleanup."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID ffb9fa7b-ee4c-4386-b1af-3bc78b47a3f9 named \"Checkmk SaaS - Agent Setup\". This flow has had 0 seen users in the last 30 days and was published on 2024-01-19.",
            "title" => "Unpublish Agent Setup flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID ffb9fa7b-ee4c-4386-b1af-3bc78b47a3f9 named \"Checkmk SaaS - Agent Setup\" after it was previously unpublished during inactive experience cleanup."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up these inactive experiences should reduce unnecessary maintenance overhead, prevent stale content from lingering in production, and improve focus on experiences that are actually driving adoption.",
        "finding" => "These published experiences are all **older than 3 weeks** and had **0 seen users in the last 30 days**:\n\n- [Main Dashboard](https://studio.appcues.com/flows/bf0dd5aa-c09f-49b0-a1c1-f59a5170acf0/settings)\n  - Type: Flow\n  - Designed to orient users on the main dashboard with tooltip guidance for host and service statistics.\n  - Targeting: shown on `dashboard.py` on Checkmk play/local domains.\n  - Goals: 1 goal attached.\n\n- [Kubernetes tour](https://studio.appcues.com/flows/a197daf4-72dc-43b0-b0d2-3d2ff2d1d688/settings)\n  - Type: Flow\n  - Designed to guide users from the Monitor menu into Kubernetes dashboards.\n  - Targeting: broad URL match across Checkmk play/local domains.\n  - Goals: none attached.\n\n- [Kubernetes dashboard](https://studio.appcues.com/flows/437dac23-8916-4364-bf97-f4bd07c700ee/settings)\n  - Type: Flow\n  - Designed to explain the Kubernetes overview dashboard, including multi-cluster navigation and cluster-wide metrics.\n  - Targeting: `dashboard.py` pages with `name=kubernetes_overview` on Checkmk play/local domains.\n  - Goals: none attached.\n\n- [Kubernetes cluster](https://studio.appcues.com/flows/5b20fa72-f487-4418-849e-becb4b8d7025/settings)\n  - Type: Flow\n  - Designed to guide users through a Kubernetes cluster dashboard, including performance, health, and workload views.\n  - Targeting: `dashboard.py` pages with `name=kubernetes_cluster` on Checkmk play/local domains.\n  - Goals: none attached.\n\n- [Checkmk SaaS - Agent Setup](https://studio.appcues.com/flows/ffb9fa7b-ee4c-4386-b1af-3bc78b47a3f9/settings)\n  - Type: Flow\n  - Designed to walk users through agent setup, folder configuration, agent bakery steps, activation, and package installation.\n  - Targeting: broad URL match on localhost-style domains.\n  - Goals: none attached.\n\nAs added context, three of these inactive flows still logged errors in the same 30-day window: **Kubernetes tour (89)**, **Kubernetes dashboard (25)**, and **Kubernetes cluster (24)**. That suggests some may be outdated or mis-targeted rather than still delivering value.",
        "outcomes" => ["adoption", "engagement"],
        "priority" => "medium",
        "title" => "5 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "ed28fedd-e067-49dc-b6a1-dca121c77c3e",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

Attempt 5—1h 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—1h 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—1h 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—1h 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