25370637 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.327
Run Time 00:00.009
Inserted 2h ago
Scheduled 2h ago
Completed
Cancelled
Discarded 2h ago

Args

%{
  "account_id" => "222921",
  "data" => %{
    "account_insight_agent_id" => "2f0cd6c4-4dfe-49ce-b755-9fd9917ed73b",
    "insights" => [
      %{
        "action_plan" => "Each property above has a quick-action button to hide it from the segment builder. Hiding is non-destructive — property data is retained and the property can be made visible again at any time.",
        "actions" => [
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'accountId' and set show_in_ui to false.",
            "title" => "Hide accountId",
            "undo_prompt" => "Update user property 'accountId' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'createdAt' and set show_in_ui to false.",
            "title" => "Hide createdAt",
            "undo_prompt" => "Update user property 'createdAt' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'language' and set show_in_ui to false.",
            "title" => "Hide language",
            "undo_prompt" => "Update user property 'language' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'location' and set show_in_ui to false.",
            "title" => "Hide location",
            "undo_prompt" => "Update user property 'location' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'name' and set show_in_ui to false.",
            "title" => "Hide name",
            "undo_prompt" => "Update user property 'name' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'planTier' and set show_in_ui to false.",
            "title" => "Hide planTier",
            "undo_prompt" => "Update user property 'planTier' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'purchasedAt' and set show_in_ui to false.",
            "title" => "Hide purchasedAt",
            "undo_prompt" => "Update user property 'purchasedAt' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'renewalDate' and set show_in_ui to false.",
            "title" => "Hide renewalDate",
            "undo_prompt" => "Update user property 'renewalDate' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'version' and set show_in_ui to false.",
            "title" => "Hide version",
            "undo_prompt" => "Update user property 'version' and set show_in_ui to true."
          }
        ],
        "cta_text" => nil,
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaner segment builder with only active properties",
        "finding" => "Found 9 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\naccountId - [View](https://studio.appcues.com/settings/properties/user?search=accountId)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/user?search=createdAt)\n\nlanguage - [View](https://studio.appcues.com/settings/properties/user?search=language)\n\nlocation - [View](https://studio.appcues.com/settings/properties/user?search=location)\n\nname - [View](https://studio.appcues.com/settings/properties/user?search=name)\n\nplanTier - [View](https://studio.appcues.com/settings/properties/user?search=planTier)\n\npurchasedAt - [View](https://studio.appcues.com/settings/properties/user?search=purchasedAt)\n\nrenewalDate - [View](https://studio.appcues.com/settings/properties/user?search=renewalDate)\n\nversion - [View](https://studio.appcues.com/settings/properties/user?search=version)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 9 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "1c8c783d-ae46-47e7-a93d-77f3c8590357",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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