25472964
CustomerApi.Jobs.PublishNotificationJob
Queue
notifications
Attempt
5 of 5
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
00:00.103
Run Time
00:00.065
Inserted
2h ago
Scheduled
2h ago
Completed
—
Cancelled
—
Discarded
2h ago
Args
%{
"account_id" => "103523",
"data" => %{
"account_insight_agent_id" => "f1299a27-9d51-48eb-b868-8f12864254c3",
"insights" => [
%{
"action_plan" => "Review this as normal cleanup, not a misconfiguration.\n\n1. Start with clearly non-production items such as QA, test, demo, clone, or experiment content.\n2. Open each experience's settings link and confirm whether its targeting, goals, or campaign owner still make it relevant.\n3. If an experience is no longer needed, unpublish it to reduce clutter and avoid accidental future exposure.\n4. For the large flow backlog, work in batches from the [Flow list page](https://studio.appcues.com/flows), prioritizing the oldest QA/test flows first.",
"actions" => [],
"cta_text" => "Review inactive experiences",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Cleaning up stale published content should reduce maintenance overhead, simplify reporting, and lower the risk of outdated experiences being reactivated or left live unintentionally.",
"finding" => "Routine content hygiene check: the latest verified inactivity audit found **181 published experiences** that were **older than 3 weeks** and had **no seen events or enrollments in the prior 30 days**.\n\n**Breakdown**\n- **178 Flows**\n- **2 Pins**\n- **1 Banner**\n- **0 Checklists**\n\n**Confirmed stale non-flow items still published**\n- [QA - Dog](https://studio.appcues.com/pins/6e5e1497-b29d-4f6c-99de-3fe4c6f12ea3/settings)\n - Type: Pin\n - Likely purpose: QA/test pin kept live for validation rather than active end-user messaging.\n- [ML test](https://studio.appcues.com/pins/b2ab4db1-1b95-4408-ba8f-61dc2dca6190/settings)\n - Type: Pin\n - Likely purpose: test pin for internal validation.\n- [Acquisition](https://studio.appcues.com/banners/e8270aef-8987-46ec-bc6e-065a5ec19282/settings)\n - Type: Banner\n - Likely purpose: acquisition or promotional banner for a specific campaign.\n\n**Where the backlog sits**\n- Most inactive items are published flows. Review them from the [Flow list page](https://studio.appcues.com/flows).\n- The one published checklist reviewed in the latest audit was **not** part of the inactive set.",
"outcomes" => ["engagement", "retention"],
"priority" => "high",
"title" => "181 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
},
"notification_id" => "fda5fdfd-1bdb-499a-aba4-286b9e534f35",
"workflow_key" => "insight-issue-added"
}
Meta
%{"orig_scheduled_at" => 1777657873923325, "structured" => true}
Errors
Attempt 5—2h 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:52:49 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", "GKuCgTloHU5pHd8BfpBi"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 4—2h 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:52:18 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", "GKuCefewqc2WHQwB6cmD"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 3—2h 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:51:54 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", "GKuCdF_CWu020zEB6kil"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 2—2h 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:51:33 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", "GKuCb3aKy3WiZZIBk9Gh"}, {"x-xss-protection", "1; mode=block"}], status: 404}}
Attempt 1—2h 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:51:14 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", "GKuCawT_GhMaKHgBuvhD"}, {"x-xss-protection", "1; mode=block"}], status: 404}}