25354500 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.300
Run Time 00:00.008
Inserted 1h ago
Scheduled 59m ago
Completed
Cancelled
Discarded 59m ago

Args

%{
  "account_id" => "89705",
  "data" => %{
    "account_insight_agent_id" => "a87838fb-e95c-4132-a0de-31cb60fc4a0f",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 1 properties (street2) 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 '_groupId' and set show_in_ui to false.",
            "title" => "Hide _groupId",
            "undo_prompt" => "Update group property '_groupId' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'city' and set show_in_ui to false.",
            "title" => "Hide city",
            "undo_prompt" => "Update group property 'city' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'country' and set show_in_ui to false.",
            "title" => "Hide country",
            "undo_prompt" => "Update group property 'country' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'groupType' and set show_in_ui to false.",
            "title" => "Hide groupType",
            "undo_prompt" => "Update group property 'groupType' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'id' and set show_in_ui to false.",
            "title" => "Hide id",
            "undo_prompt" => "Update group property 'id' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'name' and set show_in_ui to false.",
            "title" => "Hide name",
            "undo_prompt" => "Update group property 'name' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'phone' and set show_in_ui to false.",
            "title" => "Hide phone",
            "undo_prompt" => "Update group property 'phone' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'postalCode' and set show_in_ui to false.",
            "title" => "Hide postalCode",
            "undo_prompt" => "Update group property 'postalCode' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'region' and set show_in_ui to false.",
            "title" => "Hide region",
            "undo_prompt" => "Update group property 'region' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update group property 'street1' and set show_in_ui to false.",
            "title" => "Hide street1",
            "undo_prompt" => "Update group property 'street1' 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 group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_groupId - [View](https://studio.appcues.com/settings/properties/group?search=%5FgroupId)\n\ncity - [View](https://studio.appcues.com/settings/properties/group?search=city)\n\ncountry - [View](https://studio.appcues.com/settings/properties/group?search=country)\n\ngroupType - [View](https://studio.appcues.com/settings/properties/group?search=groupType)\n\nid - [View](https://studio.appcues.com/settings/properties/group?search=id)\n\nname - [View](https://studio.appcues.com/settings/properties/group?search=name)\n\nphone - [View](https://studio.appcues.com/settings/properties/group?search=phone)\n\npostalCode - [View](https://studio.appcues.com/settings/properties/group?search=postalCode)\n\nregion - [View](https://studio.appcues.com/settings/properties/group?search=region)\n\nstreet1 - [View](https://studio.appcues.com/settings/properties/group?search=street1)\n\nstreet2 - [View](https://studio.appcues.com/settings/properties/group?search=street2)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 11 stale group properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "9a9b258a-04a5-4ea4-881c-c993033d94fa",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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

Errors

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