25398232
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.214
Queue Time
00:01.010
Run Time
00:00.073
Inserted
12h ago
Scheduled
12h ago
Completed
—
Cancelled
—
Discarded
12h ago
Args
%{
"account_id" => "121779",
"data" => %{
"account_insight_agent_id" => "a35ee0f0-41fa-4293-924b-5eac5af383d1",
"insights" => [
%{
"action_plan" => "You have two safe next steps:\n1. **Hide these properties** from the segment builder so they are not reused in future targeting.\n2. **Review the published NPS targeting rules** for king nps and NPS Survey, then replace these conditions with properties that are still being populated if the targeting logic is still needed.",
"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: _sessionPageviews, _sessionRandomizer.",
"title" => "Hide stale session targeting 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: _sessionPageviews, _sessionRandomizer."
}
],
"cta_text" => "Hide stale properties",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Removing or replacing stale targeting conditions should reduce missed audience matches and help restore reliable survey delivery and response collection.",
"finding" => "The user properties **`_sessionPageviews`** and **`_sessionRandomizer`** have not been seen for **64 days** since **2026-02-25**, but they are still referenced in published targeting for **king nps** and **NPS Survey**.\n\nIf these properties are no longer being populated by your SDK, users will stop matching those conditions and the surveys may silently miss eligible users.",
"outcomes" => ["engagement", "retention"],
"priority" => "high",
"title" => "Published NPS targeting still depends on 64-day-stale session properties",
"type" => "issue"
},
%{
"action_plan" => "Either **hide `_deviceType`** to prevent future use, or **update the NPS Survey targeting** to use a currently active property if device targeting is still required.",
"actions" => [
%{
"cta" => "Run",
"prompt" => "Use the data_analyst agent and the update_user_property tool to hide this stale user property from the segment builder UI by setting show_in_ui to false for the property: _deviceType.",
"title" => "Hide stale device property",
"undo_prompt" => "Use the data_analyst agent and the update_user_property tool to restore this user property in the segment builder UI by setting show_in_ui to true for the property: _deviceType."
}
],
"cta_text" => "Hide `_deviceType`",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Cleaning up this stale condition should improve targeting accuracy for the legacy survey and reduce unintended audience exclusions.",
"finding" => "The user property **`_deviceType`** has not been seen for **64 days** since **2026-02-25**, but it still appears in published targeting for **NPS Survey**.\n\nThat creates a delivery risk: if `_deviceType` is no longer arriving from the SDK, device-based audience filters in this survey will no longer match as intended.",
"outcomes" => ["engagement", "retention"],
"priority" => "high",
"title" => "Legacy NPS Survey uses a stale device property in targeting",
"type" => "issue"
}
]
},
"notification_id" => "ccb771c3-4691-4a38-b8ce-653ec76989c2",
"workflow_key" => "insight-issue-added"
}
Meta
%{"orig_scheduled_at" => 1777582266237170, "structured" => true}
Errors
Attempt 5—12h ago
** (Oban.PerformError) CustomerApi.Jobs.PublishNotificationJob failed with {:error, %Knock.Response{url: "https://api.knock.app/v1/workflows/insight-issue-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:41 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", "GKs9vVQG44KLQvgDYVkB"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 4—12h ago
** (Oban.PerformError) CustomerApi.Jobs.PublishNotificationJob failed with {:error, %Knock.Response{url: "https://api.knock.app/v1/workflows/insight-issue-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", "GKs9taA0RiGIPk0AjGtE"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 3—12h ago
** (Oban.PerformError) CustomerApi.Jobs.PublishNotificationJob failed with {:error, %Knock.Response{url: "https://api.knock.app/v1/workflows/insight-issue-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: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", "GKs9r8AAg3f_WvMC_-BC"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 2—12h ago
** (Oban.PerformError) CustomerApi.Jobs.PublishNotificationJob failed with {:error, %Knock.Response{url: "https://api.knock.app/v1/workflows/insight-issue-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:23 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", "GKs9q02QWEJ73HoDXBdC"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 1—12h ago
** (Oban.PerformError) CustomerApi.Jobs.PublishNotificationJob failed with {:error, %Knock.Response{url: "https://api.knock.app/v1/workflows/insight-issue-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", "GKs9pzstUkL2r9gDIlqk"}, {"x-xss-protection", "1; mode=block"}], status: 404}}