25370685 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.295
Run Time 00:00.006
Inserted 2h ago
Scheduled 2h ago
Completed
Cancelled
Discarded 2h ago

Args

%{
  "account_id" => "88470",
  "data" => %{
    "account_insight_agent_id" => "4fdca203-2a09-4399-94b1-5ce9ab9d85c2",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 37 properties (_appcuesForm_email-for-friend-3, _appcuesForm_email-for-referral-1, _appcuesForm_email-for-referral-2, _appcuesForm_email-for-referral-3, _appcuesForm_friend-1-email, _appcuesForm_friend-1-name, _appcuesForm_friend-2-email, _appcuesForm_friend-2-name, _appcuesForm_friend-3-email, _appcuesForm_friend-3-name, _appcuesForm_full-name-for-referral-1, _appcuesForm_full-name-for-referral-2, _appcuesForm_full-name-for-referral-3, _appcuesForm_how-likely-are-you-to-use-newlywords-again-when-covid-isnt-a-concern, _appcuesForm_how-was-your-experience-using-the-designed-layouts-template, _appcuesForm_how-was-your-experience-using-the-short-note-template, _appcuesForm_other, _appcuesForm_select-any-names-from-the-list-below-that-you-like-as-a-replacement-for-newlywords-feel-free-to-select-multiple-names, _appcuesForm_to-gather-feedback-on-how-we-can-improve-our-product-can-we-email-you-a-few-questions-to-answer-as-a-token-of-our-appreciation-well-send-you-a-10-amazon-gift-card-for-your-help, _appcuesForm_we-are-conducting-zoom-video-sessions-with-customers-to-gather-feedback-you-would-need-to-be-in-front-of-your-computer-during-the-session-we-would-send-you-a-25-amazon-gift-card-for-30-minutes-of-your-time-are-you-interested, _appcuesForm_we-are-looking-for-a-new-name-to-replace-newlywords-any-ideas, _appcuesForm_we-are-trying-to-make-it-easier-for-people-to-type-content-in-languages-other-than-english-did-this-apply-to-you, _appcuesForm_were-trying-to-improve-our-online-experience-can-we-email-you-a-few-questions-to-answer-as-a-token-of-our-appreciation-well-send-you-a-10-amazon-gift-card-for-your-help, _appcuesForm_what-can-newlywords-do-to-help-you-start-a-memory-book-in-the-future, _appcuesForm_what-is-the-1-thing-we-can-do-to-improve-our-website, _appcuesForm_what-is-the-1-we-can-do-to-improve-our-website, _appcuesForm_what-is-the-key-benefit-you-get-from-using-newlywords, _appcuesForm_what-is-your-age, _appcuesForm_what-is-your-gender, _appcuesForm_would-you-use-newlywords-for-your-own-collaborative-memory-book-in-the-future, _appcuesForm_your-email, _appcuesForm_your-first-name, _appcuesForm_your-full-name, _appcuesForm_your-last-name, _appcuesForm_your-name, _appcuesForm_, _appcuesForm_comments) 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_10' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_10",
            "undo_prompt" => "Update user property '_appcuesForm_10' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_10-amazon' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_10-amazon",
            "undo_prompt" => "Update user property '_appcuesForm_10-amazon' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_10amazon' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_10amazon",
            "undo_prompt" => "Update user property '_appcuesForm_10amazon' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_anything-we-can-do-to-help-you-start-a-future-memory-book' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_anything-we-can-do-to-help-you-start-a-future-memory-book",
            "undo_prompt" => "Update user property '_appcuesForm_anything-we-can-do-to-help-you-start-a-future-memory-book' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_anything-we-can-do-to-improve-the-short-note-template' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_anything-we-can-do-to-improve-the-short-note-template",
            "undo_prompt" => "Update user property '_appcuesForm_anything-we-can-do-to-improve-the-short-note-template' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_comments' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_comments",
            "undo_prompt" => "Update user property '_appcuesForm_comments' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_do-you-have-any-suggestions-on-how-we-can-improve-the-onboarding-process-after-you-signed-up' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_do-you-have-any-suggestions-on-how-we-can-improve-the-onboarding-process-after-you-signed-up",
            "undo_prompt" => "Update user property '_appcuesForm_do-you-have-any-suggestions-on-how-we-can-improve-the-onboarding-process-after-you-signed-up' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_email-for-friend-1' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_email-for-friend-1",
            "undo_prompt" => "Update user property '_appcuesForm_email-for-friend-1' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_email-for-friend-2' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_email-for-friend-2",
            "undo_prompt" => "Update user property '_appcuesForm_email-for-friend-2' 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 47 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_10 - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_10)\n\n_appcuesForm_10-amazon - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_10-amazon)\n\n_appcuesForm_10amazon - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_10amazon)\n\n_appcuesForm_anything-we-can-do-to-help-you-start-a-future-memory-book - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_anything-we-can-do-to-help-you-start-a-future-memory-book)\n\n_appcuesForm_anything-we-can-do-to-improve-the-short-note-template - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_anything-we-can-do-to-improve-the-short-note-template)\n\n_appcuesForm_do-you-have-any-suggestions-on-how-we-can-improve-the-onboarding-process-after-you-signed-up - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_do-you-have-any-suggestions-on-how-we-can-improve-the-onboarding-process-after-you-signed-up)\n\n_appcuesForm_email-for-friend-1 - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_email-for-friend-1)\n\n_appcuesForm_email-for-friend-2 - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_email-for-friend-2)\n\n_appcuesForm_email-for-friend-3 - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_email-for-friend-3)\n\n_appcuesForm_email-for-referral-1 - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_email-for-referral-1)\n\n_appcuesForm_email-for-referral-2 - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_email-for-referral-2)\n\n_appcuesForm_email-for-referral-3 - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_email-for-referral-3)\n\n_appcuesForm_friend-1-email - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_friend-1-email)\n\n_appcuesForm_friend-1-name - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_friend-1-name)\n\n_appcuesForm_friend-2-email - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_friend-2-email)\n\n_appcuesForm_friend-2-name - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_friend-2-name)\n\n_appcuesForm_friend-3-email - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_friend-3-email)\n\n_appcuesForm_friend-3-name - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_friend-3-name)\n\n_appcuesForm_full-name-for-referral-1 - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_full-name-for-referral-1)\n\n_appcuesForm_full-name-for-referral-2 - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_full-name-for-referral-2)\n\n_appcuesForm_full-name-for-referral-3 - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_full-name-for-referral-3)\n\n_appcuesForm_how-likely-are-you-to-use-newlywords-again-when-covid-isnt-a-concern - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-likely-are-you-to-use-newlywords-again-when-covid-isnt-a-concern)\n\n_appcuesForm_how-was-your-experience-using-the-designed-layouts-template - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-was-your-experience-using-the-designed-layouts-template)\n\n_appcuesForm_how-was-your-experience-using-the-short-note-template - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-was-your-experience-using-the-short-note-template)\n\n_appcuesForm_other - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_other)\n\n_appcuesForm_select-any-names-from-the-list-below-that-you-like-as-a-replacement-for-newlywords-feel-free-to-select-multiple-names - [View](https://studio.appcues.com/setting" <> ...,
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 47 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "2dccc717-8778-4203-9965-7015658cdc92",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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