25354517 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.316
Run Time 00:00.008
Inserted 7h ago
Scheduled 7h ago
Completed
Cancelled
Discarded 7h ago

Args

%{
  "account_id" => "32546",
  "data" => %{
    "account_insight_agent_id" => "9d787384-e764-4f34-a7d1-d4619c8de3c0",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 1 properties (_myAppcuesId) 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_is-there-anything-else-youd-like-to-share-about-your-experience' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_is-there-anything-else-youd-like-to-share-about-your-experience",
            "undo_prompt" => "Update user property '_appcuesForm_is-there-anything-else-youd-like-to-share-about-your-experience' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_let-us-know-by-voting-below' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_let-us-know-by-voting-below",
            "undo_prompt" => "Update user property '_appcuesForm_let-us-know-by-voting-below' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_overall-how-easy-are-you-finding-the-enrollment-tool-to-use' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_overall-how-easy-are-you-finding-the-enrollment-tool-to-use",
            "undo_prompt" => "Update user property '_appcuesForm_overall-how-easy-are-you-finding-the-enrollment-tool-to-use' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_overall-how-easy-was-it-to-enroll-in-your-benefits-plan-using-the-benefits-by-design-enrollment-tool' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_overall-how-easy-was-it-to-enroll-in-your-benefits-plan-using-the-benefits-by-design-enrollment-tool",
            "undo_prompt" => "Update user property '_appcuesForm_overall-how-easy-was-it-to-enroll-in-your-benefits-plan-using-the-benefits-by-design-enrollment-tool' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_submit-a-question-for-ask-the-advisor-below-and-well-have-a-knowledgeable-advisor-provide-the-answer-to-the-most-common-submissions' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_submit-a-question-for-ask-the-advisor-below-and-well-have-a-knowledgeable-advisor-provide-the-answer-to-the-most-common-submissions",
            "undo_prompt" => "Update user property '_appcuesForm_submit-a-question-for-ask-the-advisor-below-and-well-have-a-knowledgeable-advisor-provide-the-answer-to-the-most-common-submissions' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_what-if-anything-could-we-do-to-improve-your-experience-using-the-enrollment-tool' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_what-if-anything-could-we-do-to-improve-your-experience-using-the-enrollment-tool",
            "undo_prompt" => "Update user property '_appcuesForm_what-if-anything-could-we-do-to-improve-your-experience-using-the-enrollment-tool' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_what-made-you-choose-your-rating' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_what-made-you-choose-your-rating",
            "undo_prompt" => "Update user property '_appcuesForm_what-made-you-choose-your-rating' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_who-would-you-recommend-benaccount-to' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_who-would-you-recommend-benaccount-to",
            "undo_prompt" => "Update user property '_appcuesForm_who-would-you-recommend-benaccount-to' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_lastContentShownAt' and set show_in_ui to false.",
            "title" => "Hide _lastContentShownAt",
            "undo_prompt" => "Update user property '_lastContentShownAt' 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 11 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_is-there-anything-else-youd-like-to-share-about-your-experience - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_is-there-anything-else-youd-like-to-share-about-your-experience)\n\n_appcuesForm_let-us-know-by-voting-below - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_let-us-know-by-voting-below)\n\n_appcuesForm_overall-how-easy-was-it-to-enroll-in-your-benefits-plan-using-the-benefits-by-design-enrollment-tool - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_overall-how-easy-was-it-to-enroll-in-your-benefits-plan-using-the-benefits-by-design-enrollment-tool)\n\n_appcuesForm_submit-a-question-for-ask-the-advisor-below-and-well-have-a-knowledgeable-advisor-provide-the-answer-to-the-most-common-submissions - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_submit-a-question-for-ask-the-advisor-below-and-well-have-a-knowledgeable-advisor-provide-the-answer-to-the-most-common-submissions)\n\n_appcuesForm_what-if-anything-could-we-do-to-improve-your-experience-using-the-enrollment-tool - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_what-if-anything-could-we-do-to-improve-your-experience-using-the-enrollment-tool)\n\n_appcuesForm_what-made-you-choose-your-rating - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_what-made-you-choose-your-rating)\n\n_appcuesForm_who-would-you-recommend-benaccount-to - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_who-would-you-recommend-benaccount-to)\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\nLast seen 60–90 days ago:\n\n_appcuesForm_overall-how-easy-are-you-finding-the-enrollment-tool-to-use - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_overall-how-easy-are-you-finding-the-enrollment-tool-to-use)\n\n_lastContentShownAt - [View](https://studio.appcues.com/settings/properties/user?search=_lastContentShownAt)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 11 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "558a0e86-665f-4703-a056-c077aca7221c",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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

Errors

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