25115174 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 00:00.356
Run Time 00:00.008
Inserted 8h ago
Scheduled 8h ago
Completed
Cancelled
Discarded 8h ago

Args

%{
  "account_id" => "215230",
  "data" => %{
    "account_insight_agent_id" => "2894bcdb-d7ba-46cf-8881-10b47f1242a5",
    "insights" => [
      %{
        "action_plan" => "Review whether each experience still supports a live workflow.\n\n- If the page or use case is no longer active, unpublish it to reduce clutter and keep your live Appcues inventory clean.\n- If it should still be helping users, keep it published and review whether the underlying page, trigger, or journey is still relevant before making changes.\n- Use the links above to quickly confirm each experience's purpose and settings before deciding.",
        "actions" => [
          %{
            "cta" => "Run",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"[WIP] Onboarding V2 - RAPPORTER IN-DEPTH \" with experience ID e3e30c3f-4ac0-4af8-b917-0e42cdf9fb8d. This flow was published on 2025-01-27, targets the URL /TurnoverReport on kundeportal.convene.no, and has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only.",
            "title" => "Unpublish inactive reports walkthrough flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience named \"[WIP] Onboarding V2 - RAPPORTER IN-DEPTH \" with experience ID e3e30c3f-4ac0-4af8-b917-0e42cdf9fb8d so it becomes live again."
          },
          %{
            "cta" => "Run",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Onboarding V2 - FUG IN-DEPTH\" with experience ID 53ceda38-c916-4561-a64f-c4b4e6b7730c. This flow was published on 2025-01-27, targets the URL /InvoiceWithoutFee on kundeportal.convene.no, and has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only.",
            "title" => "Unpublish inactive invoice help flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience named \"Onboarding V2 - FUG IN-DEPTH\" with experience ID 53ceda38-c916-4561-a64f-c4b4e6b7730c so it becomes live again."
          },
          %{
            "cta" => "Run",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Onboarding V2 - RETURPOST IN-DEPTH\" with experience ID 9907ed36-1da0-4e9f-996c-e88d0decfba1. This flow was published on 2025-01-27, targets the URL /ReturnMail on kundeportal.convene.no, and has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only.",
            "title" => "Unpublish inactive return mail flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience named \"Onboarding V2 - RETURPOST IN-DEPTH\" with experience ID 9907ed36-1da0-4e9f-996c-e88d0decfba1 so it becomes live again."
          },
          %{
            "cta" => "Run",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Onboarding V2 - KONTANTRAPPORT\" with experience ID ae2c9166-6db2-412a-8f8a-70eb2fcd662e. This flow was published on 2025-01-27, targets the URL / on kundeportal.convene.no, and has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only.",
            "title" => "Unpublish inactive cash report flow",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience named \"Onboarding V2 - KONTANTRAPPORT\" with experience ID ae2c9166-6db2-412a-8f8a-70eb2fcd662e so it becomes live again."
          },
          %{
            "cta" => "Run",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web pin named \"Rapportgrupper\" with experience ID 8897ea7b-d5ac-495d-84e0-78bc76def852. This pin was published on 2024-12-02, targets the URL /Sys/ReportGroups, and has had 0 seen, 0 completed, 0 dismissed, and 0 errors in the last 30 days. Unpublish the live experience only.",
            "title" => "Unpublish inactive report groups pin",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience named \"Rapportgrupper\" with experience ID 8897ea7b-d5ac-495d-84e0-78bc76def852 so it becomes live again."
          },
          %{
            "cta" => "Run",
            "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web pin named \"Bestill kvitteringsruller\" with experience ID eb76640d-4b40-480e-b095-d5651f55bbf1. This pin was published on 2024-12-02, targets the URL /Sys/ReceiptRoll, and has had 0 seen, 0 completed, 0 dismissed, and 0 errors in the last 30 days. Unpublish the live experience only.",
            "title" => "Unpublish inactive receipt rolls pin",
            "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience named \"Bestill kvitteringsruller\" with experience ID eb76640d-4b40-480e-b095-d5651f55bbf1 so it becomes live again."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Unpublishing truly unused experiences keeps your production content set easier to manage, reduces maintenance overhead, and helps your team focus on experiences that are still contributing to activation and engagement.",
        "finding" => "Among published experiences that were **already live more than 3 weeks ago**, **6** had **no activity in the last 30 days**.\n\nThese are good candidates for routine cleanup if they are no longer needed:\n\n- [**[WIP] Onboarding V2 - RAPPORTER IN-DEPTH**](https://studio.appcues.com/flows/e3e30c3f-4ac0-4af8-b917-0e42cdf9fb8d/settings)\n  - Type: Flow\n  - Designed to guide users through report pages, including **Turnover Report**, with step-by-step onboarding tips.\n  - Targeting: users on **/TurnoverReport** on **kundeportal.convene.no**\n\n- [**Onboarding V2 - FUG IN-DEPTH**](https://studio.appcues.com/flows/53ceda38-c916-4561-a64f-c4b4e6b7730c/settings)\n  - Type: Flow\n  - Designed to explain **Faktura uten gebyr** and how to create no-fee invoice rules.\n  - Targeting: users on **/InvoiceWithoutFee** on **kundeportal.convene.no**\n\n- [**Onboarding V2 - RETURPOST IN-DEPTH**](https://studio.appcues.com/flows/9907ed36-1da0-4e9f-996c-e88d0decfba1/settings)\n  - Type: Flow\n  - Designed to explain the **Returpost** workflow and follow-up actions for returned invoices.\n  - Targeting: users on **/ReturnMail** on **kundeportal.convene.no**\n\n- [**Onboarding V2 - KONTANTRAPPORT**](https://studio.appcues.com/flows/ae2c9166-6db2-412a-8f8a-70eb2fcd662e/settings)\n  - Type: Flow\n  - Designed to guide users through **Kontantrapport** usage, including choosing periods and downloading reports.\n  - Targeting: users on **/** on **kundeportal.convene.no**\n\n- [**Rapportgrupper**](https://studio.appcues.com/pins/8897ea7b-d5ac-495d-84e0-78bc76def852/settings)\n  - Type: Pin\n  - Designed to provide inline help and a docs link for **rapportgrupper**.\n  - Targeting: users on **/Sys/ReportGroups**\n\n- [**Bestill kvitteringsruller**](https://studio.appcues.com/pins/eb76640d-4b40-480e-b095-d5651f55bbf1/settings)\n  - Type: Pin\n  - Designed to provide inline help and a docs link for **bestilling av kvitteringsruller**.\n  - Targeting: users on **/Sys/ReceiptRoll**\n\nThis looks like normal content hygiene rather than a delivery problem: these experiences had **no seen activity and no other engagement events** in the last 30 days.",
        "outcomes" => ["engagement", "activation"],
        "priority" => "medium",
        "title" => "6 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "b74f0ba1-b988-4547-b996-946a1ecaf655",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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