25115265 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.209
Run Time 00:00.007
Inserted 8h ago
Scheduled 8h ago
Completed
Cancelled
Discarded 8h ago

Args

%{
  "account_id" => "30200",
  "data" => %{
    "account_insight_agent_id" => "53455285-fa28-4a23-b3e0-826dc8c069d4",
    "insights" => [
      %{
        "action_plan" => "Use this as a routine cleanup pass:\n1. Start with the obvious demo/test flows and any brand, campaign, or project names tied to retired programs.\n2. Open each linked settings page and confirm whether the underlying page, domain, or onboarding path is still live.\n3. Unpublish experiences that support retired workflows, old domains, or past campaigns.\n4. Keep any flow that still maps to a live workflow, but consider refreshing or consolidating it if it is expected to be active again.\n\nIf you want the fastest win, begin with the demo/test items surfaced above, then work through the older legacy clusters.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID e9e7d2e0-7ac1-41fc-87cd-047589f9128c named 'Appcue Sales Demo'. This flow had zero seen, completed, skipped, and error activity in the last 30 days and is a candidate for routine hygiene cleanup.",
            "title" => "Unpublish Appcue Sales Demo flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow with experience ID e9e7d2e0-7ac1-41fc-87cd-047589f9128c named 'Appcue Sales Demo'."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 8a4d3bc5-d961-4cbf-ad2e-b2ad76f1f4d2 named 'Test Jart demo'. This flow had zero seen, completed, skipped, and error activity in the last 30 days and is a candidate for routine hygiene cleanup.",
            "title" => "Unpublish Test Jart demo flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow with experience ID 8a4d3bc5-d961-4cbf-ad2e-b2ad76f1f4d2 named 'Test Jart demo'."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 769b5cfd-e1d6-40cb-b157-168e898f7aca named 'Test Alejandra'. This flow had zero seen, completed, skipped, and error activity in the last 30 days and is a candidate for routine hygiene cleanup.",
            "title" => "Unpublish Test Alejandra flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow with experience ID 769b5cfd-e1d6-40cb-b157-168e898f7aca named 'Test Alejandra'."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID f59c1a1a-24b6-4623-b95e-f90a66ccf944 named 'Robin demo flow'. This flow had zero seen, completed, and skipped activity in the last 30 days and only 1 error user, making it a strong candidate for routine hygiene cleanup.",
            "title" => "Unpublish Robin demo flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow with experience ID f59c1a1a-24b6-4623-b95e-f90a66ccf944 named 'Robin demo flow'."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 1a71d8dd-2aba-4a20-a79b-be7b6ca7db6c named 'Compass_Demo'. This flow had zero seen, completed, skipped, and error activity in the last 30 days and is a candidate for routine hygiene cleanup.",
            "title" => "Unpublish Compass demo flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow with experience ID 1a71d8dd-2aba-4a20-a79b-be7b6ca7db6c named 'Compass_Demo'."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -M1ezIbEiW807HnEa1o4 named 'New Karen Demo Flow'. This flow had zero seen, completed, skipped, and error activity in the last 30 days and is a candidate for routine hygiene cleanup.",
            "title" => "Unpublish New Karen Demo flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow with experience ID -M1ezIbEiW807HnEa1o4 named 'New Karen Demo Flow'."
          }
        ],
        "cta_text" => "Review inactive content",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Unpublishing unused experiences should reduce Studio clutter, lower the risk of outdated content surfacing on old pages, and make active onboarding content easier to manage and audit.",
        "finding" => "You have **72 published experiences** that were published more than 3 weeks ago and showed **no activity at all in the last 30 days** (**0 seen, 0 completed, 0 skipped, 0 errors** in the period analyzed).\n\nThis looks like routine content hygiene rather than a setup problem. In this account, these inactive items are all **web flows**; no published Pins, Banners, Checklists, or Launchpads were found to review in this run.\n\nMost of the inactive items appear to be older onboarding, registration, public-site, or demo/test flows based on their names and targeting metadata. Review the settings pages below and unpublish anything that is no longer part of your current product or onboarding paths.\n\nRecent/demo and test content:\n- [Demo Mounir Planning board](https://studio.appcues.com/flows/8e582b6f-f38d-4196-8505-f989704b2541/settings)\n  - Type: Flow\n  - Designed to guide the planning board experience on the `/en/admin/planning/board` page.\n- [Demo Mounir](https://studio.appcues.com/flows/afedd0a8-5fdd-4721-8e49-abadc499b6d8/settings)\n  - Type: Flow\n  - Demo walkthrough content based on the experience name.\n- [Appcue Sales Demo](https://studio.appcues.com/flows/e9e7d2e0-7ac1-41fc-87cd-047589f9128c/settings)\n  - Type: Flow\n  - Sales/demo content based on the experience name.\n- [Clevergig Test](https://studio.appcues.com/flows/bae9941b-1d5e-4b20-9194-103efaba671f/settings)\n  - Type: Flow\n  - Test flow likely created for Clevergig-specific validation.\n- [Test Jart demo](https://studio.appcues.com/flows/8a4d3bc5-d961-4cbf-ad2e-b2ad76f1f4d2/settings)\n  - Type: Flow\n  - Demo/test content based on the experience name.\n- [Test Alejandra](https://studio.appcues.com/flows/769b5cfd-e1d6-40cb-b157-168e898f7aca/settings)\n  - Type: Flow\n  - Test flow based on the experience name.\n- [Robin demo flow](https://studio.appcues.com/flows/f59c1a1a-24b6-4623-b95e-f90a66ccf944/settings)\n  - Type: Flow\n  - Demo walkthrough content based on the experience name.\n- [Test Adecco FR](https://studio.appcues.com/flows/5163de02-e18b-4fea-bd37-385782451079/settings)\n  - Type: Flow\n  - Test flow for a French-language Adecco use case based on the name.\n- [Compass_Demo](https://studio.appcues.com/flows/1a71d8dd-2aba-4a20-a79b-be7b6ca7db6c/settings)\n  - Type: Flow\n  - Demo content based on the experience name.\n- [New Karen Demo Flow](https://studio.appcues.com/flows/-M1ezIbEiW807HnEa1o4/settings)\n  - Type: Flow\n  - Demo flow based on the experience name.\n- [Helene Appcues Modal](https://studio.appcues.com/flows/-LkT8AgFpuaOZPlKdxQ9/settings)\n  - Type: Flow\n  - Older modal-style demo flow based on the experience name.\n- [Belgambu](https://studio.appcues.com/flows/-M3eq20FOyNoi98SvXe9/settings)\n  - Type: Flow\n  - Legacy flow with purpose only identifiable from the name.\n\nLegacy admin/collaborator/public-side flows:\n- [Coor Flow admin - NL](https://studio.appcues.com/flows/-M5vnFmze2iEnBLCECDJ/settings)\n  - Type: Flow\n  - Admin onboarding/guidance for Dutch-language Coor users.\n- [General flow admins - DE](https://studio.appcues.com/flows/30de36e5-d470-4fa1-87c7-eb0cb1c7ab57/settings)\n  - Type: Flow\n  - German admin guidance flow.\n- [Flow 1 - Wallonia](https://studio.appcues.com/flows/d201f967-4f76-46f8-8502-fe8b6e633444/settings)\n  - Type: Flow\n  - First Wallonia-specific flow based on the experience name.\n- [Flow 2 - Wallonia](https://studio.appcues.com/flows/97c78a2e-8bea-48d7-a5d5-67bc12911b1b/settings)\n  - Type: Flow\n  - Second Wallonia-specific flow based on the experience name.\n- [G4S - public side - NL](https://studio.appcues.com/flows/6a5daa5a-8951-4f9f-9cc9-7d694396b588/settings)\n  - Type: Flow\n  - Dutch public-site guidance for G4S.\n- [G4S - public side - FR](https://studio.appcues.com/flows/9e125292-ced3-464c-8c61-999f9514efc8/settings)\n  - Type: Flow\n  - French public-site guidance for G4S.\n- [G4S - public side - EN](https://studio.appcues.com/flows/2c3140f6-a3f4-4314-a253-89292873150f/settings)\n  - Type: Flow\n  - English public-site guidance for G4S.\n- [G4S - public side - DE](https://studio.appcues.com/flows/ad6212d2-b60f-4bc4-bb00-995521b3d77a/settings)" <> ...,
        "outcomes" => ["engagement", "retention"],
        "priority" => "high",
        "title" => "72 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "982894a7-b184-4775-a397-369a962b7cc0",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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