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

Args

%{
  "account_id" => "48514",
  "data" => %{
    "account_insight_agent_id" => "b2e786f2-a5d2-456b-80d1-e5d4c7f8b5b5",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 31 properties (accountStatistic2023_onsiteEventCount, accountStatistic2023_virtualEventCount, availableFeatures, ClientAccountTypeId, ClientCountryId, ClientId, ClientIndustryCategoryId, ClientLicenceCategoryId, ClientLicenceEndDate, ClientLicenceTypeId, ClientPk, ClientSecondaryIndustryCategoryId, currency, _experience_dismissed_b7b549ac-bb62-44b6-89df-867751bb651b, isAdmin, isInternalUser, jfdsVersion, jfmcVersion, jfpipVersion, jfrtVersion, jfxrVersion, licenseEndDate, marketplace_enabled, _myAppcuesId, ServerId, Subscription, subscriptionTierType, UserContactPk, UserJobFunctionCategoryId, UserJobTitleCategoryId, uxCode) 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 'accountStatistic2023_acceptedCount' and set show_in_ui to false.",
            "title" => "Hide accountStatistic2023_acceptedCount",
            "undo_prompt" => "Update user property 'accountStatistic2023_acceptedCount' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'accountStatistic2023_attendeeCount' and set show_in_ui to false.",
            "title" => "Hide accountStatistic2023_attendeeCount",
            "undo_prompt" => "Update user property 'accountStatistic2023_attendeeCount' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'accountStatistic2023_eventCount' and set show_in_ui to false.",
            "title" => "Hide accountStatistic2023_eventCount",
            "undo_prompt" => "Update user property 'accountStatistic2023_eventCount' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'accountStatistic2023_hybridEventCount' and set show_in_ui to false.",
            "title" => "Hide accountStatistic2023_hybridEventCount",
            "undo_prompt" => "Update user property 'accountStatistic2023_hybridEventCount' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'accountStatistic2023_mailCampaignCount' and set show_in_ui to false.",
            "title" => "Hide accountStatistic2023_mailCampaignCount",
            "undo_prompt" => "Update user property 'accountStatistic2023_mailCampaignCount' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'accountStatistic2023_mailSendCount' and set show_in_ui to false.",
            "title" => "Hide accountStatistic2023_mailSendCount",
            "undo_prompt" => "Update user property 'accountStatistic2023_mailSendCount' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'accountStatistic2023_nonDraftEventCount' and set show_in_ui to false.",
            "title" => "Hide accountStatistic2023_nonDraftEventCount",
            "undo_prompt" => "Update user property 'accountStatistic2023_nonDraftEventCount' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'accountStatistic2023_nonDraftHybridEventCount' and set show_in_ui to false.",
            "title" => "Hide accountStatistic2023_nonDraftHybridEventCount",
            "undo_prompt" => "Update user property 'accountStatistic2023_nonDraftHybridEventCount' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'accountStatistic2023_nonDraftOnsiteEventCount' and set show_in_ui to false.",
            "title" => "Hide accountStatistic2023_nonDraftOnsiteEventCount",
            "undo_prompt" => "Update user property 'accountStatistic2023_nonDraftOnsiteEventCount' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'accountStatistic2023_nonDraftVirtualEventCount' and set show_in_ui to false.",
            "title" => "Hide accountStatistic2023_nonDraftVirtualEventCount",
            "undo_prompt" => "Update user property 'accountStatistic2023_nonDraftVirtualEventCount' 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 41 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_experience_dismissed_b7b549ac-bb62-44b6-89df-867751bb651b - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_b7b549ac-bb62-44b6-89df-867751bb651b)\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\naccountStatistic2023_acceptedCount - [View](https://studio.appcues.com/settings/properties/user?search=accountStatistic2023_acceptedCount)\n\naccountStatistic2023_attendeeCount - [View](https://studio.appcues.com/settings/properties/user?search=accountStatistic2023_attendeeCount)\n\naccountStatistic2023_eventCount - [View](https://studio.appcues.com/settings/properties/user?search=accountStatistic2023_eventCount)\n\naccountStatistic2023_hybridEventCount - [View](https://studio.appcues.com/settings/properties/user?search=accountStatistic2023_hybridEventCount)\n\naccountStatistic2023_mailCampaignCount - [View](https://studio.appcues.com/settings/properties/user?search=accountStatistic2023_mailCampaignCount)\n\naccountStatistic2023_mailSendCount - [View](https://studio.appcues.com/settings/properties/user?search=accountStatistic2023_mailSendCount)\n\naccountStatistic2023_nonDraftEventCount - [View](https://studio.appcues.com/settings/properties/user?search=accountStatistic2023_nonDraftEventCount)\n\naccountStatistic2023_nonDraftHybridEventCount - [View](https://studio.appcues.com/settings/properties/user?search=accountStatistic2023_nonDraftHybridEventCount)\n\naccountStatistic2023_nonDraftOnsiteEventCount - [View](https://studio.appcues.com/settings/properties/user?search=accountStatistic2023_nonDraftOnsiteEventCount)\n\naccountStatistic2023_nonDraftVirtualEventCount - [View](https://studio.appcues.com/settings/properties/user?search=accountStatistic2023_nonDraftVirtualEventCount)\n\naccountStatistic2023_onsiteEventCount - [View](https://studio.appcues.com/settings/properties/user?search=accountStatistic2023_onsiteEventCount)\n\naccountStatistic2023_virtualEventCount - [View](https://studio.appcues.com/settings/properties/user?search=accountStatistic2023_virtualEventCount)\n\navailableFeatures - [View](https://studio.appcues.com/settings/properties/user?search=availableFeatures)\n\nClientAccountTypeId - [View](https://studio.appcues.com/settings/properties/user?search=ClientAccountTypeId)\n\nClientCountryId - [View](https://studio.appcues.com/settings/properties/user?search=ClientCountryId)\n\nClientId - [View](https://studio.appcues.com/settings/properties/user?search=ClientId)\n\nClientIndustryCategoryId - [View](https://studio.appcues.com/settings/properties/user?search=ClientIndustryCategoryId)\n\nClientLicenceCategoryId - [View](https://studio.appcues.com/settings/properties/user?search=ClientLicenceCategoryId)\n\nClientLicenceEndDate - [View](https://studio.appcues.com/settings/properties/user?search=ClientLicenceEndDate)\n\nClientLicenceTypeId - [View](https://studio.appcues.com/settings/properties/user?search=ClientLicenceTypeId)\n\nClientPk - [View](https://studio.appcues.com/settings/properties/user?search=ClientPk)\n\nClientSecondaryIndustryCategoryId - [View](https://studio.appcues.com/settings/properties/user?search=ClientSecondaryIndustryCategoryId)\n\nisAdmin - [View](https://studio.appcues.com/settings/properties/user?search=isAdmin)\n\nisInternalUser - [View](https://studio.appcues.com/settings/properties/user?search=isInternalUser)\n\njfdsVersion - [View](https://studio.appcues.com/settings/properties/user?search=jfdsVersion)\n\njfmcVersion - [View](https://studio.appcues.com/settings/properties/user?search=jfmcVersion)\n\njfpipVersion - [View](https://studio.appcues.com/settings/properties/user?search=jfpipVersion)\n\njfrtVersion - [View](https://studio.appcues.com/settings/properties/user?search=jfrtVersion)\n\njfxrVersion - [View](https://studio.appcues.com/settings/properties/user?search=jfxrVersion)\n\nlicenseEndDate - [View](https://studio.appcues.com/settings/properties/user?search=licenseEndDate)\n\nmarketplace_enabled - [View](https://studio.appcues.com/" <> ...,
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 41 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "94885c1a-2c09-4b91-88ca-ea478e8f877b",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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