24953727 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 00:00.201
Run Time 00:00.007
Inserted 3d ago
Scheduled 3d ago
Completed
Cancelled
Discarded 3d ago

Args

%{
  "account_id" => "123055",
  "data" => %{
    "account_insight_agent_id" => "0bc19bb3-d8c7-4e56-9959-4d3bbd9e89db",
    "insights" => [
      %{
        "action_plan" => "Review the linked experience and decide whether it still supports an active product initiative. If the feature announcement is no longer needed, unpublish it to keep your live experience inventory clean. If it should stay live, consider refreshing the targeting or assigning a goal so future hygiene reviews can better distinguish intentional low-volume content from stale content.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support publish-state tools to unpublish the published web flow with ID 0d916162-481f-4933-9ad5-ff778798cbbc named Feature Announcement \"Favoriten löschen\". This experience was published on 2024-10-21T15:47:44.918766Z, targets domain app.dpa-agenda.de and URL standard?shortcut=myFavourites&startDate=2023 for segment ID 0d1cfe2f-280d-481f-b7f1-1eca02b3ef3e (Abonnenten (ohne Test-User)), uses frequency once, and has no goals assigned. Unpublish it as routine hygiene because the latest verified inactivity scan shows no activity in the last 30 days.",
            "title" => "Unpublish inactive feature announcement",
            "undo_prompt" => "Use the product_support publish-state tools to publish the web flow with ID 0d916162-481f-4933-9ad5-ff778798cbbc named Feature Announcement \"Favoriten löschen\" again. Restore it in published state with the same existing targeting: domain app.dpa-agenda.de, URL standard?shortcut=myFavourites&startDate=2023, segment ID 0d1cfe2f-280d-481f-b7f1-1eca02b3ef3e, frequency once."
          }
        ],
        "cta_text" => "Review inactive experience",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Unpublishing stale content reduces live-content clutter and makes it easier to maintain a focused, current in-product experience portfolio.",
        "finding" => "Routine cleanup check: **1** published experience that has been live for more than 3 weeks is still showing **no activity in the last 30 days** based on the latest verified inactivity scan available for this account.\n\n- [Feature Announcement \"Favoriten löschen\"](https://studio.appcues.com/flows/0d916162-481f-4933-9ad5-ff778798cbbc/settings)\n  - **Type:** Flow\n  - **Published:** 2024-10-21\n  - **Designed to do:** Announce and explain the **Favoritenliste löschen** feature with a one-step modal and confirmation button\n  - **Targeting:** Shows on **app.dpa-agenda.de** on the favorites page for the **Abonnenten (ohne Test-User)** segment\n  - **Goals:** None assigned",
        "outcomes" => ["engagement", "retention"],
        "priority" => "medium",
        "title" => "1 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "c0d5f8ad-8e17-4466-a0a6-79bdaa157e21",
  "workflow_key" => "insight-issue-added"
}

Meta

%{"orig_scheduled_at" => 1777316822296088, "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+5243cc40) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+5243cc40) 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+5243cc40) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+5243cc40) 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+5243cc40) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+5243cc40) 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+5243cc40) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+5243cc40) 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+5243cc40) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+5243cc40) 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