24375354 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:00.257
Run Time 00:00.007
Inserted 9d ago
Scheduled 9d ago
Completed
Cancelled
Discarded 9d ago

Args

%{
  "account_id" => "37754",
  "data" => %{
    "account_insight_agent_id" => "4507261a-d191-4dc3-b219-7b21ae9f5490",
    "insights" => [
      %{
        "action_plan" => "Review each experience as hygiene:\n1. Keep it published only if it supports a workflow you expect to restart soon.\n2. Unpublish tenant-specific announcements or legacy tours that are no longer relevant.\n3. If an experience should still be useful, review its targeting and page coverage before keeping it live.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 79c2677f-ee9c-452e-8f55-fb37cd6f79ca named \"Geisinger - Connect Microsoft 365 account\". This flow has had 0 seen users in the last 30 days and was published on 2025-11-26.",
            "title" => "Unpublish inactive Geisinger M365 flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 79c2677f-ee9c-452e-8f55-fb37cd6f79ca named \"Geisinger - Connect Microsoft 365 account\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 7b9bde27-48a7-4ad3-ab4a-6c7034dd2e39 named \"M365 Connection Announcement - ChristianaCare\". This flow has had 0 seen users in the last 30 days and was published on 2025-02-10.",
            "title" => "Unpublish inactive ChristianaCare announcement flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 7b9bde27-48a7-4ad3-ab4a-6c7034dd2e39 named \"M365 Connection Announcement - ChristianaCare\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID d313ec37-0343-4c25-a173-8ec2f2e4f9f5 named \"Profile Page (Onboarding)\". This flow has had 0 seen users in the last 30 days and was published on 2023-06-14.",
            "title" => "Unpublish inactive profile onboarding flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID d313ec37-0343-4c25-a173-8ec2f2e4f9f5 named \"Profile Page (Onboarding)\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID c9adb99e-44de-4d91-9ec7-f2d3b3d58359 named \"Bulk Employee Rounding - Inhealth Custom\". This flow has had 0 seen users in the last 30 days and was published on 2023-09-20.",
            "title" => "Unpublish inactive Inhealth rounding flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID c9adb99e-44de-4d91-9ec7-f2d3b3d58359 named \"Bulk Employee Rounding - Inhealth Custom\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID f0a8a865-4dfe-4d3a-aafa-d9eb1443b918 named \"Bulk Employee Rounding - UNC Custom\". This flow has had 0 seen users in the last 30 days and was published on 2023-09-20.",
            "title" => "Unpublish inactive UNC rounding flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID f0a8a865-4dfe-4d3a-aafa-d9eb1443b918 named \"Bulk Employee Rounding - UNC Custom\"."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up dormant published experiences reduces clutter in your live inventory and lowers the chance of outdated content resurfacing, helping keep engagement focused on current activation and adoption moments.",
        "finding" => "These published experiences are older than 3 weeks and had **0 seen users in the last 30 days**. This looks like routine cleanup work rather than a problem.\n\n- [Geisinger - Connect Microsoft 365 account](https://studio.appcues.com/flows/79c2677f-ee9c-452e-8f55-fb37cd6f79ca/settings)\n  - Type: Flow\n  - Designed to prompt Geisinger users on `/manager` to connect their Microsoft 365 account from settings so they can send Outlook-powered messages in Laudio.\n- [M365 Connection Announcement - ChristianaCare](https://studio.appcues.com/flows/7b9bde27-48a7-4ad3-ab4a-6c7034dd2e39/settings)\n  - Type: Flow\n  - Designed to announce Microsoft 365 messaging for ChristianaCare users on `/manager` and send them to setup instructions.\n- [Profile Page (Onboarding)](https://studio.appcues.com/flows/d313ec37-0343-4c25-a173-8ec2f2e4f9f5/settings)\n  - Type: Flow\n  - Designed as a multi-step onboarding tour of the employee profile page, including overview, recommendations, actions, and activity areas.\n- [Bulk Employee Rounding - Inhealth Custom](https://studio.appcues.com/flows/c9adb99e-44de-4d91-9ec7-f2d3b3d58359/settings)\n  - Type: Flow\n  - Designed to teach Inhealth users on `/employee-rounding` how to bulk-send a pre-one-to-ones inform.\n- [Bulk Employee Rounding - UNC Custom](https://studio.appcues.com/flows/f0a8a865-4dfe-4d3a-aafa-d9eb1443b918/settings)\n  - Type: Flow\n  - Designed to teach UNC users on `/employee-rounding` how to bulk-send a pre-teammate-connections inform.\n\nNo published pins, banners, or checklists older than 3 weeks met the inactivity threshold in this run.",
        "outcomes" => ["engagement", "adoption"],
        "priority" => "medium",
        "title" => "5 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "88c6b8a4-e28f-4b55-b1aa-6042d129d85f",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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