25109220 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 00:00.236
Run Time 00:00.010
Inserted 13h ago
Scheduled 13h ago
Completed
Cancelled
Discarded 13h ago

Args

%{
  "account_id" => "29577",
  "data" => %{
    "account_insight_agent_id" => "2819feb5-0c29-41e2-912d-1ec524a93310",
    "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 'companySize' and set show_in_ui to false.",
            "title" => "Hide companySize",
            "undo_prompt" => "Update user property 'companySize' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'courseId' and set show_in_ui to false.",
            "title" => "Hide courseId",
            "undo_prompt" => "Update user property 'courseId' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'created_at' and set show_in_ui to false.",
            "title" => "Hide created_at",
            "undo_prompt" => "Update user property 'created_at' 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 'resourceId' and set show_in_ui to false.",
            "title" => "Hide resourceId",
            "undo_prompt" => "Update user property 'resourceId' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'serviceId' and set show_in_ui to false.",
            "title" => "Hide serviceId",
            "undo_prompt" => "Update user property 'serviceId' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'totalCoursesCreated' and set show_in_ui to false.",
            "title" => "Hide totalCoursesCreated",
            "undo_prompt" => "Update user property 'totalCoursesCreated' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'totalCustomerFieldsCreated' and set show_in_ui to false.",
            "title" => "Hide totalCustomerFieldsCreated",
            "undo_prompt" => "Update user property 'totalCustomerFieldsCreated' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'totalResourcesCreated' and set show_in_ui to false.",
            "title" => "Hide totalResourcesCreated",
            "undo_prompt" => "Update user property 'totalResourcesCreated' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'totalServicesCreated' and set show_in_ui to false.",
            "title" => "Hide totalServicesCreated",
            "undo_prompt" => "Update user property 'totalServicesCreated' 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 10 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\ncompanySize - [View](https://studio.appcues.com/settings/properties/user?search=companySize)\n\ncourseId - [View](https://studio.appcues.com/settings/properties/user?search=courseId)\n\ncreated_at - [View](https://studio.appcues.com/settings/properties/user?search=created_at)\n\nrenewalDate - [View](https://studio.appcues.com/settings/properties/user?search=renewalDate)\n\nresourceId - [View](https://studio.appcues.com/settings/properties/user?search=resourceId)\n\nserviceId - [View](https://studio.appcues.com/settings/properties/user?search=serviceId)\n\ntotalCoursesCreated - [View](https://studio.appcues.com/settings/properties/user?search=totalCoursesCreated)\n\ntotalCustomerFieldsCreated - [View](https://studio.appcues.com/settings/properties/user?search=totalCustomerFieldsCreated)\n\ntotalResourcesCreated - [View](https://studio.appcues.com/settings/properties/user?search=totalResourcesCreated)\n\ntotalServicesCreated - [View](https://studio.appcues.com/settings/properties/user?search=totalServicesCreated)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 10 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "ddcc854b-663c-4701-b38f-0bbced0d9c63",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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

Errors

Attempt 5—13h 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+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) 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—13h 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+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) 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—13h 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+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) 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—13h 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+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) 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—13h 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+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) 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