25115223 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:00.203
Run Time 00:00.008
Inserted 10h ago
Scheduled 10h ago
Completed
Cancelled
Discarded 10h ago

Args

%{
  "account_id" => "80015",
  "data" => %{
    "account_insight_agent_id" => "783246b4-b906-4e5d-998e-d9a189634990",
    "insights" => [
      %{
        "action_plan" => "Review the linked flow settings to confirm whether this campaign-creation walkthrough still supports a live workflow. If the page, audience, or process is no longer current, unpublish it to keep your published inventory clean. If it should still be in use, review its targeting and the underlying page experience before keeping it live.",
        "actions" => [
          %{
            "cta" => "Unpublish",
            "prompt" => "Use the product support publishing tools to unpublish the published web flow named \"Building ThruTalk Campaigns\" with experience ID 38c0ecf3-7622-450c-a41c-8e1867366ace. This is a routine hygiene cleanup for a published experience that has had no verified activity in the last 30-day review window and is older than 3 weeks. Unpublish the live experience only; do not delete it.",
            "title" => "Unpublish inactive campaign-building flow",
            "undo_prompt" => "Use the product support publishing tools to publish the web flow named \"Building ThruTalk Campaigns\" with experience ID 38c0ecf3-7622-450c-a41c-8e1867366ace so it is live again."
          }
        ],
        "cta_text" => "Review inactive content",
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Unpublishing inactive content can reduce clutter in your live experience inventory and help your team focus maintenance on experiences that still drive activation and adoption.",
        "finding" => "As part of routine content hygiene, I found **1 published experience** older than 3 weeks with **no verified activity in the most recent 30-day review**.\n\n- [Building ThruTalk Campaigns](https://studio.appcues.com/flows/38c0ecf3-7622-450c-a41c-8e1867366ace/settings)\n  - Type: **Flow**\n  - Designed to do: guide users through creating their first ThruTalk calling campaign, including naming the campaign, setting dates and calling windows, choosing area codes, selecting scripts and targeting, adding callers, and reviewing before launch.\n  - Targeting: shown on **/talk/admin/campaigns** on ***.getthru.app** and **getthru-qa.app** for users whose **accountRole** is **account_owner** or **admin**.\n  - Goals: **No goals attached**\n  - Frequency: **Never**\n\nThis appears to be an old onboarding aid that may no longer be needed, or may need retargeting if the workflow has changed.",
        "outcomes" => ["activation", "adoption"],
        "priority" => "medium",
        "title" => "1 published experiences have had no activity for more than 30 days.",
        "type" => "issue"
      }
    ]
  },
  "notification_id" => "d942978c-0900-4b0a-895d-c830f1ee6fd1",
  "workflow_key" => "insight-issue-added"
}

Meta

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

Errors

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