25370663 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.296
Run Time 00:00.005
Inserted 1d ago
Scheduled 1d ago
Completed
Cancelled
Discarded 1d ago

Args

%{
  "account_id" => "106194",
  "data" => %{
    "account_insight_agent_id" => "8d82143d-6f69-42e9-99b6-14e9ac51cb1b",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 9 properties (_appcuesForm_how-do-you-primarily-plan-to-use-the-platform, _appcuesForm_what-best-describes-your-role-within-the-company, _appcuesForm_what-is-your-primary-goal-for-using-helixintel, _appcuesForm_whats-your-role-within-the-company, _appcuesForm_which-best-describes-your-role, _appcuesForm_which-of-the-following-best-describes-your-role, _appcuesForm_which-of-these-best-describes-your-role, _appcuesForm_which-option-best-describes-your-role-within-your-company, _appcuesForm_would-you-like-a-1-on-1-walkthrough-of-the-platforms-capabilities) 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_1-which-of-the-following-best-describes-your-role-within-the-company' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_1-which-of-the-following-best-describes-your-role-within-the-company",
            "undo_prompt" => "Update user property '_appcuesForm_1-which-of-the-following-best-describes-your-role-within-the-company' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_2-how-did-you-hear-about-us' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_2-how-did-you-hear-about-us",
            "undo_prompt" => "Update user property '_appcuesForm_2-how-did-you-hear-about-us' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_3-how-do-you-primarily-plan-to-use-the-helixintel-platform' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_3-how-do-you-primarily-plan-to-use-the-helixintel-platform",
            "undo_prompt" => "Update user property '_appcuesForm_3-how-do-you-primarily-plan-to-use-the-helixintel-platform' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_cmo-planea-usar-helixintel-al-mximo' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_cmo-planea-usar-helixintel-al-mximo",
            "undo_prompt" => "Update user property '_appcuesForm_cmo-planea-usar-helixintel-al-mximo' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_cmo-te-enteraste-de-nosotros' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_cmo-te-enteraste-de-nosotros",
            "undo_prompt" => "Update user property '_appcuesForm_cmo-te-enteraste-de-nosotros' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_cul-de-estos-describe-mejor-su-papel' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_cul-de-estos-describe-mejor-su-papel",
            "undo_prompt" => "Update user property '_appcuesForm_cul-de-estos-describe-mejor-su-papel' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_how-did-you-first-hear-about-us' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_how-did-you-first-hear-about-us",
            "undo_prompt" => "Update user property '_appcuesForm_how-did-you-first-hear-about-us' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_how-did-you-hear-about-us' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_how-did-you-hear-about-us",
            "undo_prompt" => "Update user property '_appcuesForm_how-did-you-hear-about-us' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_how-do-you-plan-to-use-helixintel-the-most' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_how-do-you-plan-to-use-helixintel-the-most",
            "undo_prompt" => "Update user property '_appcuesForm_how-do-you-plan-to-use-helixintel-the-most' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_how-do-you-primarily-plan-to-use-the-helixintel-platform' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_how-do-you-primarily-plan-to-use-the-helixintel-platform",
            "undo_prompt" => "Update user property '_appcuesForm_how-do-you-primarily-plan-to-use-the-helixintel-platform' 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 19 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_1-which-of-the-following-best-describes-your-role-within-the-company - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_1-which-of-the-following-best-describes-your-role-within-the-company)\n\n_appcuesForm_2-how-did-you-hear-about-us - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_2-how-did-you-hear-about-us)\n\n_appcuesForm_3-how-do-you-primarily-plan-to-use-the-helixintel-platform - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_3-how-do-you-primarily-plan-to-use-the-helixintel-platform)\n\n_appcuesForm_cmo-planea-usar-helixintel-al-mximo - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_cmo-planea-usar-helixintel-al-mximo)\n\n_appcuesForm_cmo-te-enteraste-de-nosotros - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_cmo-te-enteraste-de-nosotros)\n\n_appcuesForm_cul-de-estos-describe-mejor-su-papel - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_cul-de-estos-describe-mejor-su-papel)\n\n_appcuesForm_how-did-you-first-hear-about-us - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-did-you-first-hear-about-us)\n\n_appcuesForm_how-did-you-hear-about-us - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-did-you-hear-about-us)\n\n_appcuesForm_how-do-you-plan-to-use-helixintel-the-most - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-do-you-plan-to-use-helixintel-the-most)\n\n_appcuesForm_how-do-you-primarily-plan-to-use-the-helixintel-platform - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-do-you-primarily-plan-to-use-the-helixintel-platform)\n\n_appcuesForm_how-do-you-primarily-plan-to-use-the-platform - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-do-you-primarily-plan-to-use-the-platform)\n\n_appcuesForm_what-best-describes-your-role-within-the-company - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_what-best-describes-your-role-within-the-company)\n\n_appcuesForm_what-is-your-primary-goal-for-using-helixintel - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_what-is-your-primary-goal-for-using-helixintel)\n\n_appcuesForm_whats-your-role-within-the-company - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_whats-your-role-within-the-company)\n\n_appcuesForm_which-best-describes-your-role - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_which-best-describes-your-role)\n\n_appcuesForm_which-of-the-following-best-describes-your-role - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_which-of-the-following-best-describes-your-role)\n\n_appcuesForm_which-of-these-best-describes-your-role - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_which-of-these-best-describes-your-role)\n\n_appcuesForm_which-option-best-describes-your-role-within-your-company - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_which-option-best-describes-your-role-within-your-company)\n\n_appcuesForm_would-you-like-a-1-on-1-walkthrough-of-the-platforms-capabilities - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_would-you-like-a-1-on-1-walkthrough-of-the-platforms-capabilities)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 19 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "1ebd3178-90bd-472f-adbc-ea9a4252fdd6",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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

Errors

Attempt 5—1d 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—1d 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—1d 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—1d 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—1d 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