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

Args

%{
  "account_id" => "23002",
  "data" => %{
    "account_insight_agent_id" => "380e683a-f674-4b4f-b270-5ab4b3ac41e4",
    "insights" => [
      %{
        "action_plan" => "Treat this as routine hygiene: review whether each flow still supports an active audience, current product surface, or ongoing campaign. If a flow was tied to a past launch, legacy onboarding path, or retired segment, unpublish it now. Keep any item only if it is intentionally dormant for a future rollout or a low-frequency audience.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID `1ad74b32-b7d4-45fc-9be4-681752a70384` named `PSB: Adobe CC Issues Fixed (8/14/25)`. This flow has had 0 seen users in the last 30 days and was published on 2025-08-14. Unpublish the live experience only; do not edit its draft content.",
            "title" => "Unpublish inactive Adobe CC fix flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID `1ad74b32-b7d4-45fc-9be4-681752a70384` named `PSB: Adobe CC Issues Fixed (8/14/25)`."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID `2749cce5-fe72-4615-9fae-a1a01bebe6e5` named `SOC: Video Clipping (5/6/25)`. This flow has had 0 seen users in the last 30 days and was published on 2025-05-06. Unpublish the live experience only; do not edit its draft content.",
            "title" => "Unpublish inactive video clipping flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID `2749cce5-fe72-4615-9fae-a1a01bebe6e5` named `SOC: Video Clipping (5/6/25)`."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID `a780e074-5a6c-4ff5-9fd0-12fe08395107` named `Lumen: Onboarding`. This flow has had 0 seen users in the last 30 days and was published on 2025-01-30. Unpublish the live experience only; do not edit its draft content.",
            "title" => "Unpublish inactive Lumen onboarding flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID `a780e074-5a6c-4ff5-9fd0-12fe08395107` named `Lumen: Onboarding`."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID `f392b2c8-c982-4de3-aa92-94657de0f6c8` named `Lumen Adoption: Discover Lumen | What's New`. This flow has had 0 seen users in the last 30 days and was published on 2025-01-30. Unpublish the live experience only; do not edit its draft content.",
            "title" => "Unpublish inactive Lumen what's new flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID `f392b2c8-c982-4de3-aa92-94657de0f6c8` named `Lumen Adoption: Discover Lumen | What's New`."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID `c6160dd9-a586-45fc-ad97-40f3bc35f9d7` named `Lumen Adoption: Discover Lumen | Sharing & Permissions`. This flow has had 0 seen users in the last 30 days and was published on 2025-01-30. Unpublish the live experience only; do not edit its draft content.",
            "title" => "Unpublish inactive sharing permissions flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID `c6160dd9-a586-45fc-ad97-40f3bc35f9d7` named `Lumen Adoption: Discover Lumen | Sharing & Permissions`."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID `c535ad7e-8514-4464-a93f-b497ebb63719` named `PSP Onboarding: Sell: Pricing Profiles (Prints)`. This flow has had 0 seen users in the last 30 days and was published on 2022-03-04. Unpublish the live experience only; do not edit its draft content.",
            "title" => "Unpublish inactive prints pricing flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID `c535ad7e-8514-4464-a93f-b497ebb63719` named `PSP Onboarding: Sell: Pricing Profiles (Prints)`."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID `-Lg-E80D79uCh_QzVjVx` named `Core Onboarding: Sell: Site Builder (demo gallery)`. This flow has had 0 seen users in the last 30 days and was published on 2019-05-28. Unpublish the live experience only; do not edit its draft content.",
            "title" => "Unpublish inactive site builder flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID `-Lg-E80D79uCh_QzVjVx` named `Core Onboarding: Sell: Site Builder (demo gallery)`."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID `d98c3ac8-7040-4bd0-8b1d-59273a1b4749` named `PSP Onboarding: Sell: Pricing Profiles (Personal-Use Downloads)`. This flow has had 0 seen users in the last 30 days and was published on 2022-05-09. Unpublish the live experience only; do not edit its draft content.",
            "title" => "Unpublish inactive downloads pricing flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID `d98c3ac8-7040-4bd0-8b1d-59273a1b4749` named `PSP Onboarding: Sell: Pricing Profiles (Personal-Use Downloads)`."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up unused published experiences should reduce maintenance overhead and the risk of outdated content resurfacing, while keeping your live Appcues inventory focused on current activation and engagement work.",
        "finding" => "I reviewed published experiences older than 3 weeks and found **8** with **0 seen users in the last 30 days**.\n\nThese are good candidates for routine cleanup:\n- [PSB: Adobe CC Issues Fixed (8/14/25)](https://studio.appcues.com/flows/1ad74b32-b7d4-45fc-9be4-681752a70384/settings)\n  - Type: Flow\n  - Designed to announce an Adobe CC connector fix and link users to downloads/help\n  - Targeting: shown on `/mu/home/` or `/library` on `www.photoshelter.com` / `library.photoshelter.com` for a targeted org list\n- [SOC: Video Clipping (5/6/25)](https://studio.appcues.com/flows/2749cce5-fe72-4615-9fae-a1a01bebe6e5/settings)\n  - Type: Flow\n  - Designed to announce the Video Clipping feature near the clip action in Socialie\n  - Targeting: `app.socialie.com` media-library pages for a specific segment\n- [Lumen: Onboarding](https://studio.appcues.com/flows/a780e074-5a6c-4ff5-9fd0-12fe08395107/settings)\n  - Type: Flow\n  - Designed as a guided onboarding tour for setting up the portal and adding users\n  - Targeting: `library.photoshelter.com/library` for a Lumen segment\n- [Lumen Adoption: Discover Lumen | What's New](https://studio.appcues.com/flows/f392b2c8-c982-4de3-aa92-94657de0f6c8/settings)\n  - Type: Flow\n  - Designed to introduce new Lumen capabilities like uploads, search, and video metadata\n  - Targeting: `library.photoshelter.com/library` for a Lumen segment\n- [Lumen Adoption: Discover Lumen | Sharing & Permissions](https://studio.appcues.com/flows/c6160dd9-a586-45fc-ad97-40f3bc35f9d7/settings)\n  - Type: Flow\n  - Designed to teach the new sharing flow and permission controls\n  - Targeting: `library.photoshelter.com/library` for a Lumen segment\n- [PSP Onboarding: Sell: Pricing Profiles (Prints)](https://studio.appcues.com/flows/c535ad7e-8514-4464-a93f-b497ebb63719/settings)\n  - Type: Flow\n  - Designed to help users set up print/product pricing profiles\n  - Targeting: `www.photoshelter.com/mem/sales/price-list` for a PSP onboarding segment\n  - Goals: includes a sales/pricing goal\n- [Core Onboarding: Sell: Site Builder (demo gallery)](https://studio.appcues.com/flows/-Lg-E80D79uCh_QzVjVx/settings)\n  - Type: Flow\n  - Designed to explain demo gallery content on a new site builder homepage\n  - Targeting: `www.photoshelter.com` site-builder edit pages for a PSP onboarding segment\n- [PSP Onboarding: Sell: Pricing Profiles (Personal-Use Downloads)](https://studio.appcues.com/flows/d98c3ac8-7040-4bd0-8b1d-59273a1b4749/settings)\n  - Type: Flow\n  - Designed to help users configure personal-use download pricing\n  - Targeting: `www.photoshelter.com/mem/sales/price-list` for a PSP onboarding segment\n  - Goals: includes a sales/pricing goal\n\nCompared with the last review, **2 additional flows** have now dropped to zero activity: **PSB: Adobe CC Issues Fixed (8/14/25)** and **SOC: Video Clipping (5/6/25)**.",
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "8 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "754d3cd3-a1ec-47c3-b06a-5ef52c6e5b82",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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