25370916 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.251
Run Time 00:00.007
Inserted 1h ago
Scheduled 1h ago
Completed
Cancelled
Discarded 1h ago

Args

%{
  "account_id" => "218618",
  "data" => %{
    "account_insight_agent_id" => "b091f229-844c-4c11-9afe-fcc0a6c23bf2",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 18 properties (_experience_dismissed_c74c9226-120c-4cfc-b5b3-89348b9d6fc5, _hostname, _lastBrowserLanguage, _lastContentShownAt, _lastPageTitle, _lastPageUrl, _localId, _operatingSystem, _segment_63c3352b-80b9-42b0-beec-8c7e5bdacc59, _sessionPageviews, _sessionRandomizer, _timezoneCode, _timezoneOffset, _updatedAt, _userAgent, catalog_customer, group_id, name) 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 group property '_ABGroup' and set show_in_ui to false.",
            "title" => "Hide _ABGroup",
            "undo_prompt" => "Update group property '_ABGroup' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property '_appcuesId' and set show_in_ui to false.",
            "title" => "Hide _appcuesId",
            "undo_prompt" => "Update group property '_appcuesId' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property '_appcuesSatisfaction_MostRecentNPSScore' and set show_in_ui to false.",
            "title" => "Hide _appcuesSatisfaction_MostRecentNPSScore",
            "undo_prompt" => "Update group property '_appcuesSatisfaction_MostRecentNPSScore' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property '_appcuesSatisfaction_NPSLastCollectedAt' and set show_in_ui to false.",
            "title" => "Hide _appcuesSatisfaction_NPSLastCollectedAt",
            "undo_prompt" => "Update group property '_appcuesSatisfaction_NPSLastCollectedAt' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property '_audienceRandomizer' and set show_in_ui to false.",
            "title" => "Hide _audienceRandomizer",
            "undo_prompt" => "Update group property '_audienceRandomizer' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property '_browser' and set show_in_ui to false.",
            "title" => "Hide _browser",
            "undo_prompt" => "Update group property '_browser' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property '_currentPageTitle' and set show_in_ui to false.",
            "title" => "Hide _currentPageTitle",
            "undo_prompt" => "Update group property '_currentPageTitle' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property '_currentPageUrl' and set show_in_ui to false.",
            "title" => "Hide _currentPageUrl",
            "undo_prompt" => "Update group property '_currentPageUrl' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property '_deviceType' and set show_in_ui to false.",
            "title" => "Hide _deviceType",
            "undo_prompt" => "Update group property '_deviceType' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property '_doNotTrack' and set show_in_ui to false.",
            "title" => "Hide _doNotTrack",
            "undo_prompt" => "Update group property '_doNotTrack' 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 28 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_ABGroup - [View](https://studio.appcues.com/settings/properties/group?search=_ABGroup)\n\n_appcuesId - [View](https://studio.appcues.com/settings/properties/group?search=_appcuesId)\n\n_appcuesSatisfaction_MostRecentNPSScore - [View](https://studio.appcues.com/settings/properties/group?search=_appcuesSatisfaction_MostRecentNPSScore)\n\n_appcuesSatisfaction_NPSLastCollectedAt - [View](https://studio.appcues.com/settings/properties/group?search=_appcuesSatisfaction_NPSLastCollectedAt)\n\n_audienceRandomizer - [View](https://studio.appcues.com/settings/properties/group?search=_audienceRandomizer)\n\n_browser - [View](https://studio.appcues.com/settings/properties/group?search=_browser)\n\n_currentPageTitle - [View](https://studio.appcues.com/settings/properties/group?search=_currentPageTitle)\n\n_currentPageUrl - [View](https://studio.appcues.com/settings/properties/group?search=_currentPageUrl)\n\n_deviceType - [View](https://studio.appcues.com/settings/properties/group?search=_deviceType)\n\n_doNotTrack - [View](https://studio.appcues.com/settings/properties/group?search=_doNotTrack)\n\n_experience_dismissed_c74c9226-120c-4cfc-b5b3-89348b9d6fc5 - [View](https://studio.appcues.com/settings/properties/group?search=_experience_dismissed_c74c9226-120c-4cfc-b5b3-89348b9d6fc5)\n\n_hostname - [View](https://studio.appcues.com/settings/properties/group?search=_hostname)\n\n_lastBrowserLanguage - [View](https://studio.appcues.com/settings/properties/group?search=_lastBrowserLanguage)\n\n_lastContentShownAt - [View](https://studio.appcues.com/settings/properties/group?search=_lastContentShownAt)\n\n_lastPageTitle - [View](https://studio.appcues.com/settings/properties/group?search=_lastPageTitle)\n\n_lastPageUrl - [View](https://studio.appcues.com/settings/properties/group?search=_lastPageUrl)\n\n_localId - [View](https://studio.appcues.com/settings/properties/group?search=_localId)\n\n_operatingSystem - [View](https://studio.appcues.com/settings/properties/group?search=_operatingSystem)\n\n_segment_63c3352b-80b9-42b0-beec-8c7e5bdacc59 - [View](https://studio.appcues.com/settings/properties/group?search=_segment_63c3352b-80b9-42b0-beec-8c7e5bdacc59)\n\n_sessionPageviews - [View](https://studio.appcues.com/settings/properties/group?search=_sessionPageviews)\n\n_sessionRandomizer - [View](https://studio.appcues.com/settings/properties/group?search=_sessionRandomizer)\n\n_timezoneCode - [View](https://studio.appcues.com/settings/properties/group?search=_timezoneCode)\n\n_timezoneOffset - [View](https://studio.appcues.com/settings/properties/group?search=_timezoneOffset)\n\n_updatedAt - [View](https://studio.appcues.com/settings/properties/group?search=_updatedAt)\n\n_userAgent - [View](https://studio.appcues.com/settings/properties/group?search=_userAgent)\n\ncatalog_customer - [View](https://studio.appcues.com/settings/properties/group?search=catalog_customer)\n\ngroup_id - [View](https://studio.appcues.com/settings/properties/group?search=group_id)\n\nname - [View](https://studio.appcues.com/settings/properties/group?search=name)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 28 stale group properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "9fb3198c-2121-4efb-b533-2908a7ab9c10",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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