25509617
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
00:00.075
Run Time
00:00.068
Inserted
1h ago
Scheduled
1h ago
Completed
—
Cancelled
—
Discarded
1h ago
Args
%{
"account_id" => "22",
"data" => %{
"account_insight_agent_id" => "fbb11768-9df4-4ff4-8627-4f5127a640fc",
"insights" => [
%{
"action_plan" => "Create a lightweight segment governance pass focused on high-impact and static audiences. Start by assigning an owner and review cadence to **[Primary][Always Use] Exclusion List** and **Active Trialers**. Then review each static-list segment to decide whether it should be converted to rule-based logic, clearly labeled as temporary, or retired after its campaign ends.",
"actions" => [],
"cta_text" => "Prioritize segment cleanup",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "This will reduce silent targeting failures, make audience logic easier to maintain, and lower the risk of broad mistakes affecting many live experiences at once.",
"finding" => "A small set of segments now carries outsized operational risk:\n\n- **[Primary][Always Use] Exclusion List:** **28,050 users**, matched in **45 experience** rule searches\n- **Active Trialers:** **90,895 users**, matched in **31 experience** rule searches\n- Multiple live/static cohorts remain in use, including:\n - **Healthy ENT/MM Customers who Renewed <6 months ago:** **757 users**, referenced by a published embed\n - **Installation Check In CORRECTION Workflow:** **4,064 users**, based on an uploaded CSV membership property last seen **2026-02-27**\n - **Support Test Segment:** **52 users**\n - **Web Embeds Beta - 3/16/26:** **63 users**, referenced by a draft embed\n\nThis pattern suggests the account increasingly depends on manually maintained lists and a few foundational segments with wide blast radius.",
"outcomes" => ["activation", "engagement", "retention"],
"priority" => "medium",
"title" => "Segment governance risk is concentrated in a few high-impact audiences",
"type" => "opportunity"
}
]
},
"notification_id" => "d90efa8c-75bd-4b26-9d98-ecea5b25d821",
"workflow_key" => "insight-opportunity-added"
}
Meta
%{"orig_scheduled_at" => 1777687285119625, "structured" => true}
Errors
Attempt 5—1h 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", "Sat, 02 May 2026 02:03:01 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", "GKudQSX_a-hBp6QE99wj"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 4—1h 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", "Sat, 02 May 2026 02:02:28 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", "GKudOapM_HmHKc4E8w9l"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 3—1h 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", "Sat, 02 May 2026 02:02:03 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", "GKudM86z17F2HGsE9F7D"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 2—1h 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", "Sat, 02 May 2026 02:01: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", "GKudLune8ACkD9wE26Oj"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 1—1h 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", "Sat, 02 May 2026 02:01:25 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", "GKudKtdkYTadh0MEoXFE"}, {"x-xss-protection", "1; mode=block"}], status: 404}}