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

Args

%{
  "account_id" => "46248",
  "data" => %{
    "account_insight_agent_id" => "abd5078f-dde6-4c69-959b-59da6cc5e913",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 41 properties (clearbit_person_facebook_handle, clearbit_person_geo_city, clearbit_person_geo_country, clearbit_person_geo_state, clearbit_person_linkedin_handle, clearbit_person_name_family_name, clearbit_person_name_full_name, clearbit_person_name_given_name, clearbit_person_twitter_handle, company, date_of_cancellation, date_of_current_billing, date_of_current_failed_billing, date_of_first_billing, date_of_first_failed_billing, date_of_last_billing, date_of_last_failed_billing, date_of_refund, displayName, feature_name, free_signup_modal_version, id, job_title, name, newsletter_subscription, plan_recommendation, purchase_decision, signup_invite_view_date, vwoUserId, _myAppcuesId, Experiment: 14, Experiment: 15, Experiment: 16, Experiment: 18, Experiment: 19, Experiment: 20, Experiment: 21, Experiment: 22, Experiment: 24, Experiment: 25, Experiment: 26) 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 'billed_count' and set show_in_ui to false.",
            "title" => "Hide billed_count",
            "undo_prompt" => "Update user property 'billed_count' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'billing_status' and set show_in_ui to false.",
            "title" => "Hide billing_status",
            "undo_prompt" => "Update user property 'billing_status' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'cancelled_reason' and set show_in_ui to false.",
            "title" => "Hide cancelled_reason",
            "undo_prompt" => "Update user property 'cancelled_reason' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'clearbit_company_category_industry' and set show_in_ui to false.",
            "title" => "Hide clearbit_company_category_industry",
            "undo_prompt" => "Update user property 'clearbit_company_category_industry' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'clearbit_company_domain' and set show_in_ui to false.",
            "title" => "Hide clearbit_company_domain",
            "undo_prompt" => "Update user property 'clearbit_company_domain' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'clearbit_company_metrics_alexa_global_rank' and set show_in_ui to false.",
            "title" => "Hide clearbit_company_metrics_alexa_global_rank",
            "undo_prompt" => "Update user property 'clearbit_company_metrics_alexa_global_rank' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'clearbit_company_metrics_annual_revenue' and set show_in_ui to false.",
            "title" => "Hide clearbit_company_metrics_annual_revenue",
            "undo_prompt" => "Update user property 'clearbit_company_metrics_annual_revenue' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'clearbit_company_metrics_employees' and set show_in_ui to false.",
            "title" => "Hide clearbit_company_metrics_employees",
            "undo_prompt" => "Update user property 'clearbit_company_metrics_employees' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'clearbit_company_name' and set show_in_ui to false.",
            "title" => "Hide clearbit_company_name",
            "undo_prompt" => "Update user property 'clearbit_company_name' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'clearbit_person_employment_title' and set show_in_ui to false.",
            "title" => "Hide clearbit_person_employment_title",
            "undo_prompt" => "Update user property 'clearbit_person_employment_title' 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 51 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\nExperiment: 14 - [View](https://studio.appcues.com/settings/properties/user?search=Experiment%3A%2014)\n\nExperiment: 15 - [View](https://studio.appcues.com/settings/properties/user?search=Experiment%3A%2015)\n\nExperiment: 16 - [View](https://studio.appcues.com/settings/properties/user?search=Experiment%3A%2016)\n\nExperiment: 18 - [View](https://studio.appcues.com/settings/properties/user?search=Experiment%3A%2018)\n\nExperiment: 19 - [View](https://studio.appcues.com/settings/properties/user?search=Experiment%3A%2019)\n\nExperiment: 20 - [View](https://studio.appcues.com/settings/properties/user?search=Experiment%3A%2020)\n\nExperiment: 21 - [View](https://studio.appcues.com/settings/properties/user?search=Experiment%3A%2021)\n\nExperiment: 22 - [View](https://studio.appcues.com/settings/properties/user?search=Experiment%3A%2022)\n\nExperiment: 24 - [View](https://studio.appcues.com/settings/properties/user?search=Experiment%3A%2024)\n\nExperiment: 25 - [View](https://studio.appcues.com/settings/properties/user?search=Experiment%3A%2025)\n\nExperiment: 26 - [View](https://studio.appcues.com/settings/properties/user?search=Experiment%3A%2026)\n\nbilled_count - [View](https://studio.appcues.com/settings/properties/user?search=billed_count)\n\nbilling_status - [View](https://studio.appcues.com/settings/properties/user?search=billing_status)\n\ncancelled_reason - [View](https://studio.appcues.com/settings/properties/user?search=cancelled_reason)\n\nclearbit_company_category_industry - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_category_industry)\n\nclearbit_company_domain - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_domain)\n\nclearbit_company_metrics_alexa_global_rank - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_metrics_alexa_global_rank)\n\nclearbit_company_metrics_annual_revenue - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_metrics_annual_revenue)\n\nclearbit_company_metrics_employees - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_metrics_employees)\n\nclearbit_company_name - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_name)\n\nclearbit_person_employment_title - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_person_employment_title)\n\nclearbit_person_facebook_handle - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_person_facebook_handle)\n\nclearbit_person_geo_city - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_person_geo_city)\n\nclearbit_person_geo_country - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_person_geo_country)\n\nclearbit_person_geo_state - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_person_geo_state)\n\nclearbit_person_linkedin_handle - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_person_linkedin_handle)\n\nclearbit_person_name_family_name - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_person_name_family_name)\n\nclearbit_person_name_full_name - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_person_name_full_name)\n\nclearbit_person_name_given_name - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_person_name_given_name)\n\nclearbit_person_twitter_handle - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_person_twitter_handle)\n\ncompany - [View](https://studio.appcues.com/settings/properties/user?search=company)\n\ndate_of_cancellation - [View](https://studio.appcues.com/settings/properties/user?search=date_of_cancellation)\n\ndate_of_current_billing - [View](https://studio.appcues.com/settings/properties/user?search=date_of_current_" <> ...,
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 51 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "cc77396a-cd4e-4b77-9ce6-1aaa09437cda",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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