25121164 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.145
Run Time 00:00.005
Inserted 5h ago
Scheduled 5h ago
Completed
Cancelled
Discarded 5h ago

Args

%{
  "account_id" => "90138",
  "data" => %{
    "account_insight_agent_id" => "edc5be83-e563-40d7-bc7f-457af56203d3",
    "insights" => [
      %{
        "action_plan" => "Review these as routine content hygiene:\n1. Start with the older PMM navigation tours and setup flows, since they make up most of the inactive list.\n2. For each linked experience, confirm whether the underlying workflow, page, or audience still exists.\n3. Unpublish anything that supports retired workflows, old UI patterns, or segments that are no longer active.\n4. Keep published only the assets tied to current onboarding, CRM workflow adoption, or property-management journeys.\n\nIf you want to move quickly, prioritize the 2021-era legacy tours and the two inactive onboarding checklists for retirement first.",
        "actions" => [],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up unused published content should reduce operational clutter, lower the risk of outdated experiences resurfacing, and make it easier to focus optimization efforts on active onboarding and adoption journeys.",
        "finding" => "Using the last **30 days** of experience analytics, I found **53 currently published experiences** with **0 seen / enrollment activity** and no other engagement. All listed items are older than **3 weeks** based on the available age metadata.\n\nThese look like routine cleanup candidates rather than urgent problems. Most are older PMM navigation tours and onboarding assets that may no longer match current workflows.\n\nInactive experiences:\n- [PMM 6.1 Owner Invite (PM)](https://studio.appcues.com/flows/7b697ede-587e-4e70-96dc-d7554de27d86/settings)\n  - Type: Flow\n  - Designed to prompt owners to accept app invites\n- [PMM 340 Workflows-Inspections](https://studio.appcues.com/flows/554fba2d-fffe-4d2a-91aa-b3651cb3dfdc/settings)\n  - Type: Flow\n  - Designed as a page navigation tour for inspections workflows\n- [PMM 380 Workflows-Vacate](https://studio.appcues.com/flows/2dafb015-f685-44b3-a4d5-654bef53189c/settings)\n  - Type: Flow\n  - Designed as a page navigation tour for vacate workflows\n- [PMM 370 Workflows-Rent Arrears](https://studio.appcues.com/flows/54267c56-9aaa-4e3d-bddf-59d053ca8724/settings)\n  - Type: Flow\n  - Designed as a page navigation tour for rent arrears workflows\n- [PMM 360 Workflows-Maintenance](https://studio.appcues.com/flows/f8da7c80-9fe5-4573-95f4-10f4aa9dd798/settings)\n  - Type: Flow\n  - Designed as a page navigation tour for maintenance workflows\n- [PMM 350 Workflows-Lease Renewals](https://studio.appcues.com/flows/4f6ca88a-b034-49f1-820f-d39d19e118f9/settings)\n  - Type: Flow\n  - Designed as a page navigation tour for lease renewal workflows\n- [PMM 330 Workflows-Compliance](https://studio.appcues.com/flows/238fca90-8f91-4e7b-a15f-eb15b22f8896/settings)\n  - Type: Flow\n  - Designed as a page navigation tour for compliance workflows\n- [PMM 202 People Owner](https://studio.appcues.com/flows/e65d4cc5-aa13-4e6f-981e-4e46ce141ec7/settings)\n  - Type: Flow\n  - Designed to guide users through owner pages\n- [PMM 101 Properties All](https://studio.appcues.com/flows/6a1f8582-b8b6-4832-b1e0-639c98b0234b/settings)\n  - Type: Flow\n  - Designed as an all-properties page tour\n- [PMM 102 Properties-Residential](https://studio.appcues.com/flows/5a2976ea-af70-42fd-9db6-59b918bf476b/settings)\n  - Type: Flow\n  - Designed as a residential properties page tour\n- [PMM 104 Properties-Sales](https://studio.appcues.com/flows/94628e13-89d6-4c0a-b10a-50a7a0c71fa6/settings)\n  - Type: Flow\n  - Designed as a sales properties page tour\n- [PMM 103 Properties-Commercial](https://studio.appcues.com/flows/9bdc1c58-6139-4eac-ad0f-ae3036442813/settings)\n  - Type: Flow\n  - Designed as a commercial properties page tour\n- [PMM 105 Properties-Holiday](https://studio.appcues.com/flows/a56123cb-d963-4b62-9109-8b83f7b25c86/settings)\n  - Type: Flow\n  - Designed to guide holiday property navigation\n- [PMM 201 People Contacts](https://studio.appcues.com/flows/ed3458d3-704d-410f-880f-2fdd3ad513c6/settings)\n  - Type: Flow\n  - Designed as a contacts page tour\n- [PMM 106 Properties-Vacant Land](https://studio.appcues.com/flows/f0b40186-49b1-4037-a62e-fee1fcf61473/settings)\n  - Type: Flow\n  - Designed to guide vacant land property navigation\n- [PMM 320 Workflows-Applications](https://studio.appcues.com/flows/ef1491d2-033e-4d49-8058-b8abcd494656/settings)\n  - Type: Flow\n  - Designed as an applications workflow tour\n- [PMM 401 Accounts-Agency](https://studio.appcues.com/flows/3a87fed0-b39b-40d0-83bc-ced065fd2c39/settings)\n  - Type: Flow\n  - Designed as an agency accounts page navigation tour\n- [PMM 203 People Tenants](https://studio.appcues.com/flows/4c01a43b-3b9d-47c7-a0c3-a5a5feb82211/settings)\n  - Type: Flow\n  - Designed to guide users through tenant pages\n- [PMM 402 Transactions list](https://studio.appcues.com/flows/b602ca0e-aabc-4ce0-9985-252a83cdf80b/settings)\n  - Type: Flow\n  - Designed to guide users through the transactions list\n- [PMM 403 Daily Banking](https://studio.appcues.com/flows/0db7d406-bfb1-46cf-b0b4-d80ff3c2cd5f/settings)\n  - Type: Flow\n  - Designed to guide daily banking tasks\n- [PMM 405 Bulk Receipting](https://studio.appcues.com/flows/b00" <> ...,
        "outcomes" => ["activation", "adoption", "engagement"],
        "priority" => "high",
        "title" => "53 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "6f36e593-7ceb-474d-9e7d-de27be420635",
  "workflow_key" => "insight-issue-added"
}

Meta

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