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

Args

%{
  "account_id" => "46248",
  "data" => %{
    "account_insight_agent_id" => "28ba9cf3-c25e-4118-9b89-868b02485ff7",
    "insights" => [
      %{
        "action_plan" => "Review these inactive experiences as routine cleanup rather than a performance problem.\n\n1. Keep any experience that supports a still-active page, audience, or onboarding path you expect to use again soon.\n2. Unpublish experiences tied to outdated pages, legacy onboarding paths, or duplicate education content.\n3. If you are unsure about an item, open its settings link first to confirm the audience and trigger rules before removing it.\n\nYou can use the unpublish actions below for any experience you no longer need live.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LaXE6MH3RXOKPkhHLo_. This is the experience named \"Publisher Profile - Enterprise\".",
            "title" => "Unpublish Publisher Profile Enterprise flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LaXE6MH3RXOKPkhHLo_. This is the flow named \"Publisher Profile - Enterprise\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LaWQwolu9DYDQAoE5-Z. This is the experience named \"Movers & Shakers\".",
            "title" => "Unpublish Movers and Shakers flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LaWQwolu9DYDQAoE5-Z. This is the flow named \"Movers & Shakers\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LaWKe_4LnzbsSFLrUn8. This is the experience named \"Top Advertisers\".",
            "title" => "Unpublish Top Advertisers flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LaWKe_4LnzbsSFLrUn8. This is the flow named \"Top Advertisers\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LaWs7R1QSvtS78L0euW. This is the experience named \"Brand Profile\".",
            "title" => "Unpublish Brand Profile flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LaWs7R1QSvtS78L0euW. This is the flow named \"Brand Profile\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LZfkHoJGpgncVo_unhH. This is the experience named \"Advertiser Profile - Enterprise\".",
            "title" => "Unpublish Advertiser Profile Enterprise flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LZfkHoJGpgncVo_unhH. This is the flow named \"Advertiser Profile - Enterprise\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LYDnmfzidLxaxcrh36D. This is the experience named \"Adbeat Search\".",
            "title" => "Unpublish Adbeat Search flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LYDnmfzidLxaxcrh36D. This is the flow named \"Adbeat Search\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LcCS8dsEUHtKEirAoGh. This is the experience named \"Advertiser Profile - Non-Enterprise\".",
            "title" => "Unpublish Advertiser Profile Non Enterprise flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LcCS8dsEUHtKEirAoGh. This is the flow named \"Advertiser Profile - Non-Enterprise\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LcCT8lPcVc7K0skXaQk. This is the experience named \"Publisher Profile - Non-Enterprise\".",
            "title" => "Unpublish Publisher Profile Non Enterprise flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LcCT8lPcVc7K0skXaQk. This is the flow named \"Publisher Profile - Non-Enterprise\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published checklist with experience ID -Lcbr8mInj06l10gqsDe. This is the experience named \"Getting Started - Non-Enterprise\".",
            "title" => "Unpublish Non Enterprise checklist",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -Lcbr8mInj06l10gqsDe. This is the checklist named \"Getting Started - Non-Enterprise\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published checklist with experience ID -LaWSpOwi8JYpZj7aIPl. This is the experience named \"Getting Started - Enterprise\".",
            "title" => "Unpublish Enterprise checklist",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LaWSpOwi8JYpZj7aIPl. This is the checklist named \"Getting Started - Enterprise\"."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up these inactive published experiences should reduce content sprawl, lower the chance of outdated guidance resurfacing, and make your live Appcues inventory easier to maintain and audit.",
        "finding" => "As part of routine content hygiene, I found **10 published experiences** that were published **more than 3 weeks ago** and had **0 activity in the last 30 days**.\n\n- [Publisher Profile - Enterprise](https://studio.appcues.com/flows/-LaXE6MH3RXOKPkhHLo_/settings)\n  - Type: Flow\n  - Designed to introduce the **Publisher Profile** page, including ad spend, filters, ads, and similar profiles\n  - Targeting: users on `app.adbeat.com` publisher pages in an enterprise audience segment\n- [Movers & Shakers](https://studio.appcues.com/flows/-LaWQwolu9DYDQAoE5-Z/settings)\n  - Type: Flow\n  - Designed to explain the **Movers & Shakers** report and how to spot advertisers changing strategy\n  - Targeting: users on the `/movers-and-shakers` page in the same audience segment\n- [Top Advertisers](https://studio.appcues.com/flows/-LaWKe_4LnzbsSFLrUn8/settings)\n  - Type: Flow\n  - Designed to guide users through the **Top Advertisers** view, including category and ad network filters\n  - Targeting: users on `/top-advertisers/`, after a prior onboarding experience\n- [Brand Profile](https://studio.appcues.com/flows/-LaWs7R1QSvtS78L0euW/settings)\n  - Type: Flow\n  - Designed to explain the **Brand Profile** view for a single brand or product line\n  - Targeting: users on `/brand/` pages in the same audience segment\n- [Advertiser Profile - Enterprise](https://studio.appcues.com/flows/-LZfkHoJGpgncVo_unhH/settings)\n  - Type: Flow\n  - Designed to teach the **Advertiser Profile** page, including follow/alerts, ad spend, filters, campaigns, landing pages, and publishers\n  - Targeting: users on advertiser pages with enterprise plan criteria\n- [Adbeat Search](https://studio.appcues.com/flows/-LYDnmfzidLxaxcrh36D/settings)\n  - Type: Flow\n  - Designed as a **welcome walkthrough** for search, filters, reports, and the next checklist step\n  - Targeting: users on `top-advertisers` in the same audience segment\n- [Advertiser Profile - Non-Enterprise](https://studio.appcues.com/flows/-LcCS8dsEUHtKEirAoGh/settings)\n  - Type: Flow\n  - Designed to teach the **Advertiser Profile** for non-enterprise users, including alerts, ad impact, ads, campaigns, and publishers\n  - Targeting: users on advertiser pages outside the enterprise plan condition\n- [Publisher Profile - Non-Enterprise](https://studio.appcues.com/flows/-LcCT8lPcVc7K0skXaQk/settings)\n  - Type: Flow\n  - Designed to teach the **Publisher Profile** for non-enterprise users, including ad impact, filters, advertisers, and similar profiles\n  - Targeting: users on publisher pages outside the enterprise plan condition\n- [Getting Started - Non-Enterprise](https://studio.appcues.com/checklists/-Lcbr8mInj06l10gqsDe/edit)\n  - Type: Checklist\n  - Designed as a getting-started checklist with items for search, advertiser profile, publisher profile, and workflows\n- [Getting Started - Enterprise](https://studio.appcues.com/checklists/-LaWSpOwi8JYpZj7aIPl/edit)\n  - Type: Checklist\n  - Designed as the enterprise version of the same getting-started checklist\n\nNone of these experiences have recorded **seen events or checklist activity** in the last 30 days, which makes them strong candidates for review and possible unpublishing.",
        "outcomes" => ["engagement", "adoption"],
        "priority" => "medium",
        "title" => "10 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "9268a56b-b828-42c7-ae43-01ac94f56ce8",
  "workflow_key" => "insight-issue-added"
}

Meta

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