25115361 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.095
Run Time 00:00.005
Inserted 6h ago
Scheduled 6h ago
Completed
Cancelled
Discarded 6h ago

Args

%{
  "account_id" => "50689",
  "data" => %{
    "account_insight_agent_id" => "81d50cae-a529-4196-b898-086253505790",
    "insights" => [
      %{
        "action_plan" => "Treat this as routine cleanup, not a problem.\n\n1. Review the linked settings pages and keep any evergreen flows that still serve a valid purpose, even if they were simply dormant this month.\n2. Prioritize unpublishing one-off or time-bound items first — especially **Project Renew** notices, old **viewer onboarding checkpoint** flows, legacy **beta/tutorial** content, and superseded **announcements**.\n3. For flows with pending draft changes, confirm those drafts are still worth keeping before republishing later.\n\nUnpublishing outdated items will reduce Studio clutter and lower the chance that obsolete messaging resurfaces unexpectedly.",
        "actions" => [],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up these 51 inactive published flows should make experience governance easier and reduce the risk of outdated messages distracting users, helping keep in-product messaging more relevant and engaging.",
        "finding" => "This is a routine content-hygiene review of experiences published **more than 3 weeks ago**.\n\nI found **51 published experiences** with **0 seen events and 0 enrollments/activity in the last 30 days**. In this run, **no published Pins, Banners, or Checklists** met the criteria — all inactive published experiences were **Flows**.\n\nBased on naming metadata, these flows were mainly designed for **one-off renewal notices, viewer onboarding checkpoints, legacy tutorials/demos, announcements, and feedback prompts**.\n\nInactive experiences:\n- [Sundt - Willamette Water Supply Program site expiration](https://studio.appcues.com/flows/cc74fe1b-6c2f-4ca4-b9cd-472b35ef9e21/settings)\n  - Type: Flow\n- [OS BIM Viewer Beta Feedback](https://studio.appcues.com/flows/e8d7f6c7-af6e-428d-80db-0935192ed783/settings)\n  - Type: Flow\n- [OS BIM Viewer Beta Hotspot](https://studio.appcues.com/flows/fc632e21-31a9-443f-a8a4-85a0cc01e822/settings)\n  - Type: Flow\n- [How to view progress over time](https://studio.appcues.com/flows/57da2359-ed30-4a47-ab41-2255db46ad63/settings)\n  - Type: Flow\n- [SOPS - Project Renew - Tamas Borodi](https://studio.appcues.com/flows/4db1c422-732c-4b45-b0d7-788491bf9e5f/settings)\n  - Type: Flow\n- [SOPS - Project Renew - Pamela Cruz](https://studio.appcues.com/flows/10e2ff2f-f994-48bd-9317-95f7224603f3/settings)\n  - Type: Flow\n- [SOPS - Project Renew - Catherine Roos](https://studio.appcues.com/flows/83042fe9-0cd5-4c9b-a55a-2ce9bc71ac4e/settings)\n  - Type: Flow\n- [SOPS - Project Renew - Francis Duggan](https://studio.appcues.com/flows/771ec580-b807-41d3-a156-213879646403/settings)\n  - Type: Flow\n- [Jon P - Project Renew - Francis - 2lifecommunities.org](https://studio.appcues.com/flows/c2ad1182-8a05-4fe3-bbf8-5e122a357a60/settings)\n  - Type: Flow\n- [Jon P - Test Renewal Banner](https://studio.appcues.com/flows/76bcd5f0-fc3d-4a3a-9d80-c52ff7c084c4/settings)\n  - Type: Flow\n- [SOPS - Project Renew - Brandon Johnson](https://studio.appcues.com/flows/bdc73edf-f2c2-4265-a7ba-7ac3bb5aef04/settings)\n  - Type: Flow\n- [SOPS - Project Renew - Rory Johnson](https://studio.appcues.com/flows/3168ee68-590b-41b7-8880-b0fa51b9832f/settings)\n  - Type: Flow\n- [SOPS - Project Renew - Amanda Lim](https://studio.appcues.com/flows/5c3c0a3b-6b92-4f7b-b4c2-4294e58075f4/settings)\n  - Type: Flow\n- [SOPS - Project Renew - Phillip Crum](https://studio.appcues.com/flows/d05a9464-c41d-43d2-a8af-08f275831f44/settings)\n  - Type: Flow\n- [SOPS - Project Renew - Sean Phillips](https://studio.appcues.com/flows/3d868882-178a-47d3-b150-393fde4660c9/settings)\n  - Type: Flow\n- [ISG Group - Subscription Ending](https://studio.appcues.com/flows/d40d3035-77e3-4bc8-a43a-620231d2f750/settings)\n  - Type: Flow\n- [Viewer Onboarding Checklist -- Clicked View Capture](https://studio.appcues.com/flows/74947347-8e29-491f-b293-3db1df5f60a1/settings)\n  - Type: Flow\n- [Viewer Onboarding Checklist -- Reached View Page](https://studio.appcues.com/flows/92bd14e3-79a3-4c8f-858a-d88dd4f3d8f7/settings)\n  - Type: Flow\n- [Viewer Onboarding Checklist -- Clicked share a capture](https://studio.appcues.com/flows/372c5a06-5f78-4ef8-af50-5617500c0ae2/settings)\n  - Type: Flow\n- [Viewer Onboarding Checklist -- Share a Field Note Link](https://studio.appcues.com/flows/0a4eea8c-5bdd-4fe3-b2b0-804ff8c45ad4/settings)\n  - Type: Flow\n- [Viewer Onboarding Checklist -- Clicked comment on a Field Note](https://studio.appcues.com/flows/b0a0eed9-61f7-41c2-a5cd-12bc4a53b491/settings)\n  - Type: Flow\n- [SOPS - Project Renew - Sander Lijbers](https://studio.appcues.com/flows/7d90cec9-4e8c-4280-ae88-e9c7ce9325df/settings)\n  - Type: Flow\n- [SOPS - Project Renew - Adam Chernow](https://studio.appcues.com/flows/29878d02-aa20-4885-954a-7158eb0c94e6/settings)\n  - Type: Flow\n- [10th Field Note congrats](https://studio.appcues.com/flows/602d2119-a8d3-49e5-aa3c-498f5c0306ee/settings)\n  - Type: Flow\n- [OS Basic Welcome](https://studio.appcues.com/flows/49bbbd9e-0cf9-450e-886d-a59229f6bafa/settings)\n  - Type: Flow\n- [SOPS - Project Renew - Cole Brewer](https://studio.appcues.com/flows/c07673b3-7299-402a-8945-d1ea65b46d" <> ...,
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "51 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "6e3b35f6-e8dc-4969-8430-7734a65fc162",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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