25368361 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 00:00.300
Run Time 00:00.006
Inserted 2h ago
Scheduled 2h ago
Completed
Cancelled
Discarded 2h ago

Args

%{
  "account_id" => "41234",
  "data" => %{
    "account_insight_agent_id" => "c539fdb8-4a54-4b38-a076-8b0a93f93bad",
    "insights" => [
      %{
        "action_plan" => "Treat this as routine experience hygiene:\n\n1. Review the list and keep anything that is intentionally live for rare but still-valid workflows.\n2. Unpublish experiences that support retired features, dev/staging pages, or announcements that have likely outlived their usefulness.\n3. For anything you keep published, verify the trigger page still exists and that the audience is still relevant.\n\nYou can also unpublish any of the listed experiences directly from this alert.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID -M-R7FEY3_fdXm2SnLgJ named \"[Dev] Appcue for Print Report - Best Practice\". This experience was published on 2026-03-17 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive Print Report flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -M-R7FEY3_fdXm2SnLgJ named \"[Dev] Appcue for Print Report - Best Practice\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID -M-REoGSgbAHXrA9w4SI named \"[Dev] Appcue for Print Report - MedicalDirector\". This experience was published on 2026-03-17 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive Print Report flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -M-REoGSgbAHXrA9w4SI named \"[Dev] Appcue for Print Report - MedicalDirector\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID -M1XWN8MFJoiiVmrRYqz named \"[Dev] Appcue for Visit Note - MedicalDirector\". This experience was published on 2026-03-17 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive Visit Note flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -M1XWN8MFJoiiVmrRYqz named \"[Dev] Appcue for Visit Note - MedicalDirector\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID -M1Xm4Oc81CShEu5B8ZZ named \"[Dev] Appcue for Visit Note - MedTech\". This experience was published on 2026-03-17 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive Visit Note flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -M1Xm4Oc81CShEu5B8ZZ named \"[Dev] Appcue for Visit Note - MedTech\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 2dc99f64-70e0-43ed-b3bd-bd70fb391ba5 named \"🧠📌 Lesion Matching algorithm + Report Mismatch\". This experience was published on 2024-06-15 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive lesion matching flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 2dc99f64-70e0-43ed-b3bd-bd70fb391ba5 named \"🧠📌 Lesion Matching algorithm + Report Mismatch\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID f858f2fc-c318-463e-92af-848d6a85dad1 named \"🏥 Clinic-Specific Appointment Types\". This experience was published on 2024-05-22 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive appointment types flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID f858f2fc-c318-463e-92af-848d6a85dad1 named \"🏥 Clinic-Specific Appointment Types\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 08c5ccbb-9dd4-4d34-9eb0-cbd7419e5970 named \"Digital Signature\". This experience appears as published in the experience list, was published on 2024-05-01, and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive digital signature flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 08c5ccbb-9dd4-4d34-9eb0-cbd7419e5970 named \"Digital Signature\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 01b02e75-95bf-467b-81a4-0e02b810560f named \"💰Stripe Link\". This experience was published on 2023-12-01 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive Stripe Link flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 01b02e75-95bf-467b-81a4-0e02b810560f named \"💰Stripe Link\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID b43e19c8-4a94-44f7-8754-56ab99b853f0 named \"New Currency in Private Billing Settings\". This experience was published on 2023-09-26 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive billing settings flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID b43e19c8-4a94-44f7-8754-56ab99b853f0 named \"New Currency in Private Billing Settings\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 35b13192-c764-44f1-abb2-9dbbf2c4e9e0 named \"Buttons View + Slider\". This experience was published on 2023-08-15 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive form builder flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 35b13192-c764-44f1-abb2-9dbbf2c4e9e0 named \"Buttons View + Slider\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID -LqIv0Ps0a5f3nsMN6x2 named \"[Dev]  Teledermatology_Questionnaires appcue\". This experience was published on 2019-10-23 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive questionnaire flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LqIv0Ps0a5f3nsMN6x2 named \"[Dev]  Teledermatology_Questionnaires appcue\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 98134180-8d52-448f-ac22-2ed0c55f37f1 named \"Custom body part insturction\". This experience was published on 2023-01-04 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive body part flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 98134180-8d52-448f-ac22-2ed0c55f37f1 named \"Custom body part insturction\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 470bf855-f222-4b1e-9d4f-a075e07ab2bb named \"Get started with your consultation\". This experience was published on 2022-06-17 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive consultation start flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 470bf855-f222-4b1e-9d4f-a075e07ab2bb named \"Get started with your consultation\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID ab436a2e-c679-43ad-a9bf-41e9b09bb39d named \"Telederm settings now under clinic\". This experience was published on 2021-05-12 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive telederm settings flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID ab436a2e-c679-43ad-a9bf-41e9b09bb39d named \"Telederm settings now under clinic\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID -LuF9JEOjjuufkDgnsdg named \"[Dev] Donation Link in Appointment Confirmation\". This experience was published on 2021-07-07 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive donation link flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LuF9JEOjjuufkDgnsdg named \"[Dev] Donation Link in Appointment Confirmation\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 3e5519e4-13d4-4d45-b723-853f8fcf18a2 named \"[DEV] Spot reorder\". This experience was published on 2021-06-08 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive spot reorder flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 3e5519e4-13d4-4d45-b723-853f8fcf18a2 named \"[DEV] Spot reorder\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID -LuZnw7HhxCtu_VUZHgd named \"[Dev] TBP_Enterprise_ImagingOrder_Tooltip\". This experience was published on 2019-12-06 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive enterprise ordering flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LuZnw7HhxCtu_VUZHgd named \"[Dev] TBP_Enterprise_ImagingOrder_Tooltip\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID -Lu_JChEgDC0JykjaYq2 named \"[Dev] TBP_Clinic_ImagingOrder_Tooltip_\". This experience was published on 2019-12-02 and has had no seen, completed, skipped, or dismissed activity in the last 30 days.",
            "title" => "Unpublish inactive clinic ordering flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -Lu_JChEgDC0JykjaYq2 named \"[Dev] TBP_Clinic_ImagingOrder_Tooltip_\"."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        ...
      }
    ]
  },
  ...
}

Meta

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

Errors

Attempt 5—2h 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+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) 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—2h 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+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) 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—2h 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+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) 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—2h 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+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) 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—2h 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+dd24b211) lib/customer_api/services/knock.ex:65: CustomerApi.Services.Knock.trigger/3
    (customer_api 1.21.0+dd24b211) 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