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

Args

%{
  "account_id" => "54360",
  "data" => %{
    "account_insight_agent_id" => "bcf96c97-58d6-4e09-a82c-19d080643008",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 14 properties (_appcuesForm_required-please-rate-on-a-scale-of-1-to-5, _appcuesForm_whats-preventing-you-from-starting-a-free-trial, currentMailboxHasCustomOutgoingFromAddress, currentMailboxHasForwardingAddress, currentMailboxID, currentMailboxMemberCount, hasCustomOutgoingFromAddress, hasForwardingAddress, id, memberCount, trait1, trait2, trait3, trialEndDate) 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_any-specific-feedback-about-these-features-improvements' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_any-specific-feedback-about-these-features-improvements",
            "undo_prompt" => "Update user property '_appcuesForm_any-specific-feedback-about-these-features-improvements' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_any-specific-feedback-about-this-feature' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_any-specific-feedback-about-this-feature",
            "undo_prompt" => "Update user property '_appcuesForm_any-specific-feedback-about-this-feature' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_are-happy-with-the-new-dashboard' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_are-happy-with-the-new-dashboard",
            "undo_prompt" => "Update user property '_appcuesForm_are-happy-with-the-new-dashboard' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_are-you-happy-with-the-recent-experience-updates-currently-in-beta' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_are-you-happy-with-the-recent-experience-updates-currently-in-beta",
            "undo_prompt" => "Update user property '_appcuesForm_are-you-happy-with-the-recent-experience-updates-currently-in-beta' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_are-you-happy-with-the-recent-experience-updates-to-donedone' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_are-you-happy-with-the-recent-experience-updates-to-donedone",
            "undo_prompt" => "Update user property '_appcuesForm_are-you-happy-with-the-recent-experience-updates-to-donedone' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_does-this-new-feature-meet-your-expectations' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_does-this-new-feature-meet-your-expectations",
            "undo_prompt" => "Update user property '_appcuesForm_does-this-new-feature-meet-your-expectations' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_do-these-feature-improvements-meet-your-expectations' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_do-these-feature-improvements-meet-your-expectations",
            "undo_prompt" => "Update user property '_appcuesForm_do-these-feature-improvements-meet-your-expectations' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_how-can-we-improve-your-experience' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_how-can-we-improve-your-experience",
            "undo_prompt" => "Update user property '_appcuesForm_how-can-we-improve-your-experience' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_how-did-you-discover-donedone' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_how-did-you-discover-donedone",
            "undo_prompt" => "Update user property '_appcuesForm_how-did-you-discover-donedone' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_how-did-you-hear-about-donedone' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_how-did-you-hear-about-donedone",
            "undo_prompt" => "Update user property '_appcuesForm_how-did-you-hear-about-donedone' 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 24 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_any-specific-feedback-about-these-features-improvements - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_any-specific-feedback-about-these-features-improvements)\n\n_appcuesForm_any-specific-feedback-about-this-feature - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_any-specific-feedback-about-this-feature)\n\n_appcuesForm_are-happy-with-the-new-dashboard - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_are-happy-with-the-new-dashboard)\n\n_appcuesForm_are-you-happy-with-the-recent-experience-updates-currently-in-beta - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_are-you-happy-with-the-recent-experience-updates-currently-in-beta)\n\n_appcuesForm_are-you-happy-with-the-recent-experience-updates-to-donedone - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_are-you-happy-with-the-recent-experience-updates-to-donedone)\n\n_appcuesForm_does-this-new-feature-meet-your-expectations - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_does-this-new-feature-meet-your-expectations)\n\n_appcuesForm_do-these-feature-improvements-meet-your-expectations - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_do-these-feature-improvements-meet-your-expectations)\n\n_appcuesForm_how-can-we-improve-your-experience - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-can-we-improve-your-experience)\n\n_appcuesForm_how-did-you-hear-about-donedone - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-did-you-hear-about-donedone)\n\n_appcuesForm_required-please-rate-on-a-scale-of-1-to-5 - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_required-please-rate-on-a-scale-of-1-to-5)\n\n_appcuesForm_whats-preventing-you-from-starting-a-free-trial - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_whats-preventing-you-from-starting-a-free-trial)\n\ncurrentMailboxHasCustomOutgoingFromAddress - [View](https://studio.appcues.com/settings/properties/user?search=currentMailboxHasCustomOutgoingFromAddress)\n\ncurrentMailboxHasForwardingAddress - [View](https://studio.appcues.com/settings/properties/user?search=currentMailboxHasForwardingAddress)\n\ncurrentMailboxID - [View](https://studio.appcues.com/settings/properties/user?search=currentMailboxID)\n\ncurrentMailboxMemberCount - [View](https://studio.appcues.com/settings/properties/user?search=currentMailboxMemberCount)\n\nhasCustomOutgoingFromAddress - [View](https://studio.appcues.com/settings/properties/user?search=hasCustomOutgoingFromAddress)\n\nhasForwardingAddress - [View](https://studio.appcues.com/settings/properties/user?search=hasForwardingAddress)\n\nid - [View](https://studio.appcues.com/settings/properties/user?search=id)\n\nmemberCount - [View](https://studio.appcues.com/settings/properties/user?search=memberCount)\n\ntrait1 - [View](https://studio.appcues.com/settings/properties/user?search=trait1)\n\ntrait2 - [View](https://studio.appcues.com/settings/properties/user?search=trait2)\n\ntrait3 - [View](https://studio.appcues.com/settings/properties/user?search=trait3)\n\ntrialEndDate - [View](https://studio.appcues.com/settings/properties/user?search=trialEndDate)\n\nLast seen 30–60 days ago:\n\n_appcuesForm_how-did-you-discover-donedone - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-did-you-discover-donedone)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 24 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "febeb3b1-2956-4318-a882-af1c27e45bfe",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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