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

Args

%{
  "account_id" => "44997",
  "data" => %{
    "account_insight_agent_id" => "6e7383a6-7258-4421-8daa-6f40e04b45d3",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 8 properties (firstName, language, location, planTier, renewalDate, role, updatedAt, version) 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_please-provide-your-feedback-below' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_please-provide-your-feedback-below",
            "undo_prompt" => "Update user property '_appcuesForm_please-provide-your-feedback-below' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_please-tell-us-what-your-feedback-is-about' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_please-tell-us-what-your-feedback-is-about",
            "undo_prompt" => "Update user property '_appcuesForm_please-tell-us-what-your-feedback-is-about' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_q-13-do-you-feel-the-healthcheck-application-facilitates-the-iegp-process' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_q-13-do-you-feel-the-healthcheck-application-facilitates-the-iegp-process",
            "undo_prompt" => "Update user property '_appcuesForm_q-13-do-you-feel-the-healthcheck-application-facilitates-the-iegp-process' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_q-23-do-you-find-the-healthcheck-application-easy-to-use' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_q-23-do-you-find-the-healthcheck-application-easy-to-use",
            "undo_prompt" => "Update user property '_appcuesForm_q-23-do-you-find-the-healthcheck-application-easy-to-use' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_q-33-do-you-find-the-healthcheck-application-easy-to-use' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_q-33-do-you-find-the-healthcheck-application-easy-to-use",
            "undo_prompt" => "Update user property '_appcuesForm_q-33-do-you-find-the-healthcheck-application-easy-to-use' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_q-33-how-likely-are-you-to-recommend-the-healthcheck-application-to-a-colleague' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_q-33-how-likely-are-you-to-recommend-the-healthcheck-application-to-a-colleague",
            "undo_prompt" => "Update user property '_appcuesForm_q-33-how-likely-are-you-to-recommend-the-healthcheck-application-to-a-colleague' 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 '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 'companyName' and set show_in_ui to false.",
            "title" => "Hide companyName",
            "undo_prompt" => "Update user property 'companyName' 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_text" => nil,
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaner segment builder with only active properties",
        "finding" => "Found 18 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_please-provide-your-feedback-below - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_please-provide-your-feedback-below)\n\n_appcuesForm_please-tell-us-what-your-feedback-is-about - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_please-tell-us-what-your-feedback-is-about)\n\n_appcuesForm_q-13-do-you-feel-the-healthcheck-application-facilitates-the-iegp-process - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q-13-do-you-feel-the-healthcheck-application-facilitates-the-iegp-process)\n\n_appcuesForm_q-23-do-you-find-the-healthcheck-application-easy-to-use - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q-23-do-you-find-the-healthcheck-application-easy-to-use)\n\n_appcuesForm_q-33-do-you-find-the-healthcheck-application-easy-to-use - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q-33-do-you-find-the-healthcheck-application-easy-to-use)\n\n_appcuesForm_q-33-how-likely-are-you-to-recommend-the-healthcheck-application-to-a-colleague - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q-33-how-likely-are-you-to-recommend-the-healthcheck-application-to-a-colleague)\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\naccountId - [View](https://studio.appcues.com/settings/properties/user?search=accountId)\n\ncompanyName - [View](https://studio.appcues.com/settings/properties/user?search=companyName)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/user?search=createdAt)\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)\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\nplanTier - [View](https://studio.appcues.com/settings/properties/user?search=planTier)\n\nrenewalDate - [View](https://studio.appcues.com/settings/properties/user?search=renewalDate)\n\nrole - [View](https://studio.appcues.com/settings/properties/user?search=role)\n\nupdatedAt - [View](https://studio.appcues.com/settings/properties/user?search=updatedAt)\n\nversion - [View](https://studio.appcues.com/settings/properties/user?search=version)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 18 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "88d92b6b-fb7e-42a1-bfee-1161d01f6025",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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