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

Args

%{
  "account_id" => "55519",
  "data" => %{
    "account_insight_agent_id" => "1f6079b1-477f-41bc-ad8c-1f9cae3fdfc9",
    "insights" => [
      %{
        "action_plan" => "Each property above has a quick-action button to hide it from the segment builder. Hiding is non-destructive — property data is retained and the property can be made visible again at any time.",
        "actions" => [
          %{
            "cta" => "Run",
            "prompt" => "Update user property '[Heap] Appcues sync test .2820173' and set show_in_ui to false.",
            "title" => "Hide [Heap] Appcues sync test .2820173",
            "undo_prompt" => "Update user property '[Heap] Appcues sync test .2820173' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_before-using-the-ometria-template-builder-do-you-usually-receive-any-pre-prepared-design-materials-from-your-team-if-yes-what-form-do-they-typically-come-in' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_before-using-the-ometria-template-builder-do-you-usually-receive-any-pre-prepared-design-materials-from-your-team-if-yes-what-form-do-they-typically-come-in",
            "undo_prompt" => "Update user property '_appcuesForm_before-using-the-ometria-template-builder-do-you-usually-receive-any-pre-prepared-design-materials-from-your-team-if-yes-what-form-do-they-typically-come-in' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_comment' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_comment",
            "undo_prompt" => "Update user property '_appcuesForm_comment' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_do-you-have-any-further-comment' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_do-you-have-any-further-comment",
            "undo_prompt" => "Update user property '_appcuesForm_do-you-have-any-further-comment' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_how-well-do-you-think-our-product-team-communicate-with-you' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_how-well-do-you-think-our-product-team-communicate-with-you",
            "undo_prompt" => "Update user property '_appcuesForm_how-well-do-you-think-our-product-team-communicate-with-you' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_i-feel-like-i-know-about-all-the-ways-ometria-can-help-in-my-marketing' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_i-feel-like-i-know-about-all-the-ways-ometria-can-help-in-my-marketing",
            "undo_prompt" => "Update user property '_appcuesForm_i-feel-like-i-know-about-all-the-ways-ometria-can-help-in-my-marketing' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_what-materials-if-any-do-you-usually-receive-from-your-team-before-using-the-ometria-template-builder-select-all-that-apply' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_what-materials-if-any-do-you-usually-receive-from-your-team-before-using-the-ometria-template-builder-select-all-that-apply",
            "undo_prompt" => "Update user property '_appcuesForm_what-materials-if-any-do-you-usually-receive-from-your-team-before-using-the-ometria-template-builder-select-all-that-apply' 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 7 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n[Heap] Appcues sync test .2820173 - [View](https://studio.appcues.com/settings/properties/user?search=%5BHeap%5D%20Appcues%20sync%20test%20.2820173)\n\n_appcuesForm_before-using-the-ometria-template-builder-do-you-usually-receive-any-pre-prepared-design-materials-from-your-team-if-yes-what-form-do-they-typically-come-in - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_before-using-the-ometria-template-builder-do-you-usually-receive-any-pre-prepared-design-materials-from-your-team-if-yes-what-form-do-they-typically-come-in)\n\n_appcuesForm_comment - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_comment)\n\n_appcuesForm_do-you-have-any-further-comment - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_do-you-have-any-further-comment)\n\n_appcuesForm_how-well-do-you-think-our-product-team-communicate-with-you - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-well-do-you-think-our-product-team-communicate-with-you)\n\n_appcuesForm_i-feel-like-i-know-about-all-the-ways-ometria-can-help-in-my-marketing - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_i-feel-like-i-know-about-all-the-ways-ometria-can-help-in-my-marketing)\n\n_appcuesForm_what-materials-if-any-do-you-usually-receive-from-your-team-before-using-the-ometria-template-builder-select-all-that-apply - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_what-materials-if-any-do-you-usually-receive-from-your-team-before-using-the-ometria-template-builder-select-all-that-apply)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 7 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "12d5059c-eee6-41f9-b32d-320fec076e6e",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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