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

Args

%{
  "account_id" => "61092",
  "data" => %{
    "account_insight_agent_id" => "5dcdd058-95db-4d5d-b129-1737824242ea",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 1 properties (name) 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 '__typename' and set show_in_ui to false.",
            "title" => "Hide __typename",
            "undo_prompt" => "Update user property '__typename' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_what-can-we-do-better' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_what-can-we-do-better",
            "undo_prompt" => "Update user property '_appcuesForm_what-can-we-do-better' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_would-you-recommend-us-to-others' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_would-you-recommend-us-to-others",
            "undo_prompt" => "Update user property '_appcuesForm_would-you-recommend-us-to-others' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_myAppcuesId' and set show_in_ui to false.",
            "title" => "Hide _myAppcuesId",
            "undo_prompt" => "Update user property '_myAppcuesId' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'companyAverageScore' and set show_in_ui to false.",
            "title" => "Hide companyAverageScore",
            "undo_prompt" => "Update user property 'companyAverageScore' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'companyTwitter' and set show_in_ui to false.",
            "title" => "Hide companyTwitter",
            "undo_prompt" => "Update user property 'companyTwitter' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'cultureScore' and set show_in_ui to false.",
            "title" => "Hide cultureScore",
            "undo_prompt" => "Update user property 'cultureScore' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'financeScore' and set show_in_ui to false.",
            "title" => "Hide financeScore",
            "undo_prompt" => "Update user property 'financeScore' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'healthScore' and set show_in_ui to false.",
            "title" => "Hide healthScore",
            "undo_prompt" => "Update user property 'healthScore' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'id' and set show_in_ui to false.",
            "title" => "Hide id",
            "undo_prompt" => "Update user property 'id' 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__typename - [View](https://studio.appcues.com/settings/properties/user?search=__typename)\n\n_appcuesForm_what-can-we-do-better - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_what-can-we-do-better)\n\n_appcuesForm_would-you-recommend-us-to-others - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_would-you-recommend-us-to-others)\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\ncompanyAverageScore - [View](https://studio.appcues.com/settings/properties/user?search=companyAverageScore)\n\ncompanyTwitter - [View](https://studio.appcues.com/settings/properties/user?search=companyTwitter)\n\ncultureScore - [View](https://studio.appcues.com/settings/properties/user?search=cultureScore)\n\nfinanceScore - [View](https://studio.appcues.com/settings/properties/user?search=financeScore)\n\nhealthScore - [View](https://studio.appcues.com/settings/properties/user?search=healthScore)\n\nid - [View](https://studio.appcues.com/settings/properties/user?search=id)\n\nname - [View](https://studio.appcues.com/settings/properties/user?search=name)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 11 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "b32da8f5-988e-4bbc-be41-f20923dd516d",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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