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

Args

%{
  "account_id" => "47698",
  "data" => %{
    "account_insight_agent_id" => "40a27255-161d-44ce-a057-16d0ede0d956",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 74 properties (clearbit_company_domain, clearbit_company_domain_aliases_csv, clearbit_company_email_provider, clearbit_company_facebook_handle, clearbit_company_founded_year, clearbit_company_geo_city, clearbit_company_geo_country, clearbit_company_geo_country_code, clearbit_company_geo_lat, clearbit_company_geo_lng, clearbit_company_geo_postal_code, clearbit_company_geo_state, clearbit_company_geo_state_code, clearbit_company_geo_street_name, clearbit_company_geo_street_number, clearbit_company_geo_sub_premise, clearbit_company_legal_name, clearbit_company_linkedin_handle, clearbit_company_location, clearbit_company_logo, clearbit_company_metrics_alexa_global_rank, clearbit_company_metrics_alexa_us_rank, clearbit_company_metrics_annual_revenue, clearbit_company_metrics_employees, clearbit_company_metrics_employees_range, clearbit_company_metrics_estimated_annual_revenue, clearbit_company_metrics_market_cap, clearbit_company_metrics_raised, clearbit_company_name, clearbit_company_phone, clearbit_company_site_email_addresses_csv, clearbit_company_site_phone_numbers_csv, clearbit_company_tags_csv, clearbit_company_tech_csv, clearbit_company_ticker, clearbit_company_time_zone, clearbit_company_twitter_followers, clearbit_company_twitter_following, clearbit_company_twitter_handle, clearbit_company_type, clearbit_company_utc_offset, clearbit_person_avatar, clearbit_person_bio, clearbit_person_employment_domain, clearbit_person_employment_name, clearbit_person_employment_role, clearbit_person_employment_seniority, clearbit_person_employment_title, clearbit_person_facebook_handle, clearbit_person_fuzzy, clearbit_person_geo_city, clearbit_person_geo_country, clearbit_person_geo_country_code, clearbit_person_geo_lat, clearbit_person_geo_lng, clearbit_person_geo_state, clearbit_person_geo_state_code, clearbit_person_github_followers, clearbit_person_github_following, clearbit_person_github_handle, clearbit_person_googleplus_handle, clearbit_person_linkedin_handle, clearbit_person_location, clearbit_person_name_family_name, clearbit_person_name_full_name, clearbit_person_name_given_name, clearbit_person_site, clearbit_person_time_zone, clearbit_person_twitter_followers, clearbit_person_twitter_following, clearbit_person_twitter_handle, clearbit_person_utc_offset, customer_filter, from_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 user property '_appcuesForm_please-let-us-know-if-this-update-might-be-useful' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_please-let-us-know-if-this-update-might-be-useful",
            "undo_prompt" => "Update user property '_appcuesForm_please-let-us-know-if-this-update-might-be-useful' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_please-let-us-know-if-this-update-might-be-useful-for-you' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_please-let-us-know-if-this-update-might-be-useful-for-you",
            "undo_prompt" => "Update user property '_appcuesForm_please-let-us-know-if-this-update-might-be-useful-for-you' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_please-let-us-know-if-you-find-this-update-useful' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_please-let-us-know-if-you-find-this-update-useful",
            "undo_prompt" => "Update user property '_appcuesForm_please-let-us-know-if-you-find-this-update-useful' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_please-let-us-know-if-you-find-this-update-useful-for-you' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_please-let-us-know-if-you-find-this-update-useful-for-you",
            "undo_prompt" => "Update user property '_appcuesForm_please-let-us-know-if-you-find-this-update-useful-for-you' 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_category_industry_group' and set show_in_ui to false.",
            "title" => "Hide clearbit_company_category_industry_group",
            "undo_prompt" => "Update user property 'clearbit_company_category_industry_group' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'clearbit_company_category_sector' and set show_in_ui to false.",
            "title" => "Hide clearbit_company_category_sector",
            "undo_prompt" => "Update user property 'clearbit_company_category_sector' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'clearbit_company_category_sub_industry' and set show_in_ui to false.",
            "title" => "Hide clearbit_company_category_sub_industry",
            "undo_prompt" => "Update user property 'clearbit_company_category_sub_industry' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'clearbit_company_crunchbase_handle' and set show_in_ui to false.",
            "title" => "Hide clearbit_company_crunchbase_handle",
            "undo_prompt" => "Update user property 'clearbit_company_crunchbase_handle' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'clearbit_company_description' and set show_in_ui to false.",
            "title" => "Hide clearbit_company_description",
            "undo_prompt" => "Update user property 'clearbit_company_description' 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 84 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-let-us-know-if-this-update-might-be-useful - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_please-let-us-know-if-this-update-might-be-useful)\n\n_appcuesForm_please-let-us-know-if-this-update-might-be-useful-for-you - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_please-let-us-know-if-this-update-might-be-useful-for-you)\n\n_appcuesForm_please-let-us-know-if-you-find-this-update-useful - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_please-let-us-know-if-you-find-this-update-useful)\n\n_appcuesForm_please-let-us-know-if-you-find-this-update-useful-for-you - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_please-let-us-know-if-you-find-this-update-useful-for-you)\n\nclearbit_company_category_industry - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_category_industry)\n\nclearbit_company_category_industry_group - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_category_industry_group)\n\nclearbit_company_category_sector - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_category_sector)\n\nclearbit_company_category_sub_industry - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_category_sub_industry)\n\nclearbit_company_crunchbase_handle - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_crunchbase_handle)\n\nclearbit_company_description - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_description)\n\nclearbit_company_domain - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_domain)\n\nclearbit_company_domain_aliases_csv - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_domain_aliases_csv)\n\nclearbit_company_email_provider - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_email_provider)\n\nclearbit_company_facebook_handle - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_facebook_handle)\n\nclearbit_company_founded_year - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_founded_year)\n\nclearbit_company_geo_city - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_geo_city)\n\nclearbit_company_geo_country - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_geo_country)\n\nclearbit_company_geo_country_code - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_geo_country_code)\n\nclearbit_company_geo_lat - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_geo_lat)\n\nclearbit_company_geo_lng - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_geo_lng)\n\nclearbit_company_geo_postal_code - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_geo_postal_code)\n\nclearbit_company_geo_state - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_geo_state)\n\nclearbit_company_geo_state_code - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_geo_state_code)\n\nclearbit_company_geo_street_name - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_geo_street_name)\n\nclearbit_company_geo_street_number - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_geo_street_number)\n\nclearbit_company_geo_sub_premise - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_geo_sub_premise)\n\nclearbit_company_legal_name - [View](https://studio.appcues.com/settings/properties/user?search=clearbit_company_legal_name)\n\nclearbit_company_linkedin_handle - [View](https://studio.appcues.com/settings/properties/u" <> ...,
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 84 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "832e11b9-ae68-45cb-8eda-1b81c4a81077",
  "workflow_key" => "insight-opportunity-added"
}

Meta

%{"orig_scheduled_at" => 1777558546314430, "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—3h 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—3h 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—3h 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—3h 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