25390786 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.947
Run Time 00:00.063
Inserted 12h ago
Scheduled 12h ago
Completed
Cancelled
Discarded 12h ago

Args

%{
  "account_id" => "103523",
  "data" => %{
    "account_insight_agent_id" => "363ebb12-fdaf-4d77-abf4-4d24f1694a6e",
    "insights" => [
      %{
        "action_plan" => "Review whether these flows are still meant to be live. If they are no longer relevant, unpublish them. If they should remain live, replace the embedded video/title content so users no longer see a past 2021 date reference.",
        "actions" => [],
        "cta_text" => "Review published flows",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Removing these stale date references should reduce confusion and help prevent users from seeing outdated or abandoned in-app content, improving engagement and retention.",
        "finding" => "As of **2026-04-30**, I found **4 published flows** with a past date still embedded in their content.\n\nEach includes the Wistia video title string **\"Edited 11/22/2021, 12:21:17 PM\"**, which is now outdated:\n- **Flow that is triggered**\n- **Regression Testing Alignment Cocoapods Example**\n- **Regression Testing Blocks and Content Styling Cocoapods Example**\n- **Regression Testing Blocks and Content Styling Android Example**",
        "outcomes" => ["engagement", "retention"],
        "priority" => "high",
        "title" => "4 published flows still reference a 2021 date",
        "type" => "issue"
      },
      %{
        "action_plan" => "Unpublish this promo if the campaign has ended. If the experience should remain active, update the countdown configuration to a valid future date or remove the countdown block entirely.",
        "actions" => [],
        "cta_text" => "Review promo flow",
        "entity_id" => "ec24d1cb-0c41-4a6e-99ee-dbd59a12c75b",
        "entity_type" => "flow",
        "expected_impact" => "Fixing or removing the expired countdown should prevent users from seeing an obviously outdated promotion and protect trust in your in-app messaging.",
        "finding" => "As of **2026-04-30**, the published mobile flow **GCash Promo** still contains a countdown end date of **2025-12-31 23:59 -06:00**, which is now in the past.",
        "outcomes" => ["engagement", "retention"],
        "priority" => "high",
        "title" => "GCash Promo is live with an expired countdown date",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "3f280689-7b1f-44b0-8738-9d45eddca606",
  "workflow_key" => "insight-issue-added"
}

Meta

%{"orig_scheduled_at" => 1777577475657263, "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 19:32:50 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", "GKs5YebBEAP7MsMC6VsE"}, {"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 19:32:16 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", "GKs5WftUVFeF7tAB12Pl"}, {"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 19:31:53 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", "GKs5VJXn2mswRzEB0Yjl"}, {"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 19:31: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", "GKs5T-_sYUKmABEC5VuE"}, {"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 19:31:15 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", "GKs5S9ZjwQMr5T0BuAjm"}, {"x-xss-protection", "1; mode=block"}], status: 404}}