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

Args

%{
  "account_id" => "43568",
  "data" => %{
    "account_insight_agent_id" => "e04a5082-d8ea-4dd9-bb81-01687799c968",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 7 properties (calendarMeeting, executive, lastName, systemAdmin, tenant, tenantRole, welcomeVideoURL) 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 '_appcuesForm_are-there-any-functional-changes-youd-suggest-for-this-feature' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_are-there-any-functional-changes-youd-suggest-for-this-feature",
            "undo_prompt" => "Update user property '_appcuesForm_are-there-any-functional-changes-youd-suggest-for-this-feature' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_how-could-we-improve-the-kickoff-experience' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_how-could-we-improve-the-kickoff-experience",
            "undo_prompt" => "Update user property '_appcuesForm_how-could-we-improve-the-kickoff-experience' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_how-do-you-feel-about-the-remember-feature' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_how-do-you-feel-about-the-remember-feature",
            "undo_prompt" => "Update user property '_appcuesForm_how-do-you-feel-about-the-remember-feature' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_on-a-scale-of-1-5-how-would-you-rate-the-look-and-feel' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_on-a-scale-of-1-5-how-would-you-rate-the-look-and-feel",
            "undo_prompt" => "Update user property '_appcuesForm_on-a-scale-of-1-5-how-would-you-rate-the-look-and-feel' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_please-let-us-know-why-you-decided-to-revert-to-the-legacy-platform' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_please-let-us-know-why-you-decided-to-revert-to-the-legacy-platform",
            "undo_prompt" => "Update user property '_appcuesForm_please-let-us-know-why-you-decided-to-revert-to-the-legacy-platform' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_this-feature-remember-is-easy-to-use' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_this-feature-remember-is-easy-to-use",
            "undo_prompt" => "Update user property '_appcuesForm_this-feature-remember-is-easy-to-use' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_why-are-you-leaving-beta' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_why-are-you-leaving-beta",
            "undo_prompt" => "Update user property '_appcuesForm_why-are-you-leaving-beta' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesId' and set show_in_ui to false.",
            "title" => "Hide _appcuesId",
            "undo_prompt" => "Update user property '_appcuesId' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_myAppcuesId' and set show_in_ui to false.",
            "title" => "Hide _myAppcuesId",
            "undo_prompt" => "Update user property '_myAppcuesId' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'admin' and set show_in_ui to false.",
            "title" => "Hide admin",
            "undo_prompt" => "Update user property 'admin' 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 17 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_are-there-any-functional-changes-youd-suggest-for-this-feature - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_are-there-any-functional-changes-youd-suggest-for-this-feature)\n\n_appcuesForm_how-could-we-improve-the-kickoff-experience - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-could-we-improve-the-kickoff-experience)\n\n_appcuesForm_how-do-you-feel-about-the-remember-feature - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-do-you-feel-about-the-remember-feature)\n\n_appcuesForm_on-a-scale-of-1-5-how-would-you-rate-the-look-and-feel - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_on-a-scale-of-1-5-how-would-you-rate-the-look-and-feel)\n\n_appcuesForm_please-let-us-know-why-you-decided-to-revert-to-the-legacy-platform - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_please-let-us-know-why-you-decided-to-revert-to-the-legacy-platform)\n\n_appcuesForm_this-feature-remember-is-easy-to-use - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_this-feature-remember-is-easy-to-use)\n\n_appcuesForm_why-are-you-leaving-beta - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_why-are-you-leaving-beta)\n\n_appcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesId)\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\nadmin - [View](https://studio.appcues.com/settings/properties/user?search=admin)\n\ncalendarMeeting - [View](https://studio.appcues.com/settings/properties/user?search=calendarMeeting)\n\nexecutive - [View](https://studio.appcues.com/settings/properties/user?search=executive)\n\nlastName - [View](https://studio.appcues.com/settings/properties/user?search=lastName)\n\nsystemAdmin - [View](https://studio.appcues.com/settings/properties/user?search=systemAdmin)\n\ntenant - [View](https://studio.appcues.com/settings/properties/user?search=tenant)\n\ntenantRole - [View](https://studio.appcues.com/settings/properties/user?search=tenantRole)\n\nwelcomeVideoURL - [View](https://studio.appcues.com/settings/properties/user?search=welcomeVideoURL)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 17 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "f4db1c24-699f-4da5-b6b6-57e6d5aafefc",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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

Errors

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