25370688 CustomerApi.Jobs.PublishNotificationJob
Queue notifications
Attempt 5 of 5
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 00:00.275
Run Time 00:00.006
Inserted 12h ago
Scheduled 12h ago
Completed
Cancelled
Discarded 12h ago

Args

%{
  "account_id" => "50673",
  "data" => %{
    "account_insight_agent_id" => "cf121ad6-a944-4045-9556-e2acedd4634a",
    "insights" => [
      %{
        "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 15 properties (edit > scheduling: Clicked: easy scheduling > upload from url, edit: Clicked: easy webinar setup > upload from computer, edit: Clicked: easy webinar setup > upload from url, is_primary_contact, Reached 12 webinar registrations, Reached 4 webinar CTA clicks, Reached 6 webinar registrations, Reached 8 webinar attendees, Screen: plugins > authorize > aweber, Screen: plugins > authorize > mailchimp, stripe > charge succeeded, stripe > customer source created, user-account: Clicked: easy webinar setup > upload from computer, Webinar video > upload > video selected, Webinar video > upload by URL > video selected) 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 'Changed 10 registration fields' and set show_in_ui to false.",
            "title" => "Hide Changed 10 registration fields",
            "undo_prompt" => "Update user property 'Changed 10 registration fields' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'Changed 4 registration fields' and set show_in_ui to false.",
            "title" => "Hide Changed 4 registration fields",
            "undo_prompt" => "Update user property 'Changed 4 registration fields' 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 'create: Clicked: easy webinar setup > upload from computer' and set show_in_ui to false.",
            "title" => "Hide create: Clicked: easy webinar setup > upload from computer",
            "undo_prompt" => "Update user property 'create: Clicked: easy webinar setup > upload from computer' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'create: Clicked: easy webinar setup > upload from url' and set show_in_ui to false.",
            "title" => "Hide create: Clicked: easy webinar setup > upload from url",
            "undo_prompt" => "Update user property 'create: Clicked: easy webinar setup > upload from url' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'created_at' and set show_in_ui to false.",
            "title" => "Hide created_at",
            "undo_prompt" => "Update user property 'created_at' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'created second webinar' and set show_in_ui to false.",
            "title" => "Hide created second webinar",
            "undo_prompt" => "Update user property 'created second webinar' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'Dashboard: Clicked: easy webinar setup > upload from computer' and set show_in_ui to false.",
            "title" => "Hide Dashboard: Clicked: easy webinar setup > upload from computer",
            "undo_prompt" => "Update user property 'Dashboard: Clicked: easy webinar setup > upload from computer' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'Dashboard: Clicked: easy webinar setup > upload from url' and set show_in_ui to false.",
            "title" => "Hide Dashboard: Clicked: easy webinar setup > upload from url",
            "undo_prompt" => "Update user property 'Dashboard: Clicked: easy webinar setup > upload from url' and set show_in_ui to true."
          },
          %{
            "cta" => "Run",
            "prompt" => "Update user property 'edit > scheduling: Clicked: easy scheduling > upload from computer' and set show_in_ui to false.",
            "title" => "Hide edit > scheduling: Clicked: easy scheduling > upload from computer",
            "undo_prompt" => "Update user property 'edit > scheduling: Clicked: easy scheduling > upload from computer' 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 25 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nChanged 10 registration fields - [View](https://studio.appcues.com/settings/properties/user?search=Changed%2010%20registration%20fields)\n\nChanged 4 registration fields - [View](https://studio.appcues.com/settings/properties/user?search=Changed%204%20registration%20fields)\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\ncreate: Clicked: easy webinar setup > upload from computer - [View](https://studio.appcues.com/settings/properties/user?search=create%3A%20Clicked%3A%20easy%20webinar%20setup%20%3E%20upload%20from%20computer)\n\ncreate: Clicked: easy webinar setup > upload from url - [View](https://studio.appcues.com/settings/properties/user?search=create%3A%20Clicked%3A%20easy%20webinar%20setup%20%3E%20upload%20from%20url)\n\ncreated second webinar - [View](https://studio.appcues.com/settings/properties/user?search=created%20second%20webinar)\n\ncreated_at - [View](https://studio.appcues.com/settings/properties/user?search=created_at)\n\nDashboard: Clicked: easy webinar setup > upload from computer - [View](https://studio.appcues.com/settings/properties/user?search=Dashboard%3A%20Clicked%3A%20easy%20webinar%20setup%20%3E%20upload%20from%20computer)\n\nDashboard: Clicked: easy webinar setup > upload from url - [View](https://studio.appcues.com/settings/properties/user?search=Dashboard%3A%20Clicked%3A%20easy%20webinar%20setup%20%3E%20upload%20from%20url)\n\nedit > scheduling: Clicked: easy scheduling > upload from computer - [View](https://studio.appcues.com/settings/properties/user?search=edit%20%3E%20scheduling%3A%20Clicked%3A%20easy%20scheduling%20%3E%20upload%20from%20computer)\n\nedit > scheduling: Clicked: easy scheduling > upload from url - [View](https://studio.appcues.com/settings/properties/user?search=edit%20%3E%20scheduling%3A%20Clicked%3A%20easy%20scheduling%20%3E%20upload%20from%20url)\n\nedit: Clicked: easy webinar setup > upload from computer - [View](https://studio.appcues.com/settings/properties/user?search=edit%3A%20Clicked%3A%20easy%20webinar%20setup%20%3E%20upload%20from%20computer)\n\nedit: Clicked: easy webinar setup > upload from url - [View](https://studio.appcues.com/settings/properties/user?search=edit%3A%20Clicked%3A%20easy%20webinar%20setup%20%3E%20upload%20from%20url)\n\nis_primary_contact - [View](https://studio.appcues.com/settings/properties/user?search=is_primary_contact)\n\nReached 12 webinar registrations - [View](https://studio.appcues.com/settings/properties/user?search=Reached%2012%20webinar%20registrations)\n\nReached 4 webinar CTA clicks - [View](https://studio.appcues.com/settings/properties/user?search=Reached%204%20webinar%20CTA%20clicks)\n\nReached 6 webinar registrations - [View](https://studio.appcues.com/settings/properties/user?search=Reached%206%20webinar%20registrations)\n\nReached 8 webinar attendees - [View](https://studio.appcues.com/settings/properties/user?search=Reached%208%20webinar%20attendees)\n\nScreen: plugins > authorize > aweber - [View](https://studio.appcues.com/settings/properties/user?search=Screen%3A%20plugins%20%3E%20authorize%20%3E%20aweber)\n\nScreen: plugins > authorize > mailchimp - [View](https://studio.appcues.com/settings/properties/user?search=Screen%3A%20plugins%20%3E%20authorize%20%3E%20mailchimp)\n\nstripe > charge succeeded - [View](https://studio.appcues.com/settings/properties/user?search=stripe%20%3E%20charge%20succeeded)\n\nstripe > customer source created - [View](https://studio.appcues.com/settings/properties/user?search=stripe%20%3E%20customer%20source%20created)\n\nuser-account: Clicked: easy webinar setup > upload from computer - [View](https://studio.appcues.com/settings/properties/user?search=user-account%3A%20Clicked%3A%20easy%20webinar%20setup%20%3E%20upload%20from%20computer)\n\nWebinar video > upload > video selected - [View](https://studio.appcues.com/settings/properties/user?search=Webinar%20video%20%3E%20upload%20%3E%20video%20selected)\n\nWebinar video > upload by URL > video selected - [View](" <> ...,
        "outcomes" => [],
        "priority" => "high",
        "title" => "Found 25 stale user properties to hide",
        "type" => "opportunity"
      }
    ]
  },
  "notification_id" => "fd4eceb6-cf51-4cdd-b55d-5b6e5bac231f",
  "workflow_key" => "insight-opportunity-added"
}

Meta

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

Errors

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