25115143 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:00.337
Run Time 00:00.008
Inserted 10h ago
Scheduled 10h ago
Completed
Cancelled
Discarded 10h ago

Args

%{
  "account_id" => "71408",
  "data" => %{
    "account_insight_agent_id" => "5c61f720-e05e-43ed-8d23-332f89a83765",
    "insights" => [
      %{
        "action_plan" => "Start with the narrowest and most time-bound items: staging-only content, single-user announcements, migration content, and helper pins tied to older workflows. If those are no longer needed, unpublish them first. Then review the legacy tutorial/video flows as a second pass and keep only the ones still supporting active admin pages or current training workflows.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support unpublish capability to unpublish the published web flow with ID be4f728c-e390-47ea-bd52-8d72a4bb6db6 named \"Assessor/Verifier UI - Survey\". This flow is currently published and targets only staging.mintra.no on assessor/verifier survey-related URLs. Unpublish the live experience so it stops showing to end users while preserving the draft.",
            "title" => "Unpublish staging survey flow",
            "undo_prompt" => "Use the product support publish capability to republish the web flow with ID be4f728c-e390-47ea-bd52-8d72a4bb6db6 named \"Assessor/Verifier UI - Survey\" from its current draft state back to published."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support unpublish capability to unpublish the published web flow with ID 53533d4b-1d46-4715-8233-ba85f51572da named \"MentorAI\". This flow is currently published and specifically targets the /ui/training page for the single email address paul.quigley@mintra.com. Unpublish the live experience so it stops showing to end users while preserving the draft.",
            "title" => "Unpublish MentorAI announcement flow",
            "undo_prompt" => "Use the product support publish capability to republish the web flow with ID 53533d4b-1d46-4715-8233-ba85f51572da named \"MentorAI\" from its current draft state back to published."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support unpublish capability to unpublish the published web flow with ID 9cbc1e52-edbb-4dca-991d-ed4f0a581309 named \"Welcome to Trainingportal - Seably Course Providers\". This flow is currently published and targets /admin-ui/dashboard for a specific segment of Seably course providers across trainingportal domains. Unpublish the live experience so it stops showing to end users while preserving the draft.",
            "title" => "Unpublish Seably welcome flow",
            "undo_prompt" => "Use the product support publish capability to republish the web flow with ID 9cbc1e52-edbb-4dca-991d-ed4f0a581309 named \"Welcome to Trainingportal - Seably Course Providers\" from its current draft state back to published."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support unpublish capability to unpublish the published web flow with ID -M7bnRdo-ycaMHFkCbl9 named \"Video - Competence requirements\". This is a legacy published help/video flow from 2020 that appears inactive in the last verified 30-day audit. Unpublish the live experience so it stops showing to end users while preserving the draft.",
            "title" => "Unpublish legacy video help flow",
            "undo_prompt" => "Use the product support publish capability to republish the web flow with ID -M7bnRdo-ycaMHFkCbl9 named \"Video - Competence requirements\" from its current draft state back to published."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support unpublish capability to unpublish the published web pin with ID f68d21e5-26a1-42cb-aa70-884c5a84a641 named \"PPTFileName\". This pin is currently published on the PowerPoint upload page and explains file naming rules. Unpublish the live experience so it stops showing to end users while preserving the draft.",
            "title" => "Unpublish PowerPoint upload pin",
            "undo_prompt" => "Use the product support publish capability to republish the web pin with ID f68d21e5-26a1-42cb-aa70-884c5a84a641 named \"PPTFileName\" from its current draft state back to published."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support unpublish capability to unpublish the published web pin with ID 8911dc47-28c2-4cf5-bc25-4c9bff782a77 named \"eLearning File Size Limit\". This pin is currently published on the eLearning import page and explains the 1GB upload limit. Unpublish the live experience so it stops showing to end users while preserving the draft.",
            "title" => "Unpublish file size limit pin",
            "undo_prompt" => "Use the product support publish capability to republish the web pin with ID 8911dc47-28c2-4cf5-bc25-4c9bff782a77 named \"eLearning File Size Limit\" from its current draft state back to published."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up inactive published content should reduce clutter in your live portfolio, make ongoing maintenance easier, and lower the chance that outdated help or migration content is accidentally shown again.",
        "finding" => "Routine hygiene check: your latest verified inactivity audit found **20 published experiences** that were published more than 3 weeks ago and then saw **no events or enrollments in the following 30 days**.\n\nHighest-confidence review candidates:\n- [Assessor/Verifier UI - Survey](https://studio.appcues.com/flows/be4f728c-e390-47ea-bd52-8d72a4bb6db6/settings)\n  - Type: Flow\n  - Staging-only feedback survey for the new assessor/verifier UI on `staging.mintra.no`\n- [MentorAI](https://studio.appcues.com/flows/53533d4b-1d46-4715-8233-ba85f51572da/settings)\n  - Type: Flow\n  - Announcement/help flow for Mentor AI on `/ui/training`, targeted to a single email address\n- [Welcome to Trainingportal - Seably Course Providers](https://studio.appcues.com/flows/9cbc1e52-edbb-4dca-991d-ed4f0a581309/settings)\n  - Type: Flow\n  - Migration welcome modal for Seably course providers on `/admin-ui/dashboard`\n- [PPTFileName](https://studio.appcues.com/pins/f68d21e5-26a1-42cb-aa70-884c5a84a641/settings)\n  - Type: Pin\n  - Upload guidance pin explaining PowerPoint filename restrictions\n- [eLearning File Size Limit](https://studio.appcues.com/pins/8911dc47-28c2-4cf5-bc25-4c9bff782a77/settings)\n  - Type: Pin\n  - Upload guidance pin explaining the 1GB file-size limit\n\nOther inactive published experiences to review:\n- [How to register a new user](https://studio.appcues.com/flows/8972e12a-d203-468e-a9b0-26c9eba61b55/settings)\n  - Type: Flow\n  - Tutorial video for creating users on `admin-ui/users`\n- [How to enrol a user onto a course](https://studio.appcues.com/flows/649b2101-bb33-4a30-9d19-ca6e85c49992/settings)\n  - Type: Flow\n  - Tutorial video for course enrollment on `admin-ui/users`\n- [How to review customer accounts](https://studio.appcues.com/flows/ccd865c4-e1e8-4f12-bcc5-10eed3d5f1e6/settings)\n  - Type: Flow\n  - Tutorial video for customer account review on `/admin-ui/admin/home`\n- [How to create a new role](https://studio.appcues.com/flows/83c0b2a8-29d3-4082-bb6f-118d15ef2cb6/settings)\n  - Type: Flow\n  - Tutorial video for competence role creation on `admin-ui/competence`\n- [How to run a course status report](https://studio.appcues.com/flows/7f717ba1-c485-49fd-b42b-defefb74ddd3/settings)\n  - Type: Flow\n  - Tutorial video for course reporting on `admin-ui/reports`\n- [How to create a survey](https://studio.appcues.com/flows/69688f72-5e49-49a6-91a1-33df3e1ed6bd/settings)\n  - Type: Flow\n  - Tutorial video for survey creation on `/admin-ui/surveys`\n- [How to run a competence status report](https://studio.appcues.com/flows/a7f86133-7cb6-4a62-808d-ff7dbe2e706e/settings)\n  - Type: Flow\n  - Tutorial video for competence reporting on `/admin-ui/reports`\n- [How to manage remote sites](https://studio.appcues.com/flows/1cdc61b5-46dd-4ba0-9810-c32d79edf92a/settings)\n  - Type: Flow\n  - Tutorial video for remote-site administration\n- [How to schedule reports](https://studio.appcues.com/flows/37c78c12-14f9-4683-9766-bae9561322cd/settings)\n  - Type: Flow\n  - Tutorial flow for report scheduling\n- [How to create a new course](https://studio.appcues.com/flows/ffa2b913-c469-4341-ab2d-5cbc015860a7/settings)\n  - Type: Flow\n  - Tutorial flow for course creation\n- [How to upload e-learning content](https://studio.appcues.com/flows/bb1ec1bf-49af-485c-bd27-17a20313b71d/settings)\n  - Type: Flow\n  - Tutorial flow for e-learning content upload\n- [How to add requirements to a role](https://studio.appcues.com/flows/9c1b0084-1607-43f4-aed8-1e92c999e18a/settings)\n  - Type: Flow\n  - Tutorial flow for adding role requirements\n- [How to add new assessors](https://studio.appcues.com/flows/476daa11-3524-4318-aa64-e9cdd371d32f/settings)\n  - Type: Flow\n  - Tutorial flow for assessor setup\n- [Video - Competence requirements](https://studio.appcues.com/flows/-M7bnRdo-ycaMHFkCbl9/settings)\n  - Type: Flow\n  - Legacy help video about competence requirements\n- [Video - Training Requirements modul](https://studio.appcues.com/flows/-M72wdEsFe_L742FZ3-r/settings)\n  - Type: Flow\n  - Legacy module walkthrough video\n\nThis looks like normal content hygiene rather than a configuration problem: most " <> ...,
        "outcomes" => ["engagement", "retention"],
        "priority" => "high",
        "title" => "20 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "b7c25160-04e6-48c6-a7c0-30c0d09d63b5",
  "workflow_key" => "insight-issue-added"
}

Meta

%{"orig_scheduled_at" => 1777405251049358, "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