25358332 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.333
Run Time 00:00.015
Inserted 3h ago
Scheduled 3h ago
Completed
Cancelled
Discarded 3h ago

Args

%{
  "account_id" => "109151",
  "data" => %{
    "account_insight_agent_id" => "f52a71ac-bc87-4f84-a83c-4f4347b67fcb",
    "insights" => [
      %{
        "action_plan" => "Review whether these announcement flows still support an active rollout or training need. If not, unpublish them to reduce clutter in your live experience inventory and keep only current, purposeful content active. If either still matters, consider refreshing its targeting or adding a goal so future performance is easier to evaluate.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"New Look - Espresso Cap. - Lender\" with experience ID cea1efc2-1fa4-4e2a-a2af-72670c5c6a97. This is a routine hygiene cleanup for an inactive published experience older than 3 weeks.",
            "title" => "Unpublish legacy lender announcement flow",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"New Look - Espresso Cap. - Lender\" with experience ID cea1efc2-1fa4-4e2a-a2af-72670c5c6a97."
          },
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"New Look - Espresso Cap. - Borrower\" with experience ID 5e4c8461-38dd-4e50-9614-7d0086a844d8. This is a routine hygiene cleanup for an inactive published experience older than 3 weeks.",
            "title" => "Unpublish legacy borrower announcement flow",
            "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"New Look - Espresso Cap. - Borrower\" with experience ID 5e4c8461-38dd-4e50-9614-7d0086a844d8."
          }
        ],
        "cta_text" => "Review inactive experiences",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaning up inactive announcement flows should make your published portfolio easier to manage and reduce the chance of outdated messaging resurfacing, supporting better engagement governance.",
        "finding" => "These older published experiences are good candidates for routine cleanup:\n\n- [New Look - Espresso Cap. - Lender](https://studio.appcues.com/flows/cea1efc2-1fa4-4e2a-a2af-72670c5c6a97/settings)\n  - Type: Flow\n  - Designed to announce a refreshed lender experience with messaging like **\"Fresh new look, same functionality\"** and a tooltip showing where sign-out, privacy policy, and terms now live.\n  - Targeting: shows once on **/lender** for **staging.espressocapital.flowpoint.cloud**, **dev.espressocapital.flowpoint.cloud**, and **insights.espressocapital.com**.\n  - Goals: none configured.\n\n- [New Look - Espresso Cap. - Borrower](https://studio.appcues.com/flows/5e4c8461-38dd-4e50-9614-7d0086a844d8/settings)\n  - Type: Flow\n  - Designed to announce a refreshed borrower experience with the same **\"Fresh new look, same functionality\"** message and a tooltip pointing users to the new sign-out location.\n  - Targeting: shows once on **/borrower** for **staging.espressocapital.flowpoint.cloud**, **dev.espressocapital.flowpoint.cloud**, and **insights.espressocapital.com**.\n  - Goals: none configured.\n\nBoth were published on **2024-03-22**, so they meet the age filter and have been live long enough to review as part of normal experience hygiene.",
        "outcomes" => ["engagement", "retention"],
        "priority" => "medium",
        "title" => "2 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "afd99555-cdfe-4cfb-8ea3-13e5dba05744",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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