25115200 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 00:00.200
Run Time 00:00.007
Inserted 10h ago
Scheduled 10h ago
Completed
Cancelled
Discarded 10h ago

Args

%{
  "account_id" => "106979",
  "data" => %{
    "account_insight_agent_id" => "4c9b2587-80f2-422e-8ca0-010800194413",
    "insights" => [
      %{
        "action_plan" => "Review these flows as a routine cleanup pass.\n\n1. Unpublish anything that is clearly retired, duplicated, or intentionally set to never show.\n2. Keep only flows that are expected to come back and still have a valid audience/use case.\n3. For the six EBAIA feedback variants, confirm whether the underlying trigger event is still in use before keeping them live.\n4. For the checklist-style draft flows and older feedback modals, unpublishing is likely the safest cleanup unless they are part of an upcoming relaunch.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 31aa72a6-bf5f-4bd8-85aa-b6b64d01c53b named \"250903_EBAIA_Wkn3Good_TAM\". This flow was published on 2026-03-05 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive EBAIA Wkn3Good flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID 31aa72a6-bf5f-4bd8-85aa-b6b64d01c53b named \"250903_EBAIA_Wkn3Good_TAM\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 7b1440e2-87e8-4c5e-a6ff-6c9ee57b0e43 named \"250903_EBAIA_Str3Bad_TAM\". This flow was published on 2026-03-05 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive EBAIA Str3Bad flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID 7b1440e2-87e8-4c5e-a6ff-6c9ee57b0e43 named \"250903_EBAIA_Str3Bad_TAM\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 5021be6b-e2cf-4893-a88d-85c21e7ee041 named \"250903_EBAIA_Wkn3Bad_TAM\". This flow was published on 2026-03-05 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive EBAIA Wkn3Bad flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID 5021be6b-e2cf-4893-a88d-85c21e7ee041 named \"250903_EBAIA_Wkn3Bad_TAM\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 52c2bf67-f4d3-4311-be94-fe302263053f named \"250903_EBAIA_Wkn2Bad_TAM\". This flow was published on 2026-03-05 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive EBAIA Wkn2Bad flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID 52c2bf67-f4d3-4311-be94-fe302263053f named \"250903_EBAIA_Wkn2Bad_TAM\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 9ff3032a-15a1-4489-86e5-6bcd6c6b8db6 named \"250903_EBAIA_Wkn2Good_TAM\". This flow was published on 2026-03-05 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive EBAIA Wkn2Good flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID 9ff3032a-15a1-4489-86e5-6bcd6c6b8db6 named \"250903_EBAIA_Wkn2Good_TAM\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID a7280043-d3f1-47a2-8d47-5ce3159f81f1 named \"250903_EBAIA_Str3Good_TAM\". This flow was published on 2026-03-05 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive EBAIA Str3Good flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID a7280043-d3f1-47a2-8d47-5ce3159f81f1 named \"250903_EBAIA_Str3Good_TAM\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 0a3e1e7e-369d-4265-b66f-798c10faf604 named \"Prd_2026-03-02_Profile-Insights-Brand-Views-Correction\". This flow was published on 2026-03-02 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive brand views correction",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID 0a3e1e7e-369d-4265-b66f-798c10faf604 named \"Prd_2026-03-02_Profile-Insights-Brand-Views-Correction\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID bb554f7f-4d57-486e-a2b2-3484c12e2742 named \"Draft_17-10-2024_NEUTRAL-FEEDBACK_COMPETITION-INSIGHTS_NEUTRAL\". This flow was published on 2024-10-17 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive neutral feedback survey",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID bb554f7f-4d57-486e-a2b2-3484c12e2742 named \"Draft_17-10-2024_NEUTRAL-FEEDBACK_COMPETITION-INSIGHTS_NEUTRAL\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 9117ffee-b3c4-4be9-b4f0-08f8e918b627 named \"LIVE_22-08-2024_FEEDBACK-REVIEWINVITATIONS\". This flow was published on 2024-08-22 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive review invitation feedback",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID 9117ffee-b3c4-4be9-b4f0-08f8e918b627 named \"LIVE_22-08-2024_FEEDBACK-REVIEWINVITATIONS\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 691171ae-ab94-4a1d-98c4-79bf502892f3 named \"LIVE_08-10-2024_was-ist-neu-EmployerVisibility\". This flow was published on 2024-10-11 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive employer visibility update",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID 691171ae-ab94-4a1d-98c4-79bf502892f3 named \"LIVE_08-10-2024_was-ist-neu-EmployerVisibility\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID b6fd9ebb-b696-4499-a8a4-b8f12a0625d5 named \"LIVE_08-10-2024_Intro-EmployerVisibility\". This flow was published on 2024-10-11 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive employer visibility intro",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID b6fd9ebb-b696-4499-a8a4-b8f12a0625d5 named \"LIVE_08-10-2024_Intro-EmployerVisibility\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 8c10e4da-e05e-459b-93b2-cd753c7790ce named \"DRAFT_useruuid\". This flow was published on 2025-02-21 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive useruuid draft flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID 8c10e4da-e05e-459b-93b2-cd753c7790ce named \"DRAFT_useruuid\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID be6eb1e9-be63-40e0-9ced-7b7d075c3bcc named \"*Live_06-08-2024_FEEDBACK-PROFILEVIEWS\". This flow was published on 2024-08-02 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive profile views feedback",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID be6eb1e9-be63-40e0-9ced-7b7d075c3bcc named \"*Live_06-08-2024_FEEDBACK-PROFILEVIEWS\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 1ff71a36-9ecb-479c-8655-ea33f825d4b0 named \"DRAFT_Checklist_Step5\". This flow was published on 2025-02-26 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive checklist step five",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID 1ff71a36-9ecb-479c-8655-ea33f825d4b0 named \"DRAFT_Checklist_Step5\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID dd92d25b-6a8b-4da8-a401-8382b1e9af44 named \"DRAFT_Checklist_Step4\". This flow was published on 2025-02-26 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive checklist step four",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID dd92d25b-6a8b-4da8-a401-8382b1e9af44 named \"DRAFT_Checklist_Step4\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 8e6c8c7f-89ca-45d5-86b9-ff5198028b47 named \"DRAFT_Checklist_Step1\". This flow was published on 2025-02-26 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive checklist step one",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID 8e6c8c7f-89ca-45d5-86b9-ff5198028b47 named \"DRAFT_Checklist_Step1\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 042730b7-9ccb-4006-828c-2e1bb711f2bd named \"DRAFT_Checklist_Step2\". This flow was published on 2025-02-26 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive checklist step two",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID 042730b7-9ccb-4006-828c-2e1bb711f2bd named \"DRAFT_Checklist_Step2\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID e95187e0-a839-47df-819e-f6c361ee96ef named \"DRAFT_Checklist_Step3\". This flow was published on 2025-02-26 and had zero activity in the last 30 days.",
            "title" => "Unpublish inactive checklist step three",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID e95187e0-a839-47df-819e-f6c361ee96ef named \"DRAFT_Checklist_Step3\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID 77475c08-0482-4a06-a56b-e7c8a24c6d76 named \"DRAFT_Checklist_Step6-Feedback\". This flow was published on 2025-03-05 and had zero activity in the last 30 days.",
            ...
          },
          ...
        ],
        ...
      }
    ]
  },
  ...
}

Meta

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

Errors

Attempt 5—10h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 4—10h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 3—10h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 2—10h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4

Attempt 1—10h ago

** (Knock.ApiKeyMissingError)   The api_key setting is required to make requests to Knock.
  Please configure :api_key in config.exs, set the KNOCK_API_KEY
  environment variable, or pass into a new client instance.

    (knock 0.5.0) lib/knock/client.ex:65: Knock.Client.new/1
    (customer_api 1.21.0+88574494) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+88574494) lib/customer_api/jobs/publish_notification_job.ex:93: CustomerApi.Jobs.PublishNotificationJob.do_publish/4
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
    (oban 2.20.3) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
    (elixir 1.19.5) lib/task/supervised.ex:105: Task.Supervised.invoke_mfa/2
    (elixir 1.19.5) lib/task/supervised.ex:40: Task.Supervised.reply/4