25483748 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:01.012
Run Time 00:00.074
Inserted 36m ago
Scheduled 35m ago
Completed
Cancelled
Discarded 35m ago

Args

%{
  "account_id" => "206911",
  "data" => %{
    "account_insight_agent_id" => "db36a923-0314-45ec-914e-dece07f7e089",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 4 properties (appcues_segment_7e7e4441-33ba-4490-abc5-bd3f77de58d9, appcues_segment_9dde0e9d-9f08-4d7a-af24-fea241420c3e, appcues_segment_be228cc2-3beb-458d-a1f9-6e05c01e8c5f, appcues_segment_c67f49d9-5d8b-43d8-939e-04d066548c20) can be hidden through Captain AI — ask it to hide them by name — or updated manually in the segment builder UI. Hiding is non-destructive — property data is retained and any property can be made visible again at any time.",
        "actions" => [
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'appcues_segment_1c08f6ac-c857-40c1-975c-4cc6a7c1bb45' and set show_in_ui to false.",
            "title" => "Hide appcues_segment_1c08f6ac-c857-40c1-975c-4cc6a7c1bb45",
            "undo_prompt" => "Update user property 'appcues_segment_1c08f6ac-c857-40c1-975c-4cc6a7c1bb45' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'appcues_segment_20be2b10-e600-430e-a02c-ddf338da5492' and set show_in_ui to false.",
            "title" => "Hide appcues_segment_20be2b10-e600-430e-a02c-ddf338da5492",
            "undo_prompt" => "Update user property 'appcues_segment_20be2b10-e600-430e-a02c-ddf338da5492' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'appcues_segment_465f9bec-4504-48c8-a9dd-474ba68f617c' and set show_in_ui to false.",
            "title" => "Hide appcues_segment_465f9bec-4504-48c8-a9dd-474ba68f617c",
            "undo_prompt" => "Update user property 'appcues_segment_465f9bec-4504-48c8-a9dd-474ba68f617c' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'appcues_segment_4cd6e23e-1c9d-43cc-9781-9eaa6defcffb' and set show_in_ui to false.",
            "title" => "Hide appcues_segment_4cd6e23e-1c9d-43cc-9781-9eaa6defcffb",
            "undo_prompt" => "Update user property 'appcues_segment_4cd6e23e-1c9d-43cc-9781-9eaa6defcffb' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'appcues_segment_4ebe40e7-2331-4680-bbde-31c83871e11a' and set show_in_ui to false.",
            "title" => "Hide appcues_segment_4ebe40e7-2331-4680-bbde-31c83871e11a",
            "undo_prompt" => "Update user property 'appcues_segment_4ebe40e7-2331-4680-bbde-31c83871e11a' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'appcues_segment_5316b76d-c9b0-4086-8843-84c8e924656c' and set show_in_ui to false.",
            "title" => "Hide appcues_segment_5316b76d-c9b0-4086-8843-84c8e924656c",
            "undo_prompt" => "Update user property 'appcues_segment_5316b76d-c9b0-4086-8843-84c8e924656c' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'appcues_segment_5c8eb999-544c-43b8-89be-1445c2eaf3e9' and set show_in_ui to false.",
            "title" => "Hide appcues_segment_5c8eb999-544c-43b8-89be-1445c2eaf3e9",
            "undo_prompt" => "Update user property 'appcues_segment_5c8eb999-544c-43b8-89be-1445c2eaf3e9' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'appcues_segment_62a184b1-d98c-4679-bffe-2788b3e23189' and set show_in_ui to false.",
            "title" => "Hide appcues_segment_62a184b1-d98c-4679-bffe-2788b3e23189",
            "undo_prompt" => "Update user property 'appcues_segment_62a184b1-d98c-4679-bffe-2788b3e23189' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'appcues_segment_6430305d-f16a-4644-837c-bb22675f248d' and set show_in_ui to false.",
            "title" => "Hide appcues_segment_6430305d-f16a-4644-837c-bb22675f248d",
            "undo_prompt" => "Update user property 'appcues_segment_6430305d-f16a-4644-837c-bb22675f248d' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'appcues_segment_6f2b80f6-70d7-470d-9dfe-0e498b3abc79' and set show_in_ui to false.",
            "title" => "Hide appcues_segment_6f2b80f6-70d7-470d-9dfe-0e498b3abc79",
            "undo_prompt" => "Update user property 'appcues_segment_6f2b80f6-70d7-470d-9dfe-0e498b3abc79' and set show_in_ui to true."
          }
        ],
        "cta_text" => nil,
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaner segment builder with only active properties",
        "finding" => "Found 14 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nappcues_segment_1c08f6ac-c857-40c1-975c-4cc6a7c1bb45 - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_1c08f6ac-c857-40c1-975c-4cc6a7c1bb45)\n\nappcues_segment_20be2b10-e600-430e-a02c-ddf338da5492 - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_20be2b10-e600-430e-a02c-ddf338da5492)\n\nappcues_segment_465f9bec-4504-48c8-a9dd-474ba68f617c - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_465f9bec-4504-48c8-a9dd-474ba68f617c)\n\nappcues_segment_4cd6e23e-1c9d-43cc-9781-9eaa6defcffb - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_4cd6e23e-1c9d-43cc-9781-9eaa6defcffb)\n\nappcues_segment_4ebe40e7-2331-4680-bbde-31c83871e11a - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_4ebe40e7-2331-4680-bbde-31c83871e11a)\n\nappcues_segment_5316b76d-c9b0-4086-8843-84c8e924656c - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_5316b76d-c9b0-4086-8843-84c8e924656c)\n\nappcues_segment_5c8eb999-544c-43b8-89be-1445c2eaf3e9 - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_5c8eb999-544c-43b8-89be-1445c2eaf3e9)\n\nappcues_segment_62a184b1-d98c-4679-bffe-2788b3e23189 - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_62a184b1-d98c-4679-bffe-2788b3e23189)\n\nappcues_segment_6430305d-f16a-4644-837c-bb22675f248d - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_6430305d-f16a-4644-837c-bb22675f248d)\n\nappcues_segment_6f2b80f6-70d7-470d-9dfe-0e498b3abc79 - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_6f2b80f6-70d7-470d-9dfe-0e498b3abc79)\n\nappcues_segment_7e7e4441-33ba-4490-abc5-bd3f77de58d9 - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_7e7e4441-33ba-4490-abc5-bd3f77de58d9)\n\nappcues_segment_9dde0e9d-9f08-4d7a-af24-fea241420c3e - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_9dde0e9d-9f08-4d7a-af24-fea241420c3e)\n\nappcues_segment_be228cc2-3beb-458d-a1f9-6e05c01e8c5f - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_be228cc2-3beb-458d-a1f9-6e05c01e8c5f)\n\nappcues_segment_c67f49d9-5d8b-43d8-939e-04d066548c20 - [View](https://studio.appcues.com/settings/properties/user?search=appcues_segment_c67f49d9-5d8b-43d8-939e-04d066548c20)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 14 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "4a6dae23-e61a-4cd1-86e2-5661af4284a3",
  "workflow_key" => "insight-opportunity-added"
}

Meta

%{"orig_scheduled_at" => 1777670235141621, "structured" => true}

Errors

Attempt 5—35m 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", "Fri, 01 May 2026 21:18:48 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", "GKuNvrQHqTLHxcIDapAF"}, {"x-xss-protection", "1; mode=block"}], status: 404}}

Attempt 4—35m 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", "Fri, 01 May 2026 21:18: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", "GKuNtzt9zz7VhoQDF9Wk"}, {"x-xss-protection", "1; mode=block"}], status: 404}}

Attempt 3—35m 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", "Fri, 01 May 2026 21:17:51 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", "GKuNsZd6dvsNqwkDbK8l"}, {"x-xss-protection", "1; mode=block"}], status: 404}}

Attempt 2—36m 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", "Fri, 01 May 2026 21:17:32 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", "GKuNrSRrhMr_k1cDaVhj"}, {"x-xss-protection", "1; mode=block"}], status: 404}}

Attempt 1—36m 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", "Fri, 01 May 2026 21:17: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", "GKuNqRacuibdzO0DEf2D"}, {"x-xss-protection", "1; mode=block"}], status: 404}}