25361925 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.267
Run Time 00:00.008
Inserted 19h ago
Scheduled 19h ago
Completed
Cancelled
Discarded 19h ago

Args

%{
  "account_id" => "67757",
  "data" => %{
    "account_insight_agent_id" => "831de33a-0dca-4624-84e0-f3071fe9f12f",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 10 properties (accountName, accountTimestamp, accountType, amsFeatures, isMigrated, language, paymentType, role, userRole, userTimestamp) can be hidden through Captain AI — ask it to hide them by name — or updated manually in the segment builder UI. Hiding is non-destructive — property data is retained and any property can be made visible again at any time.",
        "actions" => [
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_",
            "undo_prompt" => "Update user property '_appcuesForm_' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_can-you-please-explain-why-you-feel-that-way' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_can-you-please-explain-why-you-feel-that-way",
            "undo_prompt" => "Update user property '_appcuesForm_can-you-please-explain-why-you-feel-that-way' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_chatlayer' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_chatlayer",
            "undo_prompt" => "Update user property '_appcuesForm_chatlayer' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_how-satisfied-are-you-with-the-new-test-emulator' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_how-satisfied-are-you-with-the-new-test-emulator",
            "undo_prompt" => "Update user property '_appcuesForm_how-satisfied-are-you-with-the-new-test-emulator' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_no-geral-quo-satisfeito-voc-est-com-a-experincia-de-criar-um-bot-no-chatlayer' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_no-geral-quo-satisfeito-voc-est-com-a-experincia-de-criar-um-bot-no-chatlayer",
            "undo_prompt" => "Update user property '_appcuesForm_no-geral-quo-satisfeito-voc-est-com-a-experincia-de-criar-um-bot-no-chatlayer' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_overall-how-satisfied-are-you-with-the-experience-of-building-a-bot-on-chatlayer' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_overall-how-satisfied-are-you-with-the-experience-of-building-a-bot-on-chatlayer",
            "undo_prompt" => "Update user property '_appcuesForm_overall-how-satisfied-are-you-with-the-experience-of-building-a-bot-on-chatlayer' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_voc-pode-explicar-por-que-se-sente-assim' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_voc-pode-explicar-por-que-se-sente-assim",
            "undo_prompt" => "Update user property '_appcuesForm_voc-pode-explicar-por-que-se-sente-assim' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_appcuesForm_what-is-the-reason-for-your-rating' and set show_in_ui to false.",
            "title" => "Hide _appcuesForm_what-is-the-reason-for-your-rating",
            "undo_prompt" => "Update user property '_appcuesForm_what-is-the-reason-for-your-rating' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property '_myAppcuesId' and set show_in_ui to false.",
            "title" => "Hide _myAppcuesId",
            "undo_prompt" => "Update user property '_myAppcuesId' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'accountCountryCode' and set show_in_ui to false.",
            "title" => "Hide accountCountryCode",
            "undo_prompt" => "Update user property 'accountCountryCode' and set show_in_ui to true."
          }
        ],
        "cta_text" => nil,
        "entity_id" => nil,
        "entity_type" => nil,
        "expected_impact" => "Cleaner segment builder with only active properties",
        "finding" => "Found 20 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_ - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_)\n\n_appcuesForm_can-you-please-explain-why-you-feel-that-way - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_can-you-please-explain-why-you-feel-that-way)\n\n_appcuesForm_chatlayer - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_chatlayer)\n\n_appcuesForm_how-satisfied-are-you-with-the-new-test-emulator - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-satisfied-are-you-with-the-new-test-emulator)\n\n_appcuesForm_no-geral-quo-satisfeito-voc-est-com-a-experincia-de-criar-um-bot-no-chatlayer - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_no-geral-quo-satisfeito-voc-est-com-a-experincia-de-criar-um-bot-no-chatlayer)\n\n_appcuesForm_overall-how-satisfied-are-you-with-the-experience-of-building-a-bot-on-chatlayer - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_overall-how-satisfied-are-you-with-the-experience-of-building-a-bot-on-chatlayer)\n\n_appcuesForm_voc-pode-explicar-por-que-se-sente-assim - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_voc-pode-explicar-por-que-se-sente-assim)\n\n_appcuesForm_what-is-the-reason-for-your-rating - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_what-is-the-reason-for-your-rating)\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\naccountCountryCode - [View](https://studio.appcues.com/settings/properties/user?search=accountCountryCode)\n\naccountName - [View](https://studio.appcues.com/settings/properties/user?search=accountName)\n\naccountTimestamp - [View](https://studio.appcues.com/settings/properties/user?search=accountTimestamp)\n\naccountType - [View](https://studio.appcues.com/settings/properties/user?search=accountType)\n\namsFeatures - [View](https://studio.appcues.com/settings/properties/user?search=amsFeatures)\n\nisMigrated - [View](https://studio.appcues.com/settings/properties/user?search=isMigrated)\n\nlanguage - [View](https://studio.appcues.com/settings/properties/user?search=language)\n\npaymentType - [View](https://studio.appcues.com/settings/properties/user?search=paymentType)\n\nrole - [View](https://studio.appcues.com/settings/properties/user?search=role)\n\nuserRole - [View](https://studio.appcues.com/settings/properties/user?search=userRole)\n\nuserTimestamp - [View](https://studio.appcues.com/settings/properties/user?search=userTimestamp)",
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 20 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "09fa17d5-69a1-480c-bc1d-c1844dafa6a1",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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

Errors

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