25361890 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.314
Run Time 00:00.012
Inserted 1h ago
Scheduled 1h ago
Completed
Cancelled
Discarded 1h ago

Args

%{
  "account_id" => "50436",
  "data" => %{
    "account_insight_agent_id" => "bf4ceb4c-ccf5-49de-a3a0-eeb360b79521",
    "insights" => [
      %{
        "action_plan" => "Use this as a cleanup pass for older live content.\n\n1. Review the linked settings pages and confirm each experience is still relevant to the current product and URLs it targets.\n2. Unpublish any experience tied to retired pages, old launches, staging domains, or outdated onboarding paths.\n3. Keep published only the flows that still support an active workflow or page with current traffic.\n4. If an experience is still strategically important, update its targeting or content instead of leaving an inactive version live.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 4a2c1363-1253-4d34-91c5-a8dee5e47c80 named \"KI/DS Phase 2 - Static Assortment Tabs Tour\".",
            "title" => "Unpublish Static Assortment Tabs Tour",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 4a2c1363-1253-4d34-91c5-a8dee5e47c80 named \"KI/DS Phase 2 - Static Assortment Tabs Tour\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 93bf3b7c-c2b7-4187-979e-b9a4539afb9b named \"KI Tour\".",
            "title" => "Unpublish KI Tour flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 93bf3b7c-c2b7-4187-979e-b9a4539afb9b named \"KI Tour\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 03b18ef8-3c86-49d9-beb2-c7f6ed4c6247 named \"KI Choose Division\".",
            "title" => "Unpublish KI Choose Division",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 03b18ef8-3c86-49d9-beb2-c7f6ed4c6247 named \"KI Choose Division\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 71e78e08-9130-4685-92a2-3d37dde98422 named \"KI Introduction\".",
            "title" => "Unpublish KI Introduction flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 71e78e08-9130-4685-92a2-3d37dde98422 named \"KI Introduction\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 9c698433-40a0-465f-b09f-ab099170d6c9 named \"Digital Showroom Directions - Browse\".",
            "title" => "Unpublish Directions Browse flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 9c698433-40a0-465f-b09f-ab099170d6c9 named \"Digital Showroom Directions - Browse\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID dda04d81-e55a-4021-a4d3-c653c1ea47f5 named \"Digital Showroom Tour Start\".",
            "title" => "Unpublish Tour Start flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID dda04d81-e55a-4021-a4d3-c653c1ea47f5 named \"Digital Showroom Tour Start\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 4ed686de-a857-41b7-aeff-118d4035d34a named \"Style Suffix Search New Feature\".",
            "title" => "Unpublish Suffix Search feature",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 4ed686de-a857-41b7-aeff-118d4035d34a named \"Style Suffix Search New Feature\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID bebe3df8-ff68-4cb3-8673-a2aee9e2127d named \"Library List View New Feature\".",
            "title" => "Unpublish List View feature",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID bebe3df8-ff68-4cb3-8673-a2aee9e2127d named \"Library List View New Feature\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID -M7iSOy8JZqmlT2AMKqJ named \"Library How To Tour\".",
            "title" => "Unpublish Library tour flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID -M7iSOy8JZqmlT2AMKqJ named \"Library How To Tour\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID -Lp5Yr550W5pALatqesH named \"Test\".",
            "title" => "Unpublish test flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID -Lp5Yr550W5pALatqesH named \"Test\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID -LeEkp2zasCQAk7PvhWt named \"TOAN\".",
            "title" => "Unpublish TOAN flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID -LeEkp2zasCQAk7PvhWt named \"TOAN\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID -LduOcOT9cY9TqjP1wYT named \"Job filtering\".",
            "title" => "Unpublish Job filtering flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID -LduOcOT9cY9TqjP1wYT named \"Job filtering\"."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up inactive published experiences should reduce clutter in your live setup, lower the risk of outdated messaging resurfacing, and make it easier to focus optimization work on experiences that still drive engagement.",
        "finding" => "I reviewed published experiences that were published **more than 3 weeks ago** and checked for activity in the last **30 days**. **12 experiences** had **0 seen users**.\n\n- [KI/DS Phase 2 - Static Assortment Tabs Tour](https://studio.appcues.com/flows/4a2c1363-1253-4d34-91c5-a8dee5e47c80/settings)\n  - Type: Flow\n  - Built to guide users through the **Group & Sort / export tabs** in the assortment manager\n  - Targeting: shows **once** on **/manage** pages for **itsthes.com**\n  - Goals: none configured\n- [KI Tour](https://studio.appcues.com/flows/93bf3b7c-c2b7-4187-979e-b9a4539afb9b/settings)\n  - Type: Flow\n  - Built as a **Key Initiative library tour** covering category selection, division switching, and search\n  - Targeting: shows **once** on **/product/libraries/key-initiatives/** for **itsthes.com** and **its-beta.tbfdev.com**\n  - Goals: none configured\n- [KI Choose Division](https://studio.appcues.com/flows/03b18ef8-3c86-49d9-beb2-c7f6ed4c6247/settings)\n  - Type: Flow\n  - Built to help users choose a **gender/division** on the Key Initiative landing page\n  - Targeting: shows **once** on URLs containing **-landing** for **itsthes.com** and **its-beta.tbfdev.com**\n  - Goals: none configured\n- [KI Introduction](https://studio.appcues.com/flows/71e78e08-9130-4685-92a2-3d37dde98422/settings)\n  - Type: Flow\n  - Built as a **welcome modal** into the Digital Key Initiative tour\n  - Targeting: shows **once** on **/product/libraries/key-initiatives/international-seasons**\n  - Goals: none configured\n- [Digital Showroom Directions - Browse](https://studio.appcues.com/flows/9c698433-40a0-465f-b09f-ab099170d6c9/settings)\n  - Type: Flow\n  - Built to teach users how to **browse and navigate a digital showroom**\n  - Targeting: shows **once** on **/webview** pages for **itsthes.com** and **its-beta.tbfdev.com**\n  - Goals: none configured\n- [Digital Showroom Tour Start](https://studio.appcues.com/flows/dda04d81-e55a-4021-a4d3-c653c1ea47f5/settings)\n  - Type: Flow\n  - Built to point users to the **Create Showroom** action from assortment pages\n  - Targeting: shows **once** on **/product/assortments/assortment/**\n  - Goals: none configured\n- [Style Suffix Search New Feature](https://studio.appcues.com/flows/4ed686de-a857-41b7-aeff-118d4035d34a/settings)\n  - Type: Flow\n  - Built to announce the **search-by-suffix** feature in assortments\n  - Targeting: shows **once** on **/product/assortments/assortment/** for **itsthes.com** and **its-staging.tbfdev.com**\n  - Goals: none configured\n- [Library List View New Feature](https://studio.appcues.com/flows/bebe3df8-ff68-4cb3-8673-a2aee9e2127d/settings)\n  - Type: Flow\n  - Built to announce the **condensed list view** option in the library\n  - Targeting: shows **once** on **/international-retail/libraries/assets** and related library resource pages\n  - Goals: none configured\n- [Library How To Tour](https://studio.appcues.com/flows/-M7iSOy8JZqmlT2AMKqJ/settings)\n  - Type: Flow\n  - Built as a **3-step how-to tour** for filtering and collecting library assets\n  - Targeting: shows **once** on **/international-retail/libraries/assets** for **itsthes.com**\n  - Goals: none configured\n- [Test](https://studio.appcues.com/flows/-Lp5Yr550W5pALatqesH/settings)\n  - Type: Flow\n  - Appears to be a **test / redirect flow** tied to jobs pages\n  - Targeting: shows **once** on **/jobs/view/*/overview** for **desktop users** on **sila2-staging.tbfdev.com**\n  - Goals: none configured\n- [TOAN](https://studio.appcues.com/flows/-LeEkp2zasCQAk7PvhWt/settings)\n  - Type: Flow\n  - Built to introduce the **Time Off Requests & Absence Notices** workflow\n  - Targeting: shows **once** on **/organization/absences** for **desktop users**\n  - Goals: none configured\n- [Job filtering](https://studio.appcues.com/flows/-LduOcOT9cY9TqjP1wYT/settings)\n  - Type: Flow\n  - Built to teach users how to use **quick filters and detailed job filters**\n  - Targeting: shows **once** on **/jobs/manage** for **desktop users**\n  - Goals: none configured\n\nThis looks like normal experience hygiene rather than a setup problem: these are mostly older, one-" <> ...,
        "outcomes" => ["engagement", "adoption"],
        "priority" => "medium",
        "title" => "12 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "f2d7eafe-c319-4961-85f8-34ddf55e532a",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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