25391389 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.032
Run Time 00:00.074
Inserted 3h ago
Scheduled 3h ago
Completed
Cancelled
Discarded 3h ago

Args

%{
  "account_id" => "106160",
  "data" => %{
    "account_insight_agent_id" => "62e3b1cf-db85-43c3-82f1-0205b271a4b3",
    "insights" => [
      %{
        "action_plan" => "Replace the current banner strategy with a purposeful experiment. Start by removing irrelevant live content, then build a new-user campaign specifically for the first 14 days after login. Keep it tied to one adoption objective, use a controlled 3-message sequence, and attach goals so you can measure whether exposed users adopt the feature and return in month 2.",
        "actions" => [
          %{
            "cta" => "Run",
            "prompt" => "Use the product support agent to unpublish the published banner experience with ID e5b8c37b-0fb6-4c93-ae00-94f710057d74 named 'Sam Wedding'. This is a live web banner targeted to domain samstuckless.ca and URL path /wedding.html. Unpublish only this experience so it no longer shows to end users.",
            "title" => "Unpublish stale wedding banner",
            "undo_prompt" => "Use the product support agent to publish the banner experience with ID e5b8c37b-0fb6-4c93-ae00-94f710057d74 named 'Sam Wedding' so it is live again with its existing published content and rules targeting samstuckless.ca/wedding.html."
          }
        ],
        "cta_text" => "Clean up live banner strategy",
        "entity_id" => "e5b8c37b-0fb6-4c93-ae00-94f710057d74",
        "entity_type" => "banner",
        "expected_impact" => "A targeted banner sequence with goals and a defined audience would turn this from an untestable claim into a measurable activation and retention experiment.",
        "finding" => "The only published web banner is **Sam Wedding**, an old banner targeted to **samstuckless.ca/wedding.html** with **every_time** frequency and **no goals** attached. There is no live onboarding or retention-oriented banner sequence that would let you test a **3-touch, first-14-days** strategy against adoption and month-2 retention.",
        "outcomes" => ["activation", "adoption", "retention"],
        "priority" => "high",
        "title" => "Current live banner setup isn’t positioned to test the Loops pattern",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "0cdeae04-e788-461d-bf17-b88ba7b97a0a",
  "workflow_key" => "insight-opportunity-added"
}

Meta

%{"orig_scheduled_at" => 1777578663157638, "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-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", "Thu, 30 Apr 2026 19:52:38 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", "GKs6doqbuiD6dLgAE-7l"}, {"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-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", "Thu, 30 Apr 2026 19:52:07 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", "GKs6b0zH9o9uk-sDEFTk"}, {"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-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", "Thu, 30 Apr 2026 19: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", "GKs6aXWlFbn-YK4AEgxk"}, {"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-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", "Thu, 30 Apr 2026 19:51:21 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", "GKs6ZI1vZNwyKx8AFakl"}, {"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-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", "Thu, 30 Apr 2026 19:51: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", "GKs6YFKAkMkxqsEAFQHh"}, {"x-xss-protection", "1; mode=block"}], status: 404}}