25114400 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:00.204
Run Time 00:00.005
Inserted 12h ago
Scheduled 12h ago
Completed
Cancelled
Discarded 12h ago

Args

%{
  "account_id" => "78953",
  "data" => %{
    "account_insight_agent_id" => "0944585f-1a27-4c55-a867-7083412d2cd7",
    "insights" => [
      %{
        "action_plan" => "Start with the oldest legacy families first and review whether each experience still reflects the current product, audience, and goals.\n\n1. Review your published libraries here:\n   - [Flows](https://studio.appcues.com/flows)\n   - [Pins](https://studio.appcues.com/pins)\n   - [Banners](https://studio.appcues.com/banners)\n   - [Checklists](https://studio.appcues.com/checklists)\n   - [Launchpads](https://studio.appcues.com/launchpads)\n2. Unpublish experiences that are no longer accurate, no longer targeted to a live workflow, or have been replaced by newer guidance.\n3. Keep anything that is still strategically important but verify its targeting, UI accuracy, and goals before leaving it live.\n\nThis is worthwhile hygiene because Appcues documentation recommends unpublishing stale experiences instead of leaving them running, especially when broad targeting or frequency controls could let old content compete with newer experiences ",
        "actions" => [],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Reducing stale live content should lower the risk of outdated guidance surfacing to users, simplify your published library, and make room for newer experiences to drive engagement more effectively.",
        "finding" => "Based on the latest weekly hygiene scan, **99 published experiences** that were already older than 3 weeks had **0 seen events or enrollments in the prior 30 days**: **97 flows** and **2 pins**. No qualifying checklists were flagged in that scan.\n\nThis looks like routine cleanup work, not a publishing mistake. Appcues recommends periodically reviewing published content and unpublishing stale experiences because outdated content can interfere with newer guidance and frequency limits \n\nRepresentative inactive items include:\n- [New user navigation tour](https://studio.appcues.com/flows/4efbf8b3-10ec-4e69-af3d-c5ad1ab880e8/settings)\n  - Type: Flow\n  - Designed to give a first-time navigation tour across clients, defaults, settings, and analysis pages for a specific internal email on `dev-elite.moneytree.com`\n- [Acct Agg Setup Tutorial](https://studio.appcues.com/flows/e7e2e0fa-7acb-47f0-94df-90a415bcdaea/settings)\n  - Type: Flow\n  - Designed to walk users through linking financial accounts on `awstotal.moneytree.com` and `planning.moneytree.com` when `accountAggMeta = True`\n- [Report Generation Basics](https://studio.appcues.com/flows/6f313e8a-749b-4cbf-9d72-ffb8f7e834d1/settings)\n  - Type: Flow\n  - Designed to explain report types, report customization, and summary reports on the reports area of the app\n- [Assets](https://studio.appcues.com/pins/7d4314e7-86b7-41bb-889e-0eac2ffa3fbf/settings)\n  - Type: Pin\n  - Designed to provide on-page guidance for retirement plan strategies on the assets scenario page in Elite\n\nThe inactive set is heavily concentrated in older **MTELITE**, **MTP**, **MTACP**, and **MTPCP** guidance content, which suggests a backlog of legacy onboarding and feature-education experiences rather than a single broken launch. Appcues Insights specifically frames this kind of review as **Experience Hygiene** and notes that stale live content is a normal area to monitor over time ",
        "outcomes" => ["engagement", "retention"],
        "priority" => "medium",
        "title" => "99 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "17e5eb5e-c1b4-40cb-a4db-fb910d093904",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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