24376082 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:00.260
Run Time 00:00.008
Inserted 9d ago
Scheduled 9d ago
Completed
Cancelled
Discarded 9d ago

Args

%{
  "account_id" => "74139",
  "data" => %{
    "account_insight_agent_id" => "88ce4900-7dcd-4019-b1ad-9b01ae9fae7a",
    "insights" => [
      %{
        "action_plan" => "Treat this as routine content hygiene: review whether these checklists still support a live onboarding path or a current audience. If they are no longer part of your active journey, unpublish them to reduce clutter and avoid maintaining dormant content. If either should still be in use, review its settings and targeting to confirm it is still reachable by the intended audience.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support agent and the unpublish_experience tool to unpublish the published checklist experience with ID -M8uLaK9LZIs0-FT9aac named \"Ecomm Getting Started\". This is a routine hygiene cleanup because it has had no activity in the last 30 days and was published more than 3 weeks ago.",
            "title" => "Unpublish inactive Ecomm checklist",
            "undo_prompt" => "Use the product support agent and the publish_experience tool to republish the checklist experience with ID -M8uLaK9LZIs0-FT9aac named \"Ecomm Getting Started\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support agent and the unpublish_experience tool to unpublish the published checklist experience with ID -MRV5U1ue0v1y2-w1TqT named \"Welcome to Rewind - QBO Onboarding EXP\". This is a routine hygiene cleanup because it has had no activity in the last 30 days and was published more than 3 weeks ago.",
            "title" => "Unpublish inactive QBO checklist",
            "undo_prompt" => "Use the product support agent and the publish_experience tool to republish the checklist experience with ID -MRV5U1ue0v1y2-w1TqT named \"Welcome to Rewind - QBO Onboarding EXP\"."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Unpublishing unused legacy content helps keep your live experience inventory clean and focused, making it easier to manage active onboarding experiences and reducing the chance of outdated content resurfacing unexpectedly.",
        "finding" => "You have **2 published experiences** that appear inactive: they were published more than 3 weeks ago and had **no activity in the last 30 days**.\n\n- [Ecomm Getting Started](https://studio.appcues.com/checklists/-M8uLaK9LZIs0-FT9aac/edit)\n  - Type: **Checklist**\n  - Likely purpose: onboarding / education for ecommerce users, based on checklist items covering the home page overview and backup restore tasks\n  - Metadata signals: items include **\"Rewind 101: The Home page overview\"**, **\"Backups 102: How to restore an individual item\"**, and **\"Backups 103: How to restore your entire store\"**\n\n- [Welcome to Rewind - QBO Onboarding EXP](https://studio.appcues.com/checklists/-MRV5U1ue0v1y2-w1TqT/edit)\n  - Type: **Checklist**\n  - Likely purpose: early onboarding for QBO users, based on checklist items prompting a welcome tour and video\n  - Metadata signals: items include **\"Take a quick welcome tour\"** and **\"Watch a quick video\"**\n\nI could not verify targeting rules or attached goals from the available checklist metadata, so this is based on names and checklist item labels.",
        "outcomes" => ["engagement", "activation"],
        "priority" => "medium",
        "title" => "2 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "d09aa4ad-79c9-4d54-ab42-4442fac75fc0",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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