25398233 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:01.012
Run Time 00:00.066
Inserted 5h ago
Scheduled 5h ago
Completed
Cancelled
Discarded 5h ago

Args

%{
  "account_id" => "121779",
  "data" => %{
    "account_insight_agent_id" => "a35ee0f0-41fa-4293-924b-5eac5af383d1",
    "insights" => [
      %{
        "action_plan" => "Hide these unused properties to reduce clutter in the segment builder and lower the chance that outdated fields get selected in future targeting. If any of them are expected to be active, verify the SDK or identification payload before hiding them permanently.",
        "actions" => [
          %{
            "cta" => "Run",
            "prompt" => "Use the data_analyst agent and the update_user_property tool to hide these stale user properties from the segment builder UI by setting show_in_ui to false for each property: _ABGroup, accountId, _appcuesId, _appId, _audienceRandomizer, _browser, companyName, createdAt, _currentPageTitle, _currentPageUrl, _doNotTrack, email, firstName, _firstSeenAt, _hostname, _isAnonymous, language, _lastBrowserLanguage, _lastContentShownAt, _lastPageTitle, _lastPageUrl, _lastSeenAt, _localId, location, _operatingSystem, planTier, purchasedAd, renewalDate, role, _timezoneCode, _timezoneOffset, _updatedAt, _userAgent, userId, version.",
            "title" => "Hide unused stale user properties",
            "undo_prompt" => "Use the data_analyst agent and the update_user_property tool to restore these user properties in the segment builder UI by setting show_in_ui to true for each property: _ABGroup, accountId, _appcuesId, _appId, _audienceRandomizer, _browser, companyName, createdAt, _currentPageTitle, _currentPageUrl, _doNotTrack, email, firstName, _firstSeenAt, _hostname, _isAnonymous, language, _lastBrowserLanguage, _lastContentShownAt, _lastPageTitle, _lastPageUrl, _lastSeenAt, _localId, location, _operatingSystem, planTier, purchasedAd, renewalDate, role, _timezoneCode, _timezoneOffset, _updatedAt, _userAgent, userId, version."
          }
        ],
        "cta_text" => "Hide 35 stale properties",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "A smaller, cleaner property list should make audience building faster and reduce targeting mistakes caused by selecting outdated fields.",
        "finding" => "I found **35 stale user properties** that are **not referenced in any published targeting rules**, so they appear safe to hide.\n\nNotable examples:\n- **76 days inactive:** `_lastContentShownAt`\n- **93 days inactive:** `email`, `version`\n- **122 days inactive:** `role`\n- **~1,331 days inactive:** `accountId`, `companyName`, `createdAt`, `firstName`, `language`, `location`, `planTier`, `purchasedAd`, `renewalDate`\n- **64 days inactive:** the remaining SDK-driven properties in this set, including `_browser`, `_currentPageUrl`, `_hostname`, `userId`, and others\n\nNo group properties were found in the account.",
        "outcomes" => ["engagement"],
        "priority" => "low",
        "title" => "35 stale user properties are safe to hide from the segment builder",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "edf78df8-6bb2-4ffa-bd33-4bce62951a98",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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

Errors

Attempt 5—5h ago

** (Oban.PerformError) CustomerApi.Jobs.PublishNotificationJob failed with {:error, %Knock.Response{url: "https://api.knock.app/v1/workflows/insight-opportunity-added/trigger", body: %{"code" => "workflow_missing", "message" => "The workflow you specified was not found in this environment. Make sure you commit the workflow before trying to invoke it. See the docs: https://docs.knock.app/send-and-manage-data/environments", "status" => 404, "type" => "invalid_request_error"}, headers: [{"date", "Thu, 30 Apr 2026 20:52:42 GMT"}, {"content-type", "application/json; charset=utf-8"}, {"content-length", "278"}, {"connection", "keep-alive"}, {"access-control-allow-credentials", "true"}, {"access-control-allow-origin", "*"}, {"access-control-expose-headers", "authorization x-knock-user-token x-knock-environment"}, {"cache-control", "max-age=0, private, must-revalidate"}, {"x-content-type-options", "nosniff"}, {"x-frame-options", "SAMEORIGIN"}, {"x-request-id", "GKs9vY_TYhGPQ7YDh5_B"}, {"x-xss-protection", "1; mode=block"}], status: 404}}

Attempt 4—5h ago

** (Oban.PerformError) CustomerApi.Jobs.PublishNotificationJob failed with {:error, %Knock.Response{url: "https://api.knock.app/v1/workflows/insight-opportunity-added/trigger", body: %{"code" => "workflow_missing", "message" => "The workflow you specified was not found in this environment. Make sure you commit the workflow before trying to invoke it. See the docs: https://docs.knock.app/send-and-manage-data/environments", "status" => 404, "type" => "invalid_request_error"}, headers: [{"date", "Thu, 30 Apr 2026 20:52:08 GMT"}, {"content-type", "application/json; charset=utf-8"}, {"content-length", "278"}, {"connection", "keep-alive"}, {"access-control-allow-credentials", "true"}, {"access-control-allow-origin", "*"}, {"access-control-expose-headers", "authorization x-knock-user-token x-knock-environment"}, {"cache-control", "max-age=0, private, must-revalidate"}, {"x-content-type-options", "nosniff"}, {"x-frame-options", "SAMEORIGIN"}, {"x-request-id", "GKs9taBIyj_oDpADhnaB"}, {"x-xss-protection", "1; mode=block"}], status: 404}}

Attempt 3—5h ago

** (Oban.PerformError) CustomerApi.Jobs.PublishNotificationJob failed with {:error, %Knock.Response{url: "https://api.knock.app/v1/workflows/insight-opportunity-added/trigger", body: %{"code" => "workflow_missing", "message" => "The workflow you specified was not found in this environment. Make sure you commit the workflow before trying to invoke it. See the docs: https://docs.knock.app/send-and-manage-data/environments", "status" => 404, "type" => "invalid_request_error"}, headers: [{"date", "Thu, 30 Apr 2026 20:51:43 GMT"}, {"content-type", "application/json; charset=utf-8"}, {"content-length", "278"}, {"connection", "keep-alive"}, {"access-control-allow-credentials", "true"}, {"access-control-allow-origin", "*"}, {"access-control-expose-headers", "authorization x-knock-user-token x-knock-environment"}, {"cache-control", "max-age=0, private, must-revalidate"}, {"x-content-type-options", "nosniff"}, {"x-frame-options", "SAMEORIGIN"}, {"x-request-id", "GKs9r_wCsC4jRUIC9G0h"}, {"x-xss-protection", "1; mode=block"}], status: 404}}

Attempt 2—5h ago

** (Oban.PerformError) CustomerApi.Jobs.PublishNotificationJob failed with {:error, %Knock.Response{url: "https://api.knock.app/v1/workflows/insight-opportunity-added/trigger", body: %{"code" => "workflow_missing", "message" => "The workflow you specified was not found in this environment. Make sure you commit the workflow before trying to invoke it. See the docs: https://docs.knock.app/send-and-manage-data/environments", "status" => 404, "type" => "invalid_request_error"}, headers: [{"date", "Thu, 30 Apr 2026 20:51:24 GMT"}, {"content-type", "application/json; charset=utf-8"}, {"content-length", "278"}, {"connection", "keep-alive"}, {"access-control-allow-credentials", "true"}, {"access-control-allow-origin", "*"}, {"access-control-expose-headers", "authorization x-knock-user-token x-knock-environment"}, {"cache-control", "max-age=0, private, must-revalidate"}, {"x-content-type-options", "nosniff"}, {"x-frame-options", "SAMEORIGIN"}, {"x-request-id", "GKs9q4mtDQqVohcC_39h"}, {"x-xss-protection", "1; mode=block"}], status: 404}}

Attempt 1—5h ago

** (Oban.PerformError) CustomerApi.Jobs.PublishNotificationJob failed with {:error, %Knock.Response{url: "https://api.knock.app/v1/workflows/insight-opportunity-added/trigger", body: %{"code" => "workflow_missing", "message" => "The workflow you specified was not found in this environment. Make sure you commit the workflow before trying to invoke it. See the docs: https://docs.knock.app/send-and-manage-data/environments", "status" => 404, "type" => "invalid_request_error"}, headers: [{"date", "Thu, 30 Apr 2026 20:51:06 GMT"}, {"content-type", "application/json; charset=utf-8"}, {"content-length", "278"}, {"connection", "keep-alive"}, {"access-control-allow-credentials", "true"}, {"access-control-allow-origin", "*"}, {"access-control-expose-headers", "authorization x-knock-user-token x-knock-environment"}, {"cache-control", "max-age=0, private, must-revalidate"}, {"x-content-type-options", "nosniff"}, {"x-frame-options", "SAMEORIGIN"}, {"x-request-id", "GKs9pzr9oztcezIDLL6i"}, {"x-xss-protection", "1; mode=block"}], status: 404}}