25368365 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.326
Run Time 00:00.006
Inserted 2h ago
Scheduled 2h ago
Completed
Cancelled
Discarded 2h ago

Args

%{
  "account_id" => "30980",
  "data" => %{
    "account_insight_agent_id" => "35c445e1-5bc0-4e2c-b10d-b215a188880c",
    "insights" => [
      %{
        "action_plan" => "Review these inactive flows and keep only the ones that still support a current user journey.\n\n1. Unpublish clearly obsolete or staging-only content first.\n2. Keep any flow that is still strategically important only if you expect it to regain traffic soon.\n3. For any production flow you keep live, verify the page targeting still matches current product URLs and entry points, especially the two prod flows that logged errors without recent views.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID b2e1de65-6b56-403a-88b0-920c384d7b46 named \"DW2.0_Prod - Smart fields - walkthrough\". This flow is currently published and had no seen events in the last 30 days.",
            "title" => "Unpublish Smart fields walkthrough",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the flow with ID b2e1de65-6b56-403a-88b0-920c384d7b46 named \"DW2.0_Prod - Smart fields - walkthrough\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 55022489-4823-4f22-845c-e75113dec47f named \"DWApp_Prod - Patient Planner - DW Connect user\". This flow is currently published and had no seen events in the last 30 days.",
            "title" => "Unpublish Patient Planner DW flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the flow with ID 55022489-4823-4f22-845c-e75113dec47f named \"DWApp_Prod - Patient Planner - DW Connect user\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 092a3b68-a94f-45f4-b8bb-454ac2389937 named \"DWApp_Staging - New Features Launchpad - DW Connect User\". This flow is currently published and had no seen events in the last 30 days.",
            "title" => "Unpublish staging launchpad DW flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the flow with ID 092a3b68-a94f-45f4-b8bb-454ac2389937 named \"DWApp_Staging - New Features Launchpad - DW Connect User\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID bc05ed93-fc3a-4144-b5d0-61622081c3e9 named \"DWApp_Staging - Patient Planner - DW Connect user\". This flow is currently published and had no seen events in the last 30 days.",
            "title" => "Unpublish staging patient planner flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the flow with ID bc05ed93-fc3a-4144-b5d0-61622081c3e9 named \"DWApp_Staging - Patient Planner - DW Connect user\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 15b65731-37b8-4637-a232-f59ffa062172 named \"DWApp_Staging - New Features Launchpad - non DW Connect\". This flow is currently published and had no seen events in the last 30 days.",
            "title" => "Unpublish staging launchpad non-DW",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the flow with ID 15b65731-37b8-4637-a232-f59ffa062172 named \"DWApp_Staging - New Features Launchpad - non DW Connect\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID dfa7e62d-6838-4c4b-a5af-2e4bf5bd51fe named \"DWApp_Staging - Practice Workflow Updates - DW Connect user\". This flow is currently published and had no seen events in the last 30 days.",
            "title" => "Unpublish staging workflow update flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the flow with ID dfa7e62d-6838-4c4b-a5af-2e4bf5bd51fe named \"DWApp_Staging - Practice Workflow Updates - DW Connect user\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 3ab1a204-5e98-46eb-bdcc-ba840d9d1e54 named \"DWApp_Staging - Practice Workflow Updates - non DW Connect user\". This flow is currently published and had no seen events in the last 30 days.",
            "title" => "Unpublish staging workflow update non-DW",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the flow with ID 3ab1a204-5e98-46eb-bdcc-ba840d9d1e54 named \"DWApp_Staging - Practice Workflow Updates - non DW Connect user\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 3044c657-b071-4e3d-ab7c-9fd9c7040359 named \"DWApp_Staging - Eligible Treatment Page - DW Connect user\". This flow is currently published and had no seen events in the last 30 days.",
            "title" => "Unpublish staging eligible treatment flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the flow with ID 3044c657-b071-4e3d-ab7c-9fd9c7040359 named \"DWApp_Staging - Eligible Treatment Page - DW Connect user\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID cd2c3a26-6424-4f96-9977-5e9479dcb9d7 named \"DW2.0_Staging - How to Register Warranties\". This flow is currently published and had no seen events in the last 30 days.",
            "title" => "Unpublish staging warranty tutorial",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the flow with ID cd2c3a26-6424-4f96-9977-5e9479dcb9d7 named \"DW2.0_Staging - How to Register Warranties\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L9mlPSdQ-cX3In80U0E named \"Confirm & Register - Pending Registrations - Tutorial\". This flow is currently published and had no seen events in the last 30 days.",
            "title" => "Unpublish pending registrations tutorial",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the flow with ID -L9mlPSdQ-cX3In80U0E named \"Confirm & Register - Pending Registrations - Tutorial\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L9mu0VWFuKGMqAiDAN5 named \"How to Register Warranties\". This flow is currently published and had no seen events in the last 30 days.",
            "title" => "Unpublish register warranties tutorial",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the flow with ID -L9mu0VWFuKGMqAiDAN5 named \"How to Register Warranties\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID b0517779-00d5-4c06-8c45-302669de3b9b named \"DW2.0_Staging - How to File a Claim\". This flow is currently published and had no seen events in the last 30 days.",
            "title" => "Unpublish staging claim tutorial",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the flow with ID b0517779-00d5-4c06-8c45-302669de3b9b named \"DW2.0_Staging - How to File a Claim\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -LAQLtrRXbx2GV9I-Aa5 named \"DW2.0_Prod How to File a Claim\". This flow is currently published and had no seen events in the last 30 days.",
            "title" => "Unpublish prod claim tutorial",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the flow with ID -LAQLtrRXbx2GV9I-Aa5 named \"DW2.0_Prod How to File a Claim\"."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up unused published content should reduce clutter in your live experience inventory, lower the risk of accidental delivery on outdated pages, and make it easier to focus optimization work on experiences that still drive activation and adoption.",
        "finding" => "I reviewed published experiences that have been live for **more than 3 weeks** and found **13** with **no seen activity in the last 30 days**.\n\nInactive experiences to review:\n- [DW2.0_Prod - Smart fields - walkthrough](https://studio.appcues.com/flows/b2e1de65-6b56-403a-88b0-920c384d7b46/settings)\n  - Type: Flow\n  - Designed to introduce the **Smart Fields** update on the coverage creation page and prompt users to try the new tooth/range entry behavior.\n- [DWApp_Prod - Patient Planner - DW Connect user](https://studio.appcues.com/flows/55022489-4823-4f22-845c-e75113dec47f/settings)\n  - Type: Flow\n  - Designed to walk connected users through the **Patient Planner** workspace, including selecting a patient, calculating treatment plans, organizing groups, and moving items to pending coverage.\n- [DWApp_Staging - New Features Launchpad - DW Connect User](https://studio.appcues.com/flows/092a3b68-a94f-45f4-b8bb-454ac2389937/settings)\n  - Type: Flow\n  - Designed as a **staging new-features announcement** on the dashboard that links users into workflow, eligible treatment, and patient planner updates.\n- [DWApp_Staging - Patient Planner - DW Connect user](https://studio.appcues.com/flows/bc05ed93-fc3a-4144-b5d0-61622081c3e9/settings)\n  - Type: Flow\n  - Designed to onboard staging users to the **Patient Planner** experience for connected accounts.\n- [DWApp_Staging - New Features Launchpad - non DW Connect](https://studio.appcues.com/flows/15b65731-37b8-4637-a232-f59ffa062172/settings)\n  - Type: Flow\n  - Designed as a **staging dashboard announcement** for non-connected users, pointing them to workflow updates.\n- [DWApp_Staging - Practice Workflow Updates - DW Connect user](https://studio.appcues.com/flows/dfa7e62d-6838-4c4b-a5af-2e4bf5bd51fe/settings)\n  - Type: Flow\n  - Designed to explain the reorganized **Protect / Manage / Claims** workflow for connected staging users.\n- [DWApp_Staging - Practice Workflow Updates - non DW Connect user](https://studio.appcues.com/flows/3ab1a204-5e98-46eb-bdcc-ba840d9d1e54/settings)\n  - Type: Flow\n  - Designed to explain the reorganized **Protect / Manage / Claims** workflow for non-connected staging users.\n- [DWApp_Staging - Eligible Treatment Page - DW Connect user](https://studio.appcues.com/flows/3044c657-b071-4e3d-ab7c-9fd9c7040359/settings)\n  - Type: Flow\n  - Designed to onboard users to the **Eligible Treatment** workspace for reviewing patients with eligible treatment and adding coverage in bulk.\n- [DW2.0_Staging - How to Register Warranties](https://studio.appcues.com/flows/cd2c3a26-6424-4f96-9977-5e9479dcb9d7/settings)\n  - Type: Flow\n  - Designed as a step-by-step **warranty registration tutorial** that guides users from Register Coverage into Pending Registrations.\n- [Confirm & Register - Pending Registrations - Tutorial](https://studio.appcues.com/flows/-L9mlPSdQ-cX3In80U0E/settings)\n  - Type: Flow\n  - Designed to teach users how to review pending registrations, set acceptance status, and **confirm & register** coverage.\n- [How to Register Warranties](https://studio.appcues.com/flows/-L9mu0VWFuKGMqAiDAN5/settings)\n  - Type: Flow\n  - Designed as a production **warranty registration walkthrough** from patient search through saving to pending registrations.\n- [DW2.0_Staging - How to File a Claim](https://studio.appcues.com/flows/b0517779-00d5-4c06-8c45-302669de3b9b/settings)\n  - Type: Flow\n  - Designed as a staging **claim filing tutorial** covering claim creation, required fields, documentation, and submission.\n- [DW2.0_Prod How to File a Claim](https://studio.appcues.com/flows/-LAQLtrRXbx2GV9I-Aa5/settings)\n  - Type: Flow\n  - Designed as a production **claim filing tutorial** covering claim setup, warranty selection, dates, documentation, and submission.\n\nThese were published between **2020-11-06 and 2023-01-24**, so this looks like routine content hygiene rather than a short-term lull.",
        "outcomes" => ["activation", "adoption", "engagement"],
        "priority" => "high",
        "title" => "13 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "245bc4d8-6b12-4a31-bccd-bbef83eb5bd3",
  "workflow_key" => "insight-issue-added"
}

Meta

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