25361901 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.330
Run Time 00:00.009
Inserted 4h ago
Scheduled 4h ago
Completed
Cancelled
Discarded 4h ago

Args

%{
  "account_id" => "36785",
  "data" => %{
    "account_insight_agent_id" => "85dda787-2346-4ed5-b2b5-f30a33f4c39f",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 10 properties (NotificationACESIQServicingStateProduction, NotificationACESIQServicingStateSandbox2, NotificationSBRTesting, NotificationTest2023yu1, Notification_ks_testing, OriginationClassic, ResidentialMortgageOriginationsFederalAgency, yu2023_2, yutest2, yutest3) can be hidden through Captain AI — ask it to hide them by name — or updated manually in the segment builder UI. Hiding is non-destructive — property data is retained and any property can be made visible again at any time.",
        "actions" => [
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'myAppCue' and set show_in_ui to false.",
            "title" => "Hide myAppCue",
            "undo_prompt" => "Update user property 'myAppCue' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'NotificationACESIQConsumer2' and set show_in_ui to false.",
            "title" => "Hide NotificationACESIQConsumer2",
            "undo_prompt" => "Update user property 'NotificationACESIQConsumer2' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'NotificationACESIQOriginations1' and set show_in_ui to false.",
            "title" => "Hide NotificationACESIQOriginations1",
            "undo_prompt" => "Update user property 'NotificationACESIQOriginations1' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'NotificationACESIQOriginations2' and set show_in_ui to false.",
            "title" => "Hide NotificationACESIQOriginations2",
            "undo_prompt" => "Update user property 'NotificationACESIQOriginations2' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'NotificationACESIQOriginationStateLegacyProduction' and set show_in_ui to false.",
            "title" => "Hide NotificationACESIQOriginationStateLegacyProduction",
            "undo_prompt" => "Update user property 'NotificationACESIQOriginationStateLegacyProduction' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'NotificationACESIQOriginationStateProduction' and set show_in_ui to false.",
            "title" => "Hide NotificationACESIQOriginationStateProduction",
            "undo_prompt" => "Update user property 'NotificationACESIQOriginationStateProduction' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'NotificationACESIQOriginationStateSandbox2' and set show_in_ui to false.",
            "title" => "Hide NotificationACESIQOriginationStateSandbox2",
            "undo_prompt" => "Update user property 'NotificationACESIQOriginationStateSandbox2' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'NotificationACESIQServicing1' and set show_in_ui to false.",
            "title" => "Hide NotificationACESIQServicing1",
            "undo_prompt" => "Update user property 'NotificationACESIQServicing1' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'NotificationACESIQServicing2' and set show_in_ui to false.",
            "title" => "Hide NotificationACESIQServicing2",
            "undo_prompt" => "Update user property 'NotificationACESIQServicing2' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'NotificationACESIQServicingStateLegacyProduction' and set show_in_ui to false.",
            "title" => "Hide NotificationACESIQServicingStateLegacyProduction",
            "undo_prompt" => "Update user property 'NotificationACESIQServicingStateLegacyProduction' 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 20 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nmyAppCue - [View](https://studio.appcues.com/settings/properties/user?search=myAppCue)\n\nNotificationACESIQConsumer2 - [View](https://studio.appcues.com/settings/properties/user?search=NotificationACESIQConsumer2)\n\nNotificationACESIQOriginations1 - [View](https://studio.appcues.com/settings/properties/user?search=NotificationACESIQOriginations1)\n\nNotificationACESIQOriginations2 - [View](https://studio.appcues.com/settings/properties/user?search=NotificationACESIQOriginations2)\n\nNotificationACESIQOriginationStateLegacyProduction - [View](https://studio.appcues.com/settings/properties/user?search=NotificationACESIQOriginationStateLegacyProduction)\n\nNotificationACESIQOriginationStateProduction - [View](https://studio.appcues.com/settings/properties/user?search=NotificationACESIQOriginationStateProduction)\n\nNotificationACESIQOriginationStateSandbox2 - [View](https://studio.appcues.com/settings/properties/user?search=NotificationACESIQOriginationStateSandbox2)\n\nNotificationACESIQServicing1 - [View](https://studio.appcues.com/settings/properties/user?search=NotificationACESIQServicing1)\n\nNotificationACESIQServicing2 - [View](https://studio.appcues.com/settings/properties/user?search=NotificationACESIQServicing2)\n\nNotificationACESIQServicingStateLegacyProduction - [View](https://studio.appcues.com/settings/properties/user?search=NotificationACESIQServicingStateLegacyProduction)\n\nNotificationACESIQServicingStateProduction - [View](https://studio.appcues.com/settings/properties/user?search=NotificationACESIQServicingStateProduction)\n\nNotificationACESIQServicingStateSandbox2 - [View](https://studio.appcues.com/settings/properties/user?search=NotificationACESIQServicingStateSandbox2)\n\nNotificationSBRTesting - [View](https://studio.appcues.com/settings/properties/user?search=NotificationSBRTesting)\n\nNotificationTest2023yu1 - [View](https://studio.appcues.com/settings/properties/user?search=NotificationTest2023yu1)\n\nNotification_ks_testing - [View](https://studio.appcues.com/settings/properties/user?search=Notification_ks_testing)\n\nOriginationClassic - [View](https://studio.appcues.com/settings/properties/user?search=OriginationClassic)\n\nResidentialMortgageOriginationsFederalAgency - [View](https://studio.appcues.com/settings/properties/user?search=ResidentialMortgageOriginationsFederalAgency)\n\nyu2023_2 - [View](https://studio.appcues.com/settings/properties/user?search=yu2023_2)\n\nyutest2 - [View](https://studio.appcues.com/settings/properties/user?search=yutest2)\n\nyutest3 - [View](https://studio.appcues.com/settings/properties/user?search=yutest3)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 20 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "398d1b59-3d0b-4775-b41a-21a76fa5f247",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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

Errors

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