25354475 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.319
Run Time 00:00.007
Inserted 1h ago
Scheduled 1h ago
Completed
Cancelled
Discarded 1h ago

Args

%{
  "account_id" => "224221",
  "data" => %{
    "account_insight_agent_id" => "60b619d5-88e4-491f-b79d-31a011de6c41",
    "insights" => [
      %{
        "action_plan" => "Update the flow copy to replace **\"Attach a phone numbers\"** with **\"Attach a phone number\"**. This appears to be a straightforward grammar issue rather than a locale difference.",
        "actions" => [],
        "cta_text" => "Review typo",
        "entity_id" => "411d8576-18ff-4aff-a5b2-7c43c9415d74",
        "entity_type" => "flow",
        "expected_impact" => "Removes distracting copy friction in a live onboarding flow and improves trust during agent setup.",
        "finding" => "I reviewed all **15 live experiences** and found a likely typo in **[Create a New Agent - Integration & Deploy](https://studio.appcues.com/flows/411d8576-18ff-4aff-a5b2-7c43c9415d74/settings)**.\n\nFlagged phrase: **\"Attach a phone numbers for calls and SMS\"**\n\nSuggested correction: **\"Attach a phone number for calls and SMS\"**",
        "outcomes" => ["engagement", "activation"],
        "priority" => "medium",
        "title" => "Live flow copy has a grammar typo in agent setup guidance",
        "type" => "issue"
      },
      %{
        "action_plan" => "Confirm the intended product branding, then update the sentence if the product name should match the rest of your live experiences, which use **Narwh.ai**.",
        "actions" => [],
        "cta_text" => "Review branding typo",
        "entity_id" => "1514263e-1991-4c8a-9120-29fb2d524333",
        "entity_type" => "flow",
        "expected_impact" => "Improves brand consistency across live onboarding experiences and reduces confusion for new users.",
        "finding" => "I found a likely brand-name typo in **[Add Knowledge - Upload Files](https://studio.appcues.com/flows/1514263e-1991-4c8a-9120-29fb2d524333/settings)**.\n\nFlagged phrase: **\"Narwhal AI will extract and organise the information automatically.\"**\n\nSuggested correction: **\"Narwh.ai will extract and organise the information automatically.\"**\n\nI did **not** flag UK-English spellings like **\"organise\"**, **\"behaviour\"**, or **\"personalise\"**, because the account's live copy consistently uses that locale.",
        "outcomes" => ["engagement", "activation"],
        "priority" => "medium",
        "title" => "Live knowledge upload flow may use the wrong brand spelling",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "c7e87423-f499-4117-8e3f-50ba61d0f0f5",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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