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

Args

%{
  "account_id" => "106944",
  "data" => %{
    "account_insight_agent_id" => "ccb4ee77-41cc-40c2-8e3c-accd9374040f",
    "insights" => [
      %{
        "action_plan" => "Review whether these experiences still support a live use case. If the targeted page or segment is no longer active, unpublish them to keep your published inventory clean. If they should still be live, verify that their page targeting and audience segment are still relevant before leaving them published.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 2b7a49df-9353-45b0-b41a-38f0009d60fd named \"Labs - intent assistant\". This flow is currently published and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days while being older than 3 weeks.",
            "title" => "Unpublish inactive Labs flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow with experience ID 2b7a49df-9353-45b0-b41a-38f0009d60fd named \"Labs - intent assistant\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin with experience ID a8f60bff-ecf3-4b23-994b-6e08852f7179 named \"Design Test - Magnus\". This pin is currently published and had 0 seen, 0 completed, 0 dismissed, and 0 errors in the last 30 days while being older than 3 weeks.",
            "title" => "Unpublish inactive Magnus pin",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the pin with experience ID a8f60bff-ecf3-4b23-994b-6e08852f7179 named \"Design Test - Magnus\"."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Unpublishing unused experiences reduces clutter in your live portfolio and helps your team focus on content that is still driving engagement.",
        "finding" => "As part of routine content hygiene, I reviewed **10 published experiences** that were published more than **3 weeks ago** across flows, pins, and checklists. **2 experiences** had **no activity at all in the last 30 days**.\n\n- [Labs - intent assistant](https://studio.appcues.com/flows/2b7a49df-9353-45b0-b41a-38f0009d60fd/settings)\n  - Type: Flow\n  - Designed to announce **Intent Assistant** and guide users on the **/intents** page for a targeted segment on **dashboard.ultimate.ai** / **dashboard.dev.ultimate.ai**\n  - Goals: None configured\n  - Last 30 days: **0 seen**, **0 completed**, **0 skipped**\n\n- [Design Test - Magnus](https://studio.appcues.com/pins/a8f60bff-ecf3-4b23-994b-6e08852f7179/settings)\n  - Type: Pin\n  - Designed as a persistent pin on **/analytics-overview/new** for a targeted segment on **dashboard.ultimate.ai**\n  - Goals: None configured\n  - Last 30 days: **0 seen**, **0 completed**, **0 dismissed**",
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "2 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "0674f189-cc0a-4658-b5c7-a21418b1c9f3",
  "workflow_key" => "insight-issue-added"
}

Meta

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