25115164 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 00:00.345
Run Time 00:00.010
Inserted 11h ago
Scheduled 11h ago
Completed
Cancelled
Discarded 11h ago

Args

%{
  "account_id" => "49687",
  "data" => %{
    "account_insight_agent_id" => "a17c1538-531d-480f-97f2-57094985606d",
    "insights" => [
      %{
        "action_plan" => "Review this list as routine content hygiene.\n\n1. Unpublish items tied to QA, staging, UAT, or past virtual-event programmes if they are no longer needed.\n2. Keep live only the experiences that still support an active operational workflow.\n3. If any item should remain published, confirm that its targeting still points to an active page, domain, and audience.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"[QA] My Forum - Home Page Introduction - desktop\" with experience ID \"00449d44-c4f2-4881-9915-ccc08c8a9e36\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and is a QA-only homepage introduction.",
            "title" => "Unpublish inactive QA homepage intro",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"[QA] My Forum - Home Page Introduction - desktop\" with experience ID \"00449d44-c4f2-4881-9915-ccc08c8a9e36\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"[Uplink UAT] Submission flow guide V2 10 Sept\" with experience ID \"54f7ecae-e255-4990-90b0-3dd8fb80dee1\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and is targeted to the UAT UpLink contribution submission page.",
            "title" => "Unpublish inactive UAT submission guide",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"[Uplink UAT] Submission flow guide V2 10 Sept\" with experience ID \"54f7ecae-e255-4990-90b0-3dd8fb80dee1\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"[Prod] SEO\" with experience ID \"c0e35015-af07-4fde-a31c-0302c146ca2b\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and appears to be an initiatives admin help flow about search engine optimization.",
            "title" => "Unpublish inactive SEO help flow",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"[Prod] SEO\" with experience ID \"c0e35015-af07-4fde-a31c-0302c146ca2b\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"[Prod] Forum Spaces - Share feedback\" with experience ID \"02b79551-fa70-466e-ad48-9a8aef36f470\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and appears to be a feedback collection flow on initiatives pages.",
            "title" => "Unpublish inactive feedback survey flow",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"[Prod] Forum Spaces - Share feedback\" with experience ID \"02b79551-fa70-466e-ad48-9a8aef36f470\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"[Prod] Manage navigation \" with experience ID \"3b7ceb0e-9a8e-424f-aa7a-326b0cd64055\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and appears to be an initiatives admin help flow about navigation setup.",
            "title" => "Unpublish inactive navigation help flow",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"[Prod] Manage navigation \" with experience ID \"3b7ceb0e-9a8e-424f-aa7a-326b0cd64055\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"[Prod][Virtual Event] Manage registration (all participants)\" with experience ID \"-M1_MORm7WZ0mFiTSK5o\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and is a legacy virtual event registration guide targeted to TopLink registration pages.",
            "title" => "Unpublish inactive registration guide flow",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"[Prod][Virtual Event] Manage registration (all participants)\" with experience ID \"-M1_MORm7WZ0mFiTSK5o\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"[Staging] Digital Forum (leave feedback)\" with experience ID \"3c6f5a11-d5eb-4ec9-883f-1b42e196f4e6\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and is targeted to staging domains.",
            "title" => "Unpublish inactive staging feedback flow",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"[Staging] Digital Forum (leave feedback)\" with experience ID \"3c6f5a11-d5eb-4ec9-883f-1b42e196f4e6\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"[Prod][Virtual Event] Launch registration tours (all participants)\" with experience ID \"-M1_HGovQWd_wI9NEy0L\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and is a legacy launcher for a registration tour on TopLink.",
            "title" => "Unpublish inactive launch registration prompt",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"[Prod][Virtual Event] Launch registration tours (all participants)\" with experience ID \"-M1_HGovQWd_wI9NEy0L\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"[Prod][Virtual Event] All sessions (participants)\" with experience ID \"-M1ybvDvNDLsrXZKGmI3\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and is a legacy programme tour for participant session browsing.",
            "title" => "Unpublish inactive participants sessions flow",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"[Prod][Virtual Event] All sessions (participants)\" with experience ID \"-M1ybvDvNDLsrXZKGmI3\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"[Prod][Virtual Event] All sessions (OC)\" with experience ID \"-M1ycD-cDcti2LUc7Xci\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and is a legacy programme tour for organizer or coordinator session management.",
            "title" => "Unpublish inactive OC sessions flow",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"[Prod][Virtual Event] All sessions (OC)\" with experience ID \"-M1ycD-cDcti2LUc7Xci\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"[Prod][Virtual Event] All sessions - Zoom (OC)\" with experience ID \"-M1zFtS7bvxjST-VgBaZ\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and is a legacy Zoom joining guide for organizer or coordinator users.",
            "title" => "Unpublish inactive Zoom OC flow",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"[Prod][Virtual Event] All sessions - Zoom (OC)\" with experience ID \"-M1zFtS7bvxjST-VgBaZ\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"[Prod][Virtual Event] All sessions - Zoom (Participants)\" with experience ID \"-M1yg_yAfWlTTi2pZGNA\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and is a legacy Zoom joining guide for participants.",
            "title" => "Unpublish inactive Zoom participant flow",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"[Prod][Virtual Event] All sessions - Zoom (Participants)\" with experience ID \"-M1yg_yAfWlTTi2pZGNA\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"[Prod][Virtual Event] Manage registration (OC)\" with experience ID \"-M1_N8AVS8APbfe7XaKl\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and is a legacy registration guide for organizer or coordinator users.",
            "title" => "Unpublish inactive OC registration flow",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"[Prod][Virtual Event] Manage registration (OC)\" with experience ID \"-M1_N8AVS8APbfe7XaKl\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published pin named \"Zaheer test pin Interests profile page\" with experience ID \"c817c995-5bb8-4ba6-b72e-dc33e8cf19d2\". This pin has had 0 seen, 0 completed, and 0 dismissed users in the last 30 days and appears to be a UAT tooltip on an UpLink profile page.",
            "title" => "Unpublish inactive UAT interests pin",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the pin named \"Zaheer test pin Interests profile page\" with experience ID \"c817c995-5bb8-4ba6-b72e-dc33e8cf19d2\"."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published pin named \"test pin 1234\" with experience ID \"53b636e0-0cef-4709-9a71-f15d4969c0e0\". This pin has had 0 seen, 0 completed, and 0 dismissed users in the last 30 days and appears to be a UAT tooltip on an UpLink profile page.",
            "title" => "Unpublish inactive UAT role pin",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the pin named \"test pin 1234\" with experience ID \"53b636e0-0cef-4709-9a71-f15d4969c0e0\"."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Unpublishing obsolete experiences will reduce the risk of outdated guidance appearing to users, simplify content governance, and keep active Appcues reporting focused on live experiences that support current engagement.",
        "finding" => "Routine hygiene check: **15 published experiences** that were published more than **3 weeks ago** had **no seen events or enrollments in the last 30 days**.\n\nInactive experiences:\n- [[QA] My Forum - Home Page Introduction - desktop](https://studio.appcues.com/flows/00449d44-c4f2-4881-9915-ccc08c8a9e36/settings)\n  - Type: Flow\n  - Purpose: QA-only desktop homepage introduction on `/home` for a single QA user; no goals assigned.\n- [[Uplink UAT] Submission flow guide V2 10 Sept](https://studio.appcues.com/flows/54f7ecae-e255-4990-90b0-3dd8fb80dee1/settings)\n  - Type: Flow\n  - Purpose: UAT guidance for the UpLink contribution submission page; no goals assigned.\n- [[Prod] SEO](https://studio.appcues.com/flows/c0e35015-af07-4fde-a31c-0302c146ca2b/settings)\n  - Type: Flow\n  - Purpose: Admin help flow on `initiatives.weforum.org` explaining search engine optimization settings; no goals assigned.\n- [[Prod] Forum Spaces - Share feedback](https://studio.appcues.com/flows/02b79551-fa70-466e-ad48-9a8aef36f470/settings)\n  - Type: Flow\n  - Purpose: Feedback collection flow for Forum Spaces on `initiatives.weforum.org`; no goals assigned.\n- [[Prod] Manage navigation](https://studio.appcues.com/flows/3b7ceb0e-9a8e-424f-aa7a-326b0cd64055/settings)\n  - Type: Flow\n  - Purpose: Admin help flow explaining navigation setup for initiatives sites; no goals assigned.\n- [[Prod][Virtual Event] Manage registration (all participants)](https://studio.appcues.com/flows/-M1_MORm7WZ0mFiTSK5o/settings)\n  - Type: Flow\n  - Purpose: Legacy virtual-event registration guide for participants on TopLink registration pages.\n- [[Staging] Digital Forum (leave feedback)](https://studio.appcues.com/flows/3c6f5a11-d5eb-4ec9-883f-1b42e196f4e6/settings)\n  - Type: Flow\n  - Purpose: Staging feedback survey targeting staging Digital Forum domains; no goals assigned.\n- [[Prod][Virtual Event] Launch registration tours (all participants)](https://studio.appcues.com/flows/-M1_HGovQWd_wI9NEy0L/settings)\n  - Type: Flow\n  - Purpose: Legacy launcher inviting participants to start a registration tour on TopLink.\n- [[Prod][Virtual Event] All sessions (participants)](https://studio.appcues.com/flows/-M1ybvDvNDLsrXZKGmI3/settings)\n  - Type: Flow\n  - Purpose: Legacy programme tour showing participants how to browse sessions and build an agenda.\n- [[Prod][Virtual Event] All sessions (OC)](https://studio.appcues.com/flows/-M1ycD-cDcti2LUc7Xci/settings)\n  - Type: Flow\n  - Purpose: Legacy programme tour for organizer or coordinator users managing delegate sessions.\n- [[Prod][Virtual Event] All sessions - Zoom (OC)](https://studio.appcues.com/flows/-M1zFtS7bvxjST-VgBaZ/settings)\n  - Type: Flow\n  - Purpose: Legacy Zoom join guide for organizer or coordinator users on virtual event session pages.\n- [[Prod][Virtual Event] All sessions - Zoom (Participants)](https://studio.appcues.com/flows/-M1yg_yAfWlTTi2pZGNA/settings)\n  - Type: Flow\n  - Purpose: Legacy Zoom join guide for participants on virtual event session pages.\n- [[Prod][Virtual Event] Manage registration (OC)](https://studio.appcues.com/flows/-M1_N8AVS8APbfe7XaKl/settings)\n  - Type: Flow\n  - Purpose: Legacy registration guide for organizer or coordinator users on TopLink registration pages.\n- [Zaheer test pin Interests profile page](https://studio.appcues.com/pins/c817c995-5bb8-4ba6-b72e-dc33e8cf19d2/settings)\n  - Type: Pin\n  - Purpose: UAT profile-page tooltip explaining the Interests area on UpLink; no goals assigned.\n- [test pin 1234](https://studio.appcues.com/pins/53b636e0-0cef-4709-9a71-f15d4969c0e0/settings)\n  - Type: Pin\n  - Purpose: UAT profile-page tooltip explaining a role comment field on UpLink; no goals assigned.\n\nThese items are concentrated in **QA / staging / UAT guidance**, **initiatives admin help**, and **legacy virtual-event tours**.",
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "15 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "5236c85a-0522-4167-b9d9-4262b3ea1cb8",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

Attempt 5—11h 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—11h 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—11h 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—11h 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—11h 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