24944655 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 00:00.161
Run Time 00:00.006
Inserted 3d ago
Scheduled 3d ago
Completed
Cancelled
Discarded 3d ago

Args

%{
  "account_id" => "137291",
  "data" => %{
    "account_insight_agent_id" => "a9329cdf-24df-4999-95b7-d021909a0239",
    "insights" => [
      %{
        "action_plan" => "Review these experiences as part of routine cleanup. Unpublish anything that is no longer needed, especially staging content and internal-only pins. For the two Earnings Calls walkthroughs, decide whether one should remain live as the canonical experience and retire the other to reduce overlap.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published banner experience with ID 4ce704c7-cf5f-4e9a-94a5-975d8ac05c87 named \"[Staging] Launch Banner_MineralSoft\". This banner is still published, was created on 2024-11-13, and had 0 seen users, 0 completed users, and 0 dismissed users in the last 30 days.",
            "title" => "Unpublish staging MineralSoft launch banner",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the banner experience with ID 4ce704c7-cf5f-4e9a-94a5-975d8ac05c87 named \"[Staging] Launch Banner_MineralSoft\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin experience with ID 1aabc2f2-3b5f-4b28-809c-f651a6279933 named \"[Prod] Evolve 2026 Button_Intelligence 2.0\". This pin is still published, was created on 2026-03-05, targets the /dashboard page on new.intelligence.enverus.com for the single user email erika.gradeen@enverus.com, and had 0 seen users in the last 30 days.",
            "title" => "Unpublish inactive Intelligence 2.0 pin",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the pin experience with ID 1aabc2f2-3b5f-4b28-809c-f651a6279933 named \"[Prod] Evolve 2026 Button_Intelligence 2.0\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin experience with ID bfc4f360-4ce2-4525-8adc-972d0d4527fe named \"[Prod] Evolve 2026 Button_Intelligence 1.0\". This pin is still published, was created on 2026-03-05, targets the /dashboard page on intelligence.enverus.com for the single user email erika.gradeen@enverus.com, and had 0 seen users in the last 30 days.",
            "title" => "Unpublish inactive Intelligence 1.0 pin",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the pin experience with ID bfc4f360-4ce2-4525-8adc-972d0d4527fe named \"[Prod] Evolve 2026 Button_Intelligence 1.0\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin experience with ID b79e054e-f8e8-44f5-92ef-8494cb5b58a2 named \"[Prod] IRP Analysis Pin_Prism\". This pin is still published, was created on 2026-01-15, targets a specific shared workbook page on prism.enverus.com for four internal email addresses, and had 0 seen users in the last 30 days.",
            "title" => "Unpublish inactive IRP workbook pin",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the pin experience with ID b79e054e-f8e8-44f5-92ef-8494cb5b58a2 named \"[Prod] IRP Analysis Pin_Prism\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin experience with ID 1986682b-1d3f-4591-9b39-06baf2a4f2dd named \"[Prod] IXQ & Power Plants Pin_Prism\". This pin is still published, was created on 2025-08-06, targets a specific shared workbook page on prism.enverus.com for internal email addresses, and had 0 seen users in the last 30 days.",
            "title" => "Unpublish inactive IXQ workbook pin",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the pin experience with ID 1986682b-1d3f-4591-9b39-06baf2a4f2dd named \"[Prod] IXQ & Power Plants Pin_Prism\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow experience with ID 7a3a11dc-2d85-49c3-98a6-236ef35cd6a4 named \"[Prod] Widget ENV PWI DSU Analytics_Prism\". This flow is still published, was created on 2025-10-08, is a tooltip note about missing EUR volumes on prism.enverus.com triggered by the custom event \"Prism Widget ENV PWI - DSU Analytics\", and had 0 seen users, 0 completed users, and 0 skipped users in the last 30 days.",
            "title" => "Unpublish inactive DSU analytics flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the flow experience with ID 7a3a11dc-2d85-49c3-98a6-236ef35cd6a4 named \"[Prod] Widget ENV PWI DSU Analytics_Prism\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow experience with ID d195b8f6-7d93-4038-b2a1-0dfcd5a1305e named \"[Prod] M&A Earnings Calls_Prism\". This flow is still published, was created on 2025-04-11, is a 7-step Prism walkthrough for the Earnings Transcripts agent on /prism/instant-analyst, and had 0 seen users, 0 completed users, and 0 skipped users in the last 30 days.",
            "title" => "Unpublish inactive earnings walkthrough",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the flow experience with ID d195b8f6-7d93-4038-b2a1-0dfcd5a1305e named \"[Prod] M&A Earnings Calls_Prism\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow experience with ID 39552945-1339-4384-89d3-b365c6808e5f named \"[Prod] M&A Advanced Gen AI Earnings Calls_Prism\". This flow is still published, was created on 2025-04-10, is an 8-step Prism walkthrough for the Earnings Transcripts AI agent on /prism/instant-analyst, and had 0 seen users, 0 completed users, and 0 skipped users in the last 30 days.",
            "title" => "Unpublish inactive Gen AI walkthrough",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the flow experience with ID 39552945-1339-4384-89d3-b365c6808e5f named \"[Prod] M&A Advanced Gen AI Earnings Calls_Prism\"."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up inactive published content should reduce maintenance overhead, simplify your live experience inventory, and lower the chance of outdated or duplicate experiences resurfacing later.",
        "finding" => "Routine content hygiene check: **8 published experiences** were published more than **3 weeks ago** and had **0 seen users in the last 30 days**.\n\n- [[Staging] Launch Banner_MineralSoft](https://studio.appcues.com/banners/4ce704c7-cf5f-4e9a-94a5-975d8ac05c87/settings)\n  - Type: **Banner**\n  - Designed to show a staging-only launch/update message on **dev.mineralsoft.com** and **staging.mineralsoft.com**, targeted to a single internal email address.\n\n- [[Prod] Evolve 2026 Button_Intelligence 2.0](https://studio.appcues.com/pins/1aabc2f2-3b5f-4b28-809c-f651a6279933/settings)\n  - Type: **Pin**\n  - Designed to place an **Evolve 2026** CTA on the Intelligence dashboard for a single internal user.\n\n- [[Prod] Evolve 2026 Button_Intelligence 1.0](https://studio.appcues.com/pins/bfc4f360-4ce2-4525-8adc-972d0d4527fe/settings)\n  - Type: **Pin**\n  - Designed to place an **Evolve 2026** CTA on the Intelligence dashboard for a single internal user.\n\n- [[Prod] IRP Analysis Pin_Prism](https://studio.appcues.com/pins/b79e054e-f8e8-44f5-92ef-8494cb5b58a2/settings)\n  - Type: **Pin**\n  - Designed to add a **Workbook Tour** shortcut on a specific Prism shared workbook, targeted to a small list of internal users.\n\n- [[Prod] IXQ & Power Plants Pin_Prism](https://studio.appcues.com/pins/1986682b-1d3f-4591-9b39-06baf2a4f2dd/settings)\n  - Type: **Pin**\n  - Designed to add a **Workbook Tour** shortcut on a specific Prism shared workbook, targeted to internal users.\n\n- [[Prod] Widget ENV PWI DSU Analytics_Prism](https://studio.appcues.com/flows/7a3a11dc-2d85-49c3-98a6-236ef35cd6a4/settings)\n  - Type: **Flow**\n  - Designed to show a tooltip note about missing **EUR** data on Prism when a specific DSU Analytics trigger event fires.\n\n- [[Prod] M&A Earnings Calls_Prism](https://studio.appcues.com/flows/d195b8f6-7d93-4038-b2a1-0dfcd5a1305e/settings)\n  - Type: **Flow**\n  - Designed as a multi-step walkthrough for the **Earnings Transcripts** experience in Prism.\n\n- [[Prod] M&A Advanced Gen AI Earnings Calls_Prism](https://studio.appcues.com/flows/39552945-1339-4384-89d3-b365c6808e5f/settings)\n  - Type: **Flow**\n  - Designed as a multi-step walkthrough for the **Earnings Transcripts AI agent** in Prism.\n\nSeveral of these look like staging or internal-only content, and the two Earnings Calls walkthroughs appear to overlap in purpose while both remain live.",
        "outcomes" => ["engagement", "retention"],
        "priority" => "medium",
        "title" => "8 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "c3dbc710-f7f2-4ba6-9188-eb7de50f2a0d",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

Attempt 5—3d 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+e99cfebb) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+e99cfebb) 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—3d 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+e99cfebb) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+e99cfebb) 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—3d 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+e99cfebb) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+e99cfebb) 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—3d 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+e99cfebb) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+e99cfebb) 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—3d 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+e99cfebb) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+e99cfebb) 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