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

Args

%{
  "account_id" => "219774",
  "data" => %{
    "account_insight_agent_id" => "95afa74b-de44-48d0-8c5c-3f84961b1311",
    "insights" => [
      %{
        "action_plan" => "Update the closing message to read **\"You've Finished & Documented your first Home Visit!\"**. Review the live flow in [Appcues Studio](https://studio.appcues.com/flows/dae46842-2da1-4c4a-ad2a-19b8bfc97267/analytics).",
        "actions" => [],
        "cta_text" => "Review flow",
        "entity_id" => "dae46842-2da1-4c4a-ad2a-19b8bfc97267",
        "entity_type" => "flow",
        "expected_impact" => "Removes a highly visible grammar error in a celebratory completion step, improving polish and learner confidence.",
        "finding" => "In **CTI+ : Step 10 : Closing out the Home Visit**, the completion message says:\n\n**\"You've Finished & Documented you're first Home Visit!\"**\n\n`you're` appears to be a typo in this context and should likely be **`your`**.",
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "A live home-visit flow says “you’re first Home Visit”",
        "type" => "issue"
      },
      %{
        "action_plan" => "Change the heading to **\"Medication Review & Discrepancy Forms\"**. Review the live flow in [Appcues Studio](https://studio.appcues.com/flows/5a03775f-3d96-44c1-9738-6360f7062c4e/analytics).",
        "actions" => [],
        "cta_text" => "Review flow",
        "entity_id" => "5a03775f-3d96-44c1-9738-6360f7062c4e",
        "entity_type" => "flow",
        "expected_impact" => "Improves professionalism in a key training flow and avoids undermining trust in form terminology.",
        "finding" => "In **CTI+ : Step 8 : Medication Review Form**, a heading reads:\n\n**\"Medication Review & Discrepency Forms\"**\n\n`Discrepency` appears to be a misspelling of **`Discrepancy`**.",
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "A live medication form flow uses “Discrepency”",
        "type" => "issue"
      },
      %{
        "action_plan" => "Update the instruction to **\"Select 'No' for all except the 1st Red Flag\"**. Review the live flow in [Appcues Studio](https://studio.appcues.com/flows/3728c78c-0ce8-436a-b68e-70d220eec721/analytics).",
        "actions" => [],
        "cta_text" => "Review flow",
        "entity_id" => "3728c78c-0ce8-436a-b68e-70d220eec721",
        "entity_type" => "flow",
        "expected_impact" => "Makes the instruction clearer and reduces the chance of trainees misreading a key form step.",
        "finding" => "In **CTI+ : Step 7 : Post Home Visit - PAA**, guidance text says:\n\n**\"Select “No” for all expect the 1st Red Flag\"**\n\n`expect` appears to be a typo and should likely be **`except`**.",
        "outcomes" => ["activation", "engagement"],
        "priority" => "medium",
        "title" => "A live assessment flow says “expect” instead of “except”",
        "type" => "issue"
      },
      %{
        "action_plan" => "Clean up both phrases in the live flow copy, then re-review the rest of the training text for similar small grammar issues. Open it in [Appcues Studio](https://studio.appcues.com/flows/bfa847d8-0d61-4db1-b892-ca0cb46b83d0/analytics).",
        "actions" => [],
        "cta_text" => "Review flow",
        "entity_id" => "bfa847d8-0d61-4db1-b892-ca0cb46b83d0",
        "entity_type" => "flow",
        "expected_impact" => "Improves readability in a training flow with instructional content users may revisit repeatedly.",
        "finding" => "In **CTI+ : Step 6 : Home Visit**, I found two likely typos:\n\n- **\"smalls steps toward reaching it\"** → likely **\"small steps toward reaching it\"**\n- **\"check out or tips section\"** → likely **\"check out our tips section\"**",
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "A live home-visit flow contains two copy mistakes",
        "type" => "issue"
      },
      %{
        "action_plan" => "Update the sentence to **\"Once you're done, press save and we'll move to the next step.\"** Review the live flow in [Appcues Studio](https://studio.appcues.com/flows/9a535f2f-9c1b-4eaa-b093-a7c1ada6d972/analytics).",
        "actions" => [],
        "cta_text" => "Review flow",
        "entity_id" => "9a535f2f-9c1b-4eaa-b093-a7c1ada6d972",
        "entity_type" => "flow",
        "expected_impact" => "Removes a visible grammar error from an onboarding step and keeps the training experience polished.",
        "finding" => "In **CTI+ : Step 2 : Add New Client v2**, the copy says:\n\n**\"Once your done, press save and we'll move to the next step.\"**\n\n`your` appears to be a typo and should likely be **`you're`**.",
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "A live client-onboarding flow says “Once your done”",
        "type" => "issue"
      },
      %{
        "action_plan" => "Update the sentence to **\"this date should be no more than 7 days prior to today's date.\"** Review the live flow in [Appcues Studio](https://studio.appcues.com/flows/4265cb30-9b23-4805-bf25-abf706e9cba7/analytics).",
        "actions" => [],
        "cta_text" => "Review flow",
        "entity_id" => "4265cb30-9b23-4805-bf25-abf706e9cba7",
        "entity_type" => "flow",
        "expected_impact" => "Minor polish improvement that makes date guidance look more deliberate and professional.",
        "finding" => "In **CTI+ : Step 3 : Intervention Form & Contact Event v2**, the instructional copy says:\n\n**\"this date should be no more than 7 days prior to todays date.\"**\n\n`todays` likely should be **`today's`**.",
        "outcomes" => ["engagement"],
        "priority" => "low",
        "title" => "A live intervention flow is missing the apostrophe in “today’s”",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "30b49305-ce52-4c60-ad4f-fef794a38656",
  "workflow_key" => "insight-issue-added"
}

Meta

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