25370674 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.300
Run Time 00:00.005
Inserted 5h ago
Scheduled 5h ago
Completed
Cancelled
Discarded 5h ago

Args

%{
  "account_id" => "209568",
  "data" => %{
    "account_insight_agent_id" => "505d2e0c-950d-4933-be63-24d7c410677f",
    "insights" => [
      %{
        "action_plan" => "Update the heading in both flows from **\"Next, step up your communications\"** to **\"Next, set up your communications\"** so the transition to the communications step reads naturally and consistently with the rest of the onboarding flow.",
        "actions" => [],
        "cta_text" => "Review flows",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Removes awkward copy in two live onboarding moments and improves trust and clarity during setup.",
        "finding" => "I found the same likely typo in two live flows:\n\n- [PROD] Grant Details - First cycle - Step 3 (Configure who can apply) — [open flow](https://studio.appcues.com/flows/24b235eb-cb49-4ef5-bbf5-ca04fae789ae/analytics)\n- [DEMO] Grant Details - First cycle - Step 3 (Configure who can apply) — [open flow](https://studio.appcues.com/flows/de642405-940d-44c1-90db-e8efb6ee571d/analytics)\n\nThe phrase shown is **\"Next, step up your communications\"**.\n\nIn this context, **\"set up your communications\"** appears to be the intended copy.",
        "outcomes" => ["activation", "engagement"],
        "priority" => "medium",
        "title" => "Two live onboarding flows likely say 'step up' instead of 'set up'",
        "type" => "issue"
      },
      %{
        "action_plan" => "Review and correct the Spanish headline so it matches natural Spanish usage. Recommended update: **\"¿Quieres acceder a esta información en español?\"**. Also keep capitalization consistent by using **\"español\"** in lowercase unless your style guide requires title case.",
        "actions" => [],
        "cta_text" => "Review translation flow",
        "entity_id" => "175ac5e2-44a8-414d-b0b9-cd0aaccced2c",
        "entity_type" => "flow",
        "expected_impact" => "Improves readability for Spanish-speaking users and makes the translation prompt feel more polished and trustworthy.",
        "finding" => "In **Spanish Translation - Draft Application** — [open flow](https://studio.appcues.com/flows/175ac5e2-44a8-414d-b0b9-cd0aaccced2c/analytics) — the live copy reads:\n\n**\"¿Quieres acceder esta información en Español?\"**\n\nThat phrasing is likely missing **\"a\"** after **\"acceder\"**. A more natural correction would be:\n\n**\"¿Quieres acceder a esta información en español?\"**",
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "Spanish translation flow likely misses a preposition in its headline",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "2a67770f-864d-4c69-989b-0b4017aa8d29",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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