25361916 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.286
Run Time 00:00.007
Inserted 2h ago
Scheduled 2h ago
Completed
Cancelled
Discarded 2h ago

Args

%{
  "account_id" => "36846",
  "data" => %{
    "account_insight_agent_id" => "c0753adb-f28d-49cd-959d-b84ce840526c",
    "insights" => [
      %{
        "action_plan" => "Treat this as routine experience hygiene.\n\n1. Review the inactive list and separate flows into three buckets: still-needed seasonal/low-volume content, legacy content worth keeping published, and content safe to retire.\n2. Prioritize unpublishing obvious backlog items first — especially older **Sales Link Info**, **demo/test**, **popup**, and **intro/tutorial** flows that no longer support a live journey.\n3. Keep project-specific AWT flows published only if the underlying project is still active and the content is still current.\n4. If you want to clean these up, open each linked settings page and unpublish the flows that are no longer relevant.",
        "actions" => [],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Unpublishing dormant flows can reduce Studio clutter, lower the risk of outdated content resurfacing, and make it easier to manage the experiences that still drive engagement.",
        "finding" => "Using the last **30 days** of activity and limiting the review to experiences created more than **3 weeks** ago, I found **75 published experiences** with no recent activity.\n\nThese are all **Flows**. I did **not** find any inactive published Pins or Checklists in this review, and the only published Banner had recent activity.\n\nMost of the inactive items appear to be routine backlog content such as **project-specific AWT/standard walkthroughs**, **Sales Link Info flows**, and older **tutorial / introduction / info** flows.\n\nInactive published flows:\n- [PROPSTER DEMO Sales Link Info](https://studio.appcues.com/flows/0fb95622-f852-46dd-8d07-53ee3afdd92b/settings)\n  - Type: Flow · Purpose: sales-link information flow\n- [Kagraner-Flur B - AWT](https://studio.appcues.com/flows/7f898b8f-5ca9-47f5-ad82-0914dcf32ba6/settings)\n  - Type: Flow · Purpose: project-specific AWT walkthrough\n- [Solea - AWT Standard](https://studio.appcues.com/flows/9e7b1b38-6741-4816-8e28-03a69c78ada4/settings)\n  - Type: Flow · Purpose: project-specific standard walkthrough\n- [Lorenz - AWT Standard](https://studio.appcues.com/flows/713fac5e-4020-40ac-af88-4c80d0ea9283/settings)\n  - Type: Flow · Purpose: project-specific standard walkthrough\n- [Kant & Gloria Sales Link Info](https://studio.appcues.com/flows/c34ce442-fb72-46e9-ba3d-468dee6c4055/settings)\n  - Type: Flow · Purpose: sales-link information flow\n- [Gefylde Sales Link Info](https://studio.appcues.com/flows/24696056-ca88-4055-91c3-19a5fc9a64e5/settings)\n  - Type: Flow · Purpose: sales-link information flow\n- [Lahnwarte Sales Link Info](https://studio.appcues.com/flows/7f1fc14e-5e04-4597-9d7f-01198b54902a/settings)\n  - Type: Flow · Purpose: sales-link information flow\n- [Kant & Gloria - AWT](https://studio.appcues.com/flows/65f70fc5-bd7a-4b02-aa6e-7892f501008a/settings)\n  - Type: Flow · Purpose: project-specific AWT walkthrough\n- [Perwang - AWT Standard](https://studio.appcues.com/flows/e4b36e5f-0185-42b6-82a9-31368ff241bc/settings)\n  - Type: Flow · Purpose: project-specific standard walkthrough\n- [Ramseier+Stucki Template - AWT](https://studio.appcues.com/flows/2a0f1acd-361d-45e4-b843-e7fa4ec44742/settings)\n  - Type: Flow · Purpose: template AWT walkthrough\n- [Heidegrün - AWT](https://studio.appcues.com/flows/b759782a-d619-4316-805b-e88a2afc88d3/settings)\n  - Type: Flow · Purpose: project-specific AWT walkthrough\n- [Seeblick Trio - AWT Standard](https://studio.appcues.com/flows/3439c095-dbfe-46b1-a21c-4be1960a6c82/settings)\n  - Type: Flow · Purpose: project-specific standard walkthrough\n- [WOHNZONE Template Sales Link Info](https://studio.appcues.com/flows/ec13ff42-4dfe-4f3d-9505-4429ed509cf2/settings)\n  - Type: Flow · Purpose: template sales-link information flow\n- [WOHNZONE Template - AWT Standard](https://studio.appcues.com/flows/726c154e-2429-4a6b-a248-1438b1b69197/settings)\n  - Type: Flow · Purpose: template standard walkthrough\n- [Gefylde - AWT](https://studio.appcues.com/flows/e42f9c7e-9eae-490d-8ca6-4e8a6c41d456/settings)\n  - Type: Flow · Purpose: project-specific AWT walkthrough\n- [Lahnwarte - AWT](https://studio.appcues.com/flows/3ec3dd80-95a6-4156-b8f0-4d1f347d2f3b/settings)\n  - Type: Flow · Purpose: project-specific AWT walkthrough\n- [Quartier Mittenheim - AWT](https://studio.appcues.com/flows/e77193d1-0f91-4381-b1af-931fc875ce11/settings)\n  - Type: Flow · Purpose: project-specific AWT walkthrough\n- [Auf der Steig - AWT](https://studio.appcues.com/flows/234f1d0c-546e-43b3-b7a6-16b7d27013d0/settings)\n  - Type: Flow · Purpose: project-specific AWT walkthrough\n- [Casa Bombus - AWT](https://studio.appcues.com/flows/527bdc5f-b156-429e-8b51-d37b3185b6aa/settings)\n  - Type: Flow · Purpose: project-specific AWT walkthrough\n- [Bad Nauheim - AWT](https://studio.appcues.com/flows/11241244-0f74-4af2-9686-f5b4290a3e0b/settings)\n  - Type: Flow · Purpose: project-specific AWT walkthrough\n- [Mosaik Sales Link Info](https://studio.appcues.com/flows/b95ac742-ee3d-4e04-a1dd-fcc888d8a603/settings)\n  - Type: Flow · Purpose: sales-link information flow\n- [LAVITA Sales Link Info](https://studio.appcues.com" <> ...,
        "outcomes" => ["engagement", "adoption"],
        "priority" => "high",
        "title" => "75 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "2641503b-1384-4961-a406-96b720c9b41f",
  "workflow_key" => "insight-issue-added"
}

Meta

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