24239429 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.161
Run Time 00:00.005
Inserted 8d ago
Scheduled 8d ago
Completed
Cancelled
Discarded 8d ago

Args

%{
  "account_id" => "22",
  "data" => %{
    "account_insight_agent_id" => "354726b7-60e9-4df2-a14b-bd0ace810844",
    "insights" => [
      %{
        "action_plan" => "Review whether each experience still supports a live process or active audience. If the campaign or support motion is no longer relevant, unpublish it to keep your published inventory clean. If either item is still intentional, keep it live but verify the targeting is still valid and that the page/audience still gets traffic.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support publishing tool to unpublish the published banner with experience ID 5e412b35-534f-4e6e-94e4-6ef280f94eab named \"M-Files Only - US -> EU Account Switch Info\". This banner is currently published and was previously flagged in the inactivity hygiene audit as having 0 seen users in the prior 30 days. Unpublish it so it no longer appears to end users.",
            "title" => "Unpublish inactive M-Files banner",
            "undo_prompt" => "Use the product support publishing tool to publish the banner with experience ID 5e412b35-534f-4e6e-94e4-6ef280f94eab named \"M-Files Only - US -> EU Account Switch Info\" so it becomes live again."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support publishing tool to unpublish the published pin with experience ID c98526bf-4a5b-4cef-969c-51fa63f97533 named \"[Adoption] Workflows 60 Day Trial Opt In - Katie\". This pin is currently published and was previously flagged in the inactivity hygiene audit as having 0 seen users in the prior 30 days. Unpublish it so it no longer appears to end users.",
            "title" => "Unpublish inactive Katie trial pin",
            "undo_prompt" => "Use the product support publishing tool to publish the pin with experience ID c98526bf-4a5b-4cef-969c-51fa63f97533 named \"[Adoption] Workflows 60 Day Trial Opt In - Katie\" so it becomes live again."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaner published inventory, less maintenance overhead, and fewer outdated experiences left running in production.",
        "finding" => "Using the most recent verified inactivity audit and rechecking publish status today, **2 experiences older than 3 weeks are still live despite having no activity in the last 30 days**.\n\n- [M-Files Only - US -> EU Account Switch Info](https://studio.appcues.com/banners/5e412b35-534f-4e6e-94e4-6ef280f94eab/settings)\n  - Type: **Banner**\n  - Designed to tell users in a specific account (**account_id 221004**) that they are in the old US-hosted Studio and should switch to the EU-hosted Studio.\n- [[Adoption] Workflows 60 Day Trial Opt In - Katie](https://studio.appcues.com/pins/c98526bf-4a5b-4cef-969c-51fa63f97533/settings)\n  - Type: **Pin**\n  - Designed to appear on workflow pages for a narrow audience and invite Katie Carney-owned accounts to schedule a call for a **60-day Workflows trial**.\n\nThis looks like normal content hygiene rather than a setup problem. Also worth noting: **3 experiences flagged in the previous audit are no longer published**, so some cleanup has already happened.",
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "2 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "e5758584-6797-4b66-842c-e98d1ed5d546",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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