25118803 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.108
Run Time 00:00.004
Inserted 5h ago
Scheduled 5h ago
Completed
Cancelled
Discarded 5h ago

Args

%{
  "account_id" => "37509",
  "data" => %{
    "account_insight_agent_id" => "c4a79f1f-73dc-4097-a9c4-d0d22ca5e5f3",
    "insights" => [
      %{
        "action_plan" => "Review these experiences as a cleanup pass, not a performance problem.\n\n1. Start with the clearly time-bound or retired content: the **ICD-10** banner, the **SPL sunset** banners, and the older **mobile migration** message.\n2. Then review the legacy onboarding flows to decide whether each one should be:\n   - unpublished,\n   - updated for a current journey, or\n   - kept live because it still serves a niche segment.\n3. Open each settings link above to confirm targeting, audience, and any assigned goals before unpublishing.\n\nI did **not** include direct unpublish actions because this analysis run does not have confirmation to change live content, and this account is currently read-only.",
        "actions" => [],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up unused published content should reduce Studio clutter, lower the risk of outdated experiences resurfacing, and make active onboarding and lifecycle programs easier to manage.",
        "finding" => "This looks like routine content hygiene: your most recent verified inactivity audit found **21 published experiences** that were already older than 3 weeks and had **no activity in the prior 30 days**. I also confirmed those items are **still published today**.\n\n**Breakdown**\n- **17 Flows**\n- **4 Banners**\n- **0 Pins / 0 Checklists / 0 Launchpads**\n\n**Inactive published experiences to review**\n- [July 14 - Head Back Message](https://studio.appcues.com/mobile/flows/17e5b56f-b702-4c01-ab4e-af95218e349b/settings)\n  - Type: Flow\n  - Purpose: Mobile migration message prompting a specific user to return to the original clinician app after trying the new app experience.\n- [Onboarding - Create your first appointment](https://studio.appcues.com/flows/a7cdea9e-22c1-4feb-aade-5b01e4b452fc/settings)\n  - Type: Flow\n  - Purpose: Tooltip walkthrough for creating an appointment on `secure.simplepractice.com`.\n- [Onboarding - Clinician Basic - Learn about notes](https://studio.appcues.com/flows/c5c2fb46-2892-45d0-916e-95316b2fdd8c/settings)\n  - Type: Flow\n  - Purpose: Notes education flow on the appointments area, guiding users through admin notes, chart notes, and documents.\n- [Onboarding - Clinician Basic - Take a tour](https://studio.appcues.com/flows/14a247d2-b0cc-4fc1-9402-7c5040f20475/settings)\n  - Type: Flow\n  - Purpose: Broad product tour covering navigation, analytics, tasks, calendar privacy, online requests, and messaging.\n- [3.09.2023 - New onboarding - add your license](https://studio.appcues.com/flows/26d21725-6739-42a8-8f50-07c68f358c39/settings)\n  - Type: Flow\n  - Purpose: One-step onboarding prompt to add license/NPI information in practice settings.\n- [Remind me later: Lifecycle | Paid Onboarding | Starter & Essential | Online Payments Enablement | Version A](https://studio.appcues.com/flows/305f9247-b8ef-4401-8eab-0c3f2cd132d0/settings)\n  - Type: Flow\n  - Purpose: Follow-up reminder for online payments enablement.\n- [Remind me later: Lifecycle | Paid Onboarding | Starter & Essential | Online Payments Enablement | Version B](https://studio.appcues.com/flows/f85e4ab0-54fc-4bcc-b745-8de0296c31da/settings)\n  - Type: Flow\n  - Purpose: Alternate reminder variant for online payments enablement.\n- [Product | Generic ICD-10 change 10/1/24](https://studio.appcues.com/banners/a924f8f8-a281-4110-aa2e-a80a75389797/settings)\n  - Type: Banner\n  - Purpose: Time-bound ICD-10 update announcement.\n- [SPL prod - Sunset - Checkout - 20240624](https://studio.appcues.com/banners/759ad96e-579f-4f4b-9591-61c13f1c467e/settings)\n  - Type: Banner\n  - Purpose: Sunset messaging for SPL checkout.\n- [SPL prod - Sunset - Dashboard - 20240624](https://studio.appcues.com/banners/1abcff72-a7d7-4b17-a1ef-9b8589440998/settings)\n  - Type: Banner\n  - Purpose: Sunset messaging for SPL dashboard users.\n- [SPL prod - Sunset - Public facing pages - 20240624](https://studio.appcues.com/banners/2e0906e9-801e-455f-a4b4-d6e544799de2/settings)\n  - Type: Banner\n  - Purpose: Sunset messaging for SPL public-facing pages.\n- Additional inactive flows from the same audit remain published and appear to be older onboarding/mobile migration inventory: legacy onboarding variants, old mobile migration prompts, and related lifecycle reminders.",
        "outcomes" => ["engagement", "adoption"],
        "priority" => "high",
        "title" => "21 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "98dc679d-82f2-4d28-9eff-a110f21465d2",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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