25472534
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
00:00.097
Run Time
00:00.068
Inserted
3h ago
Scheduled
3h ago
Completed
—
Cancelled
—
Discarded
3h ago
Args
%{
"account_id" => "34567",
"data" => %{
"account_insight_agent_id" => "dc043ed3-8200-474b-9481-3df2831fec91",
"insights" => [
%{
"action_plan" => "Unpublish this flow if it is no longer needed so it stops appearing in your live mobile experience inventory. If the flow is only being kept for historical reference, leave it in draft after unpublishing.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support unpublish capability to unpublish the published mobile flow with ID 067b9629-c792-4c58-9db2-36d2a3d5ea27 named '[iOS] Push Opened Flow'. This action is being requested specifically to test the unpublish follow-up workflow. Confirm the target by ID and name, then unpublish that experience.",
"title" => "Unpublish this mobile flow",
"undo_prompt" => "Use the product_support publish capability to republish the mobile flow with ID 067b9629-c792-4c58-9db2-36d2a3d5ea27 named '[iOS] Push Opened Flow' after the test is complete."
}
],
"cta_text" => "Review unpublish recommendation",
"entity_id" => "067b9629-c792-4c58-9db2-36d2a3d5ea27",
"entity_type" => "flow",
"expected_impact" => "Reduces clutter in your live experience set and helps keep mobile messaging focused on active content.",
"finding" => "The mobile flow **[iOS] Push Opened Flow** is currently **published** but is being flagged for **lack of usage** and review.",
"outcomes" => ["engagement"],
"priority" => "medium",
"title" => "Consider unpublishing an unused mobile flow",
"type" => "issue"
}
]
},
"notification_id" => "50c1b1c8-6e5e-4b2e-9e08-c50588451ce1",
"workflow_key" => "insight-issue-added"
}
Meta
%{"orig_scheduled_at" => 1777655424305488, "structured" => true}
Errors
Attempt 5—3h 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", "Fri, 01 May 2026 17:12: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", "GKuAR0-sz95-YvgBm93B"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 4—3h 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", "Fri, 01 May 2026 17:11: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", "GKuAP5ZoV2ksgCEBdZdh"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 3—3h 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", "Fri, 01 May 2026 17:11: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", "GKuAObxc9IujVfoBnPAj"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 2—3h 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", "Fri, 01 May 2026 17:10: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", "GKuANQ2pTDWaxkQBnPOl"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 1—3h 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", "Fri, 01 May 2026 17:10: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", "GKuAMKvyR04xCnMBmJ5C"}, {"x-xss-protection", "1; mode=block"}], status: 404}}