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

Args

%{
  "account_id" => "112853",
  "data" => %{
    "account_insight_agent_id" => "17b0b780-0979-4947-9802-36c958510276",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 59 properties (_appcuesForm_q2-skill-to-practice-first-in-the-app, _appcuesForm_q2-what-is-money-for, _appcuesForm_q2-what-new-skill-do-you-want-to-get-better-at, _appcuesForm_q3-earning-money-means-what-to-you-most, _appcuesForm_q3-how-do-you-prefer-to-start, _appcuesForm_q3-what-helps-you-learn-best, _appcuesForm_q3-what-would-you-like-to-save-for-next, _appcuesForm_q3-when-do-you-feel-most-motivated-to-learn, _appcuesForm_q3-when-something-is-hard-what-helps-most, _appcuesForm_q4-have-you-set-and-hit-a-money-goal-before, _appcuesForm_q4-how-do-you-feel-when-you-earn-something-yourself, _appcuesForm_q4-how-important-are-visible-progress-or-rewards-scale-15, _appcuesForm_q4-what-do-you-want-first-from-this-app, _appcuesForm_q4-what-kind-of-project-sounds-fun, _appcuesForm_q4-what-makes-you-feel-proud-when-you-finish-something, _appcuesForm_q5-if-you-could-help-others-with-a-project-what-would-it-be, _appcuesForm_q5-one-new-thing-you-want-to-learn-this-month, _appcuesForm_q6-ready-to-start-your-first-task-now, _appcuesForm_select-your-interests, account_id, activity_pref, career_domains, company_name, createdAt, daysSinceCreation, earn_feeling, earn_meaning, email, engagement_modalities, first_name, firstName, first_task_readiness, fl_confidence, fl_topics_needed, goal_history, hasParentalConsent, help_strategy, interest_raw, location, mixpanel_cohort_5170876, money_experience, money_purpose, motivation_features, motivation_signals, name, orgId, orgName, practice_skill, primary_goal, problem_space, project_pref, reward_importance, reward_pref, saving_goal, service_preference, skills_targets, skill_targets, strengths, 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_' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_",
            "undo_prompt" => "Update user property '_appcuesForm_' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_q1-confidence-handling-money-scale-of-1-5' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_q1-confidence-handling-money-scale-of-1-5",
            "undo_prompt" => "Update user property '_appcuesForm_q1-confidence-handling-money-scale-of-1-5' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_q1-have-you-ever-earned-or-saved-your-own-money' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_q1-have-you-ever-earned-or-saved-your-own-money",
            "undo_prompt" => "Update user property '_appcuesForm_q1-have-you-ever-earned-or-saved-your-own-money' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_q1-topics-or-causes-that-matter-most-now' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_q1-topics-or-causes-that-matter-most-now",
            "undo_prompt" => "Update user property '_appcuesForm_q1-topics-or-causes-that-matter-most-now' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_q1-types-of-problems-you-like-solving' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_q1-types-of-problems-you-like-solving",
            "undo_prompt" => "Update user property '_appcuesForm_q1-types-of-problems-you-like-solving' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_q1-what-are-you-really-good-at-now' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_q1-what-are-you-really-good-at-now",
            "undo_prompt" => "Update user property '_appcuesForm_q1-what-are-you-really-good-at-now' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_q1-what-do-you-love-learning-about-most' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_q1-what-do-you-love-learning-about-most",
            "undo_prompt" => "Update user property '_appcuesForm_q1-what-do-you-love-learning-about-most' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_q2-after-school-what-do-you-enjoy-most' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_q2-after-school-what-do-you-enjoy-most",
            "undo_prompt" => "Update user property '_appcuesForm_q2-after-school-what-do-you-enjoy-most' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_q2-kinds-of-work-that-sound-interesting' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_q2-kinds-of-work-that-sound-interesting",
            "undo_prompt" => "Update user property '_appcuesForm_q2-kinds-of-work-that-sound-interesting' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_q2-money-skills-to-build-first' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_q2-money-skills-to-build-first",
            "undo_prompt" => "Update user property '_appcuesForm_q2-money-skills-to-build-first' 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 69 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_ - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_)\n\n_appcuesForm_q1-confidence-handling-money-scale-of-1-5 - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q1-confidence-handling-money-scale-of-1-5)\n\n_appcuesForm_q1-have-you-ever-earned-or-saved-your-own-money - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q1-have-you-ever-earned-or-saved-your-own-money)\n\n_appcuesForm_q1-topics-or-causes-that-matter-most-now - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q1-topics-or-causes-that-matter-most-now)\n\n_appcuesForm_q1-types-of-problems-you-like-solving - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q1-types-of-problems-you-like-solving)\n\n_appcuesForm_q1-what-are-you-really-good-at-now - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q1-what-are-you-really-good-at-now)\n\n_appcuesForm_q1-what-do-you-love-learning-about-most - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q1-what-do-you-love-learning-about-most)\n\n_appcuesForm_q2-after-school-what-do-you-enjoy-most - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q2-after-school-what-do-you-enjoy-most)\n\n_appcuesForm_q2-kinds-of-work-that-sound-interesting - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q2-kinds-of-work-that-sound-interesting)\n\n_appcuesForm_q2-money-skills-to-build-first - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q2-money-skills-to-build-first)\n\n_appcuesForm_q2-skill-to-practice-first-in-the-app - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q2-skill-to-practice-first-in-the-app)\n\n_appcuesForm_q2-what-is-money-for - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q2-what-is-money-for)\n\n_appcuesForm_q2-what-new-skill-do-you-want-to-get-better-at - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q2-what-new-skill-do-you-want-to-get-better-at)\n\n_appcuesForm_q3-earning-money-means-what-to-you-most - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q3-earning-money-means-what-to-you-most)\n\n_appcuesForm_q3-how-do-you-prefer-to-start - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q3-how-do-you-prefer-to-start)\n\n_appcuesForm_q3-what-helps-you-learn-best - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q3-what-helps-you-learn-best)\n\n_appcuesForm_q3-what-would-you-like-to-save-for-next - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q3-what-would-you-like-to-save-for-next)\n\n_appcuesForm_q3-when-do-you-feel-most-motivated-to-learn - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q3-when-do-you-feel-most-motivated-to-learn)\n\n_appcuesForm_q3-when-something-is-hard-what-helps-most - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q3-when-something-is-hard-what-helps-most)\n\n_appcuesForm_q4-have-you-set-and-hit-a-money-goal-before - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q4-have-you-set-and-hit-a-money-goal-before)\n\n_appcuesForm_q4-how-do-you-feel-when-you-earn-something-yourself - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q4-how-do-you-feel-when-you-earn-something-yourself)\n\n_appcuesForm_q4-how-important-are-visible-progress-or-rewards-scale-15 - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q4-how-important-are-visible-progress-or-rewards-scale-15)\n\n_appcuesForm_q4-what-do-you-want-first-from-this-app - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_q4-what-do-you-want-first-from-this-app)\n\n_a" <> ...,
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 69 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "7ff3be18-c836-4964-95b0-589ca3894126",
  "workflow_key" => "insight-opportunity-added"
}

Meta

%{"orig_scheduled_at" => 1777557869972547, "structured" => true}

Errors

Attempt 5—4h 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—4h 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—4h 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—4h 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—4h 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