25370910 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.266
Run Time 00:00.004
Inserted 3h ago
Scheduled 3h ago
Completed
Cancelled
Discarded 3h ago

Args

%{
  "account_id" => "76254",
  "data" => %{
    "account_insight_agent_id" => "7676e6d7-7a8d-4598-ba2b-13433092fb1b",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 2 properties (trait2, trait3) 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 group property 'admin_email' and set show_in_ui to false.",
            "title" => "Hide admin_email",
            "undo_prompt" => "Update group property 'admin_email' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'arr_test' and set show_in_ui to false.",
            "title" => "Hide arr_test",
            "undo_prompt" => "Update group property 'arr_test' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'git_auth_version' and set show_in_ui to false.",
            "title" => "Hide git_auth_version",
            "undo_prompt" => "Update group property 'git_auth_version' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'is_ff_force_saml_sso_enabled' and set show_in_ui to false.",
            "title" => "Hide is_ff_force_saml_sso_enabled",
            "undo_prompt" => "Update group property 'is_ff_force_saml_sso_enabled' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'is_ff_force_sso_login' and set show_in_ui to false.",
            "title" => "Hide is_ff_force_sso_login",
            "undo_prompt" => "Update group property 'is_ff_force_sso_login' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'is_force_sso_login' and set show_in_ui to false.",
            "title" => "Hide is_force_sso_login",
            "undo_prompt" => "Update group property 'is_force_sso_login' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'max_contributors' and set show_in_ui to false.",
            "title" => "Hide max_contributors",
            "undo_prompt" => "Update group property 'max_contributors' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'organization_email_domain' and set show_in_ui to false.",
            "title" => "Hide organization_email_domain",
            "undo_prompt" => "Update group property 'organization_email_domain' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'repos_total_discovered' and set show_in_ui to false.",
            "title" => "Hide repos_total_discovered",
            "undo_prompt" => "Update group property 'repos_total_discovered' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'trait1' and set show_in_ui to false.",
            "title" => "Hide trait1",
            "undo_prompt" => "Update group property 'trait1' 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 12 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nadmin_email - [View](https://studio.appcues.com/settings/properties/group?search=admin_email)\n\narr_test - [View](https://studio.appcues.com/settings/properties/group?search=arr_test)\n\ngit_auth_version - [View](https://studio.appcues.com/settings/properties/group?search=git_auth_version)\n\nis_ff_force_saml_sso_enabled - [View](https://studio.appcues.com/settings/properties/group?search=is_ff_force_saml_sso_enabled)\n\nis_ff_force_sso_login - [View](https://studio.appcues.com/settings/properties/group?search=is_ff_force_sso_login)\n\nis_force_sso_login - [View](https://studio.appcues.com/settings/properties/group?search=is_force_sso_login)\n\norganization_email_domain - [View](https://studio.appcues.com/settings/properties/group?search=organization_email_domain)\n\nrepos_total_discovered - [View](https://studio.appcues.com/settings/properties/group?search=repos_total_discovered)\n\ntrait1 - [View](https://studio.appcues.com/settings/properties/group?search=trait1)\n\ntrait2 - [View](https://studio.appcues.com/settings/properties/group?search=trait2)\n\ntrait3 - [View](https://studio.appcues.com/settings/properties/group?search=trait3)\n\nLast seen 30–60 days ago:\n\nmax_contributors - [View](https://studio.appcues.com/settings/properties/group?search=max_contributors)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 12 stale group properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "5a9caf50-ae29-4e6b-892b-d6c197ba2c59",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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

Errors

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