25122505 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.109
Run Time 00:00.005
Inserted 5h ago
Scheduled 4h ago
Completed
Cancelled
Discarded 4h ago

Args

%{
  "account_id" => "51786",
  "data" => %{
    "account_insight_agent_id" => "5f5d4ad7-1384-45be-bf38-89014585dd54",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 1027 properties (107, 108, 109, 11, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 12, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 13, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 14, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 15, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 16, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 17, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 18, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 19, 2, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 3, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 4, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 5, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 6, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 7, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 8, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 9, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, accountId, agent, aud, avatar, avatar_url, clientID, companyName, cover_pic_url, created_at, createdAt, customer, customer_id, custom_fields, email_verified, exp, first_name, iat, instance_id, intercom_user_hash, iss, last_name, login, login_id, _myAppcuesId, name, nickname, nonce, organization, organization_plan, owner_id, picture, planTier, role, sub, type, updated_at, user_id) 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 '0' and set show_in_ui to false.",
            "title" => "Hide 0",
            "undo_prompt" => "Update user property '0' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '1' and set show_in_ui to false.",
            "title" => "Hide 1",
            "undo_prompt" => "Update user property '1' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '10' and set show_in_ui to false.",
            "title" => "Hide 10",
            "undo_prompt" => "Update user property '10' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '100' and set show_in_ui to false.",
            "title" => "Hide 100",
            "undo_prompt" => "Update user property '100' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '101' and set show_in_ui to false.",
            "title" => "Hide 101",
            "undo_prompt" => "Update user property '101' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '102' and set show_in_ui to false.",
            "title" => "Hide 102",
            "undo_prompt" => "Update user property '102' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '103' and set show_in_ui to false.",
            "title" => "Hide 103",
            "undo_prompt" => "Update user property '103' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '104' and set show_in_ui to false.",
            "title" => "Hide 104",
            "undo_prompt" => "Update user property '104' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '105' and set show_in_ui to false.",
            "title" => "Hide 105",
            "undo_prompt" => "Update user property '105' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '106' and set show_in_ui to false.",
            "title" => "Hide 106",
            "undo_prompt" => "Update user property '106' 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 1,037 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n0 - [View](https://studio.appcues.com/settings/properties/user?search=0)\n\n1 - [View](https://studio.appcues.com/settings/properties/user?search=1)\n\n10 - [View](https://studio.appcues.com/settings/properties/user?search=10)\n\n100 - [View](https://studio.appcues.com/settings/properties/user?search=100)\n\n101 - [View](https://studio.appcues.com/settings/properties/user?search=101)\n\n102 - [View](https://studio.appcues.com/settings/properties/user?search=102)\n\n103 - [View](https://studio.appcues.com/settings/properties/user?search=103)\n\n104 - [View](https://studio.appcues.com/settings/properties/user?search=104)\n\n105 - [View](https://studio.appcues.com/settings/properties/user?search=105)\n\n106 - [View](https://studio.appcues.com/settings/properties/user?search=106)\n\n107 - [View](https://studio.appcues.com/settings/properties/user?search=107)\n\n108 - [View](https://studio.appcues.com/settings/properties/user?search=108)\n\n109 - [View](https://studio.appcues.com/settings/properties/user?search=109)\n\n11 - [View](https://studio.appcues.com/settings/properties/user?search=11)\n\n110 - [View](https://studio.appcues.com/settings/properties/user?search=110)\n\n111 - [View](https://studio.appcues.com/settings/properties/user?search=111)\n\n112 - [View](https://studio.appcues.com/settings/properties/user?search=112)\n\n113 - [View](https://studio.appcues.com/settings/properties/user?search=113)\n\n114 - [View](https://studio.appcues.com/settings/properties/user?search=114)\n\n115 - [View](https://studio.appcues.com/settings/properties/user?search=115)\n\n116 - [View](https://studio.appcues.com/settings/properties/user?search=116)\n\n117 - [View](https://studio.appcues.com/settings/properties/user?search=117)\n\n118 - [View](https://studio.appcues.com/settings/properties/user?search=118)\n\n119 - [View](https://studio.appcues.com/settings/properties/user?search=119)\n\n12 - [View](https://studio.appcues.com/settings/properties/user?search=12)\n\n120 - [View](https://studio.appcues.com/settings/properties/user?search=120)\n\n121 - [View](https://studio.appcues.com/settings/properties/user?search=121)\n\n122 - [View](https://studio.appcues.com/settings/properties/user?search=122)\n\n123 - [View](https://studio.appcues.com/settings/properties/user?search=123)\n\n124 - [View](https://studio.appcues.com/settings/properties/user?search=124)\n\n125 - [View](https://studio.appcues.com/settings/properties/user?search=125)\n\n126 - [View](https://studio.appcues.com/settings/properties/user?search=126)\n\n127 - [View](https://studio.appcues.com/settings/properties/user?search=127)\n\n128 - [View](https://studio.appcues.com/settings/properties/user?search=128)\n\n129 - [View](https://studio.appcues.com/settings/properties/user?search=129)\n\n13 - [View](https://studio.appcues.com/settings/properties/user?search=13)\n\n130 - [View](https://studio.appcues.com/settings/properties/user?search=130)\n\n131 - [View](https://studio.appcues.com/settings/properties/user?search=131)\n\n132 - [View](https://studio.appcues.com/settings/properties/user?search=132)\n\n133 - [View](https://studio.appcues.com/settings/properties/user?search=133)\n\n134 - [View](https://studio.appcues.com/settings/properties/user?search=134)\n\n135 - [View](https://studio.appcues.com/settings/properties/user?search=135)\n\n136 - [View](https://studio.appcues.com/settings/properties/user?search=136)\n\n137 - [View](https://studio.appcues.com/settings/properties/user?search=137)\n\n138 - [View](https://studio.appcues.com/settings/properties/user?search=138)\n\n139 - [View](https://studio.appcues.com/settings/properties/user?search=139)\n\n14 - [View](https://studio.appcues.com/settings/properties/user?search=14)\n\n140 - [View](https://studio.appcues.com/settings/properties/user?search=140)\n\n141 - [View](https://studio.appcues.com/settings/properties/user?search=141)\n\n142 - [View](https://studio.appcues.com/settings/properties/user?search=142)\n\n143 - [View](https://studio.appcues.com/settings/properties/user?search=143)\n\n144 - [" <> ...,
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 1,037 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "5937805f-079f-4f75-ac82-8bc41aa4e0ae",
  "workflow_key" => "insight-opportunity-added"
}

Meta

%{"orig_scheduled_at" => 1777411101109259, "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+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—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+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—5h 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—5h 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—5h 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