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

Args

%{
  "account_id" => "55519",
  "data" => %{
    "account_insight_agent_id" => "c1c335b8-e45d-4d1f-9d52-52bff3dcdb8c",
    "insights" => [
      %{
        "action_plan" => "Update the live modal copy to use the intended phrasing, then spot-check the rest of the SMS spending announcement flow for consistency in tone and grammar.",
        "actions" => [],
        "cta_text" => "Review flow copy",
        "entity_id" => "f6f0a179-7a29-47dc-938c-51d95aafd45a",
        "entity_type" => "flow",
        "expected_impact" => "Removes a visible copy distraction in a live announcement and makes the value proposition easier to understand, improving engagement.",
        "finding" => "I reviewed all **17 published experiences** and found one likely typo/grammar issue in **Sep 2025: SMS spending welcome (modal)**.\n\n**Possible typo phrase:** \"Get insight to forecast and manage budget overages early\"\n\nIn UK English, this reads awkwardly as singular. Likely corrections:\n- **\"Get insights to forecast and manage budget overages early\"**\n- or **\"Get insight into forecasting and managing budget overages early\"**\n\nReview it here: [Sep 2025: SMS spending welcome (modal)](https://studio.appcues.com/flows/f6f0a179-7a29-47dc-938c-51d95aafd45a/analytics)",
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "Live SMS spending modal may contain a copy error",
        "type" => "issue"
      },
      %{
        "action_plan" => "Edit the hotspot sentence to add the missing article, then review nearby release-announcement hotspots for similar small grammar issues before the next publish cycle.",
        "actions" => [],
        "cta_text" => "Review hotspot copy",
        "entity_id" => "96fc561b-c040-47b8-8459-3f12699c000b",
        "entity_type" => "flow",
        "expected_impact" => "Improves clarity and professionalism in a live hotspot, reducing friction for users reading quick product announcements.",
        "finding" => "I found another likely typo in **Oct 2025 SMS (Hotspot)**.\n\n**Possible typo phrase:** \"Understand your SMS budget consumption in new dashboard available under:\"\n\nThis appears to be missing an article. Likely corrections:\n- **\"Understand your SMS budget consumption in the new dashboard available under:\"**\n- or **\"Understand your SMS budget consumption in a new dashboard available under:\"**\n\nReview it here: [Oct 2025 SMS (Hotspot)](https://studio.appcues.com/flows/96fc561b-c040-47b8-8459-3f12699c000b/analytics)",
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "Live SMS hotspot likely missing an article",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "1412566b-4328-4ecb-8530-6385212e1d72",
  "workflow_key" => "insight-issue-added"
}

Meta

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