25370641 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.305
Run Time 00:00.008
Inserted 4h ago
Scheduled 4h ago
Completed
Cancelled
Discarded 4h ago

Args

%{
  "account_id" => "82304",
  "data" => %{
    "account_insight_agent_id" => "0b358db7-cff3-4ad0-baaa-a8b20979c120",
    "insights" => [
      %{
        "action_plan" => "Review these inactive experiences and keep only the ones that still serve a current audience or workflow. If a flow is tied to an old release, a reset variant, or legacy domains you no longer use, unpublish it to reduce clutter and avoid accidental resurfacing later.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support publishing tools to unpublish the published experience with ID 31817f51-f4a0-4e91-8811-451aa5768917 named \"Editor - Onboarding tutorial - reset\". This is a published web flow with zero seen, completed, skipped, and error activity in the last 30 days and was published on 2025-07-07. Unpublish it only; do not modify any content or rules.",
            "title" => "Unpublish inactive onboarding reset flow",
            "undo_prompt" => "Use the product support publishing tools to publish the experience with ID 31817f51-f4a0-4e91-8811-451aa5768917 named \"Editor - Onboarding tutorial - reset\" again, restoring it to a live published state without changing any content or rules."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support publishing tools to unpublish the published experience with ID f7658e30-0892-48f2-989f-f7d760f19f0e named \"V4.1 New features - reset\". This is a published web flow with zero seen, completed, skipped, and error activity in the last 30 days and was published on 2025-05-26. Unpublish it only; do not modify any content or rules.",
            "title" => "Unpublish inactive 4.1 reset flow",
            "undo_prompt" => "Use the product support publishing tools to publish the experience with ID f7658e30-0892-48f2-989f-f7d760f19f0e named \"V4.1 New features - reset\" again, restoring it to a live published state without changing any content or rules."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support publishing tools to unpublish the published experience with ID 99da5103-ce05-440c-9841-040973e3c464 named \"V4.0.5.3 New features - reset\". This is a published web flow with zero seen, completed, skipped, and error activity in the last 30 days and was published on 2025-03-13. Unpublish it only; do not modify any content or rules.",
            "title" => "Unpublish inactive 4.0.5.3 reset flow",
            "undo_prompt" => "Use the product support publishing tools to publish the experience with ID 99da5103-ce05-440c-9841-040973e3c464 named \"V4.0.5.3 New features - reset\" again, restoring it to a live published state without changing any content or rules."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support publishing tools to unpublish the published experience with ID 2e1e46da-90e8-4df0-816f-706e338161b3 named \"[2021] Features Overview\". This is a published web flow with zero seen, completed, skipped, and error activity in the last 30 days and was published on 2021-05-20. Unpublish it only; do not modify any content or rules.",
            "title" => "Unpublish inactive 2021 overview flow",
            "undo_prompt" => "Use the product support publishing tools to publish the experience with ID 2e1e46da-90e8-4df0-816f-706e338161b3 named \"[2021] Features Overview\" again, restoring it to a live published state without changing any content or rules."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support publishing tools to unpublish the published experience with ID 231e7ff5-4403-4e7d-91eb-91b6cd41cd78 named \"[2021] Template Flow\". This is a published web flow with zero seen, completed, skipped, and error activity in the last 30 days and was published on 2021-06-22. Unpublish it only; do not modify any content or rules.",
            "title" => "Unpublish inactive 2021 template flow",
            "undo_prompt" => "Use the product support publishing tools to publish the experience with ID 231e7ff5-4403-4e7d-91eb-91b6cd41cd78 named \"[2021] Template Flow\" again, restoring it to a live published state without changing any content or rules."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support publishing tools to unpublish the published experience with ID 5010aee2-e7ec-43ee-92b5-eb072a8bd0a9 named \"2 - [2021] Features Overview\". This is a published web flow with zero seen, completed, skipped, and error activity in the last 30 days and was published on 2021-05-21. Unpublish it only; do not modify any content or rules.",
            "title" => "Unpublish inactive duplicate overview flow",
            "undo_prompt" => "Use the product support publishing tools to publish the experience with ID 5010aee2-e7ec-43ee-92b5-eb072a8bd0a9 named \"2 - [2021] Features Overview\" again, restoring it to a live published state without changing any content or rules."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up inactive published content should make your live experience inventory easier to manage and reduce the risk of outdated guidance reaching users if old triggers become active again.",
        "finding" => "I reviewed published experiences older than **3 weeks** and found **6** with **no seen events or enrollments in the last 30 days**.\n\n- [[Editor - Onboarding tutorial - reset](https://studio.appcues.com/flows/31817f51-f4a0-4e91-8811-451aa5768917/settings)](https://studio.appcues.com/flows/31817f51-f4a0-4e91-8811-451aa5768917/settings)\n  - Type: Flow\n  - Designed to guide users through the editor onboarding tutorial after an onboarding-tutorial click, on editor pages under your ResponsiveAds domains.\n- [[V4.1 New features - reset](https://studio.appcues.com/flows/f7658e30-0892-48f2-989f-f7d760f19f0e/settings)](https://studio.appcues.com/flows/f7658e30-0892-48f2-989f-f7d760f19f0e/settings)\n  - Type: Flow\n  - Designed to announce Studio 4.1 release updates, including carousel slide actions, breakpoint visualization, and the blocks animation timeline, on editor pages after a new-features click.\n- [[V4.0.5.3 New features - reset](https://studio.appcues.com/flows/99da5103-ce05-440c-9841-040973e3c464/settings)](https://studio.appcues.com/flows/99da5103-ce05-440c-9841-040973e3c464/settings)\n  - Type: Flow\n  - Designed to announce the v4.0.5.3 release, including PSD uploads with text and the new user guide, on editor pages after a new-features click.\n- [[2021 Features Overview](https://studio.appcues.com/flows/2e1e46da-90e8-4df0-816f-706e338161b3/settings)](https://studio.appcues.com/flows/2e1e46da-90e8-4df0-816f-706e338161b3/settings)\n  - Type: Flow\n  - Designed as a legacy product tour for older app2/develop2 domains, triggered by an overview-tutorial URL and tied to the goal **TEST 2021 Goal**.\n- [[2021 Template Flow](https://studio.appcues.com/flows/231e7ff5-4403-4e7d-91eb-91b6cd41cd78/settings)](https://studio.appcues.com/flows/231e7ff5-4403-4e7d-91eb-91b6cd41cd78/settings)\n  - Type: Flow\n  - Designed as a legacy template tutorial for first-time ad-unit creation on an older app2 edit page.\n- [[2 - 2021 Features Overview](https://studio.appcues.com/flows/5010aee2-e7ec-43ee-92b5-eb072a8bd0a9/settings)](https://studio.appcues.com/flows/5010aee2-e7ec-43ee-92b5-eb072a8bd0a9/settings)\n  - Type: Flow\n  - Designed as a second legacy features overview flow for an older app2 edit page, chained into the 2021 template flow and also tied to **TEST 2021 Goal**.\n\nThis looks like normal content hygiene rather than a setup mistake: several candidates appear to be older release announcements, reset variants, or legacy tutorials that may no longer be needed live.",
        "outcomes" => ["engagement", "retention"],
        "priority" => "medium",
        "title" => "6 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "b173403e-6899-48ba-a3c2-f7a845919b22",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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