25370639 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.318
Run Time 00:00.007
Inserted 5h ago
Scheduled 5h ago
Completed
Cancelled
Discarded 5h ago

Args

%{
  "account_id" => "101856",
  "data" => %{
    "account_insight_agent_id" => "6a478e50-2ecd-4969-9a33-52684558f5d1",
    "insights" => [
      %{
        "action_plan" => "Review whether these experiences still support an active workflow or audience. If they were tied to past migrations, tests, or no-longer-relevant pages, unpublish them to keep your live experience inventory clean. If either should still be active, verify that its targeting still matches a real audience and current page path before keeping it live.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support agent to unpublish the published web flow with experience ID 132ab413-7077-4d89-8e6a-d6bb47c7e57c named \"V4 Migration Complete\". This experience was published on 2026-01-08 and has had 0 seen, 0 completed, and 0 skipped users in the last 30 days. Unpublish it so it no longer shows to end users.",
            "title" => "Unpublish inactive migration flow",
            "undo_prompt" => "Use the product support agent to publish the web flow with experience ID 132ab413-7077-4d89-8e6a-d6bb47c7e57c named \"V4 Migration Complete\" again, restoring it to a live published state."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support agent to unpublish the published pin with experience ID 5e779594-4294-41c3-89bd-0ef860414036 named \"Variables\". This experience was published on 2023-11-20 and has had 0 seen, 0 completed, and 0 dismissed users in the last 30 days. Unpublish it so it no longer shows to end users.",
            "title" => "Unpublish inactive variables pin",
            "undo_prompt" => "Use the product support agent to publish the pin with experience ID 5e779594-4294-41c3-89bd-0ef860414036 named \"Variables\" again, restoring it to a live published state."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up inactive published content reduces maintenance overhead, keeps reporting focused on current experiences, and lowers the risk of stale messaging resurfacing later.",
        "finding" => "As part of routine content hygiene, **2 published experiences** that were published more than 3 weeks ago have had **no activity in the last 30 days**.\n\n- [V4 Migration Complete](https://studio.appcues.com/flows/132ab413-7077-4d89-8e6a-d6bb47c7e57c/settings)\n  - Type: Flow\n  - Published: **2026-01-08**\n  - Last 30 days: **0 seen**, **0 completed**, **0 skipped**\n  - Designed to guide **Migrated Customers** on **app.fundeasy.com** to the new FundEasy V4 experience after migration, with a CTA sending users to the V4 login.\n\n- [Variables](https://studio.appcues.com/pins/5e779594-4294-41c3-89bd-0ef860414036/settings)\n  - Type: Pin\n  - Published: **2023-11-20**\n  - Last 30 days: **0 seen**, **0 completed**, **0 dismissed**\n  - Designed as a targeted pin on **app.fundeasy.com/events/24374/email/sent** for the **Only SuperAdmins** testing segment, likely for a one-off or test scenario.\n\nNeither experience has goals attached, which makes them strong candidates for a quick review and possible retirement.",
        "outcomes" => ["engagement"],
        "priority" => "medium",
        "title" => "2 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "40ed5f86-8a80-4396-8ada-381236cd4508",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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