25353165 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 24:12.429
Run Time 01:46.197
Inserted 6h ago
Scheduled 6h ago
Completed 6h ago (01:47)
Cancelled
Discarded

Args

%{
  "account_id" => "93381",
  "account_insight_agent_id" => "ff29140d-2b18-4059-95fb-e1a4cd7ba5cb"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "Yxrz5MjxK5HR5wF1xMW/IxAYQacQEhzgshpjTG6vLCE",
  "recorded" => true,
  "return" => "g1AAABg2eJy9mM1u20YQx9189ENGm/baXvbUJIAlx47qxEET1zUQ2EDQQ5Dk0gbEanckbkwuWe7QCm99iD5GH6FP0yfpzJIUJVd2JHXbi7T82N/Mf3a4HA5ubW3dmN62GYJLafznSQESQYs9kRdZDgVWIq4mBiwIY52ZxCjGWSH2D4RDmYC4MM6M6N9mti9LzETpoGjnGnBiajCmq0IDgmIyvKdLBFQgChhDwSMnpNV8VypRxcZOPE8blxrnaA5D+zOHWkdkQs7qSmRWjE0Cg+nnzRUXaUnekZ6PkH62Wdm2VGgyG+WJtHR845tXMdC0wqHYezDvcCwvQPxaGnXer6eIUYmYWSdIXWw0CIwhJSe0uTC6lElSDQTDCkilsez83sE88J4qQINFIxO3I/im5I1MjOY479QuRFamsCOMO9apsTyIZDdKkmgBkUiHP/kJPIpUZi3U4pjZnE2yCc/345qemDGoSiXzQ1rECR07JRX9YmFy+LFU54DtUTRqDqcwcgbhvlCSIgIcCfKIYlFk5SQWJzJHUi+Oz8Rfv/0upDsXBhcjNqoEO+KvUwqVuY8ALbn1QaSI8n3CwSQlqRR1k2jKpddnA3FqNMfVuDovyO2iJMUXNWyWGLzqfFMB7AuxOaukrbo7GudTqbvUlRN2XKK/E00KA86XT+rFd5xFPc6iW3z2pkLp/1+WnEVbHxM5zZGHb197QQsPQCXuRjLPVQnueVakkYOEVooy2aSyqPo+F/oqoacB3V3vrQMULs6mkbFRaTiAY1rz2qXbaDABHg1OOaoro33+l1ZnUefuL/+Ru7QyMFglXvYKB7r9IZptANHwOz0eHajHfT3cf9wfHo4O+yPYG/aV1PLRUD96KPeH6wTwqA7gxraWRTT9vwStHOJnyz0a0eNxrGjXXSvn7viQdXOXheDppgZXlnS03IKi6/T4vswSWEfTl17T3ORloq6I4gomA6l6VeWbq+LJ66u6zuTKqn641kSEa8r6al6Wn71M1/WhvNZooOXiCmPj5WrKkzWX6zqTK6s6u8qE9W/TgkpDbdC9MKnBdfR93ehbglmm9DSAGytrvmLDUnUVfLyWzi9qne3UZdq+39Dcv93xGwORXEvQnXlBNHeNHf/DBr2kd4z4lORECO9xetOahM98xqUuVpHRs1PbzSl+fmcn7/CrlT8qIkOPgfIOPTxJQFKa/KOO9B8imaVCU9alY1ei+3pvzBW9ndC498fzjGR2HzmXv2kw5mqxmJWQO1SW0gn6/OljIaleprq+/qBBnqu59OXisqsEBr3eC6rMyUmqoZ+JwwdUu1b0FTTJnvR6K9dgoi9+fmNg+vZejJi7J7u7DkttskEDGND2sEuhR9LldjsBuyzoyIEsVPx0ZWv3ybONa5kwrm5snnzvipAgvnQ4Ys/VAkHgc7yOzu/kkHTmdXT/ZIXEe2DH51dUSDzzPH3JayGQnSVktthu1mGstLSOTJtmSDThanbbQAgFb3lEX2xqBDGwiCQbXaMkCL/DEbtpvAQBNyxPrbs4gbA1rOEu9oSCWVjEkq221xTEQgtruJc7V8FsXAa39nxPLJwVj2vZwRJzRmNy26cLQ25p82TfAQyL90iywV3FIGQGMW+uPxmGOwec8ZuOZ0ADDZEsNE3UIOy2IetL6KxEmgOuLqipfMsKqpb54FZsJvFiXf/th8rbumvrZ88+s7M8zwosLWHf/Q2K1HKY",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "HrYB78TL+9C9aSAxOrOQXb1YyPJuKWGel0vxPLx6D9k",
  "workflow" => true,
  "workflow_id" => "019ddea7-5788-7d7a-b99e-5136fb7c2479"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 16 properties (credentials, emailValidated, first_name, isAdmin, is_admin, is_all_credentials, lastName, last_connection_date, last_login, last_name, lifecycle, lifecyclestage, scac, stripeBucket, stripe_bucket, website) 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_select-primary-email-clients' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_select-primary-email-clients",
          "undo_prompt" => "Update user property '_appcuesForm_select-primary-email-clients' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_experience_dismissed_45dfb6c8-d428-49b9-be14-cada74d73a24' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_45dfb6c8-d428-49b9-be14-cada74d73a24",
          "undo_prompt" => "Update user property '_experience_dismissed_45dfb6c8-d428-49b9-be14-cada74d73a24' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'betaAccess' and set show_in_ui to false.",
          "title" => "Hide betaAccess",
          "undo_prompt" => "Update user property 'betaAccess' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'companyRole' and set show_in_ui to false.",
          "title" => "Hide companyRole",
          "undo_prompt" => "Update user property 'companyRole' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'companyType' and set show_in_ui to false.",
          "title" => "Hide companyType",
          "undo_prompt" => "Update user property 'companyType' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'company_type' and set show_in_ui to false.",
          "title" => "Hide company_type",
          "undo_prompt" => "Update user property 'company_type' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'companyplan' and set show_in_ui to false.",
          "title" => "Hide companyplan",
          "undo_prompt" => "Update user property 'companyplan' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'containerCreditsLimit' and set show_in_ui to false.",
          "title" => "Hide containerCreditsLimit",
          "undo_prompt" => "Update user property 'containerCreditsLimit' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'createdAt' and set show_in_ui to false.",
          "title" => "Hide createdAt",
          "undo_prompt" => "Update user property 'createdAt' 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_text" => nil,
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Cleaner segment builder with only active properties",
      "finding" => "Found 26 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_select-primary-email-clients - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_select-primary-email-clients)\n\n_experience_dismissed_45dfb6c8-d428-49b9-be14-cada74d73a24 - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_45dfb6c8-d428-49b9-be14-cada74d73a24)\n\nbetaAccess - [View](https://studio.appcues.com/settings/properties/user?search=betaAccess)\n\ncompanyRole - [View](https://studio.appcues.com/settings/properties/user?search=companyRole)\n\ncompanyType - [View](https://studio.appcues.com/settings/properties/user?search=companyType)\n\ncompany_type - [View](https://studio.appcues.com/settings/properties/user?search=company_type)\n\ncompanyplan - [View](https://studio.appcues.com/settings/properties/user?search=companyplan)\n\ncontainerCreditsLimit - [View](https://studio.appcues.com/settings/properties/user?search=containerCreditsLimit)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/user?search=createdAt)\n\ncreated_at - [View](https://studio.appcues.com/settings/properties/user?search=created_at)\n\ncredentials - [View](https://studio.appcues.com/settings/properties/user?search=credentials)\n\nemailValidated - [View](https://studio.appcues.com/settings/properties/user?search=emailValidated)\n\nfirst_name - [View](https://studio.appcues.com/settings/properties/user?search=first_name)\n\nisAdmin - [View](https://studio.appcues.com/settings/properties/user?search=isAdmin)\n\nis_admin - [View](https://studio.appcues.com/settings/properties/user?search=is_admin)\n\nis_all_credentials - [View](https://studio.appcues.com/settings/properties/user?search=is_all_credentials)\n\nlastName - [View](https://studio.appcues.com/settings/properties/user?search=lastName)\n\nlast_connection_date - [View](https://studio.appcues.com/settings/properties/user?search=last_connection_date)\n\nlast_login - [View](https://studio.appcues.com/settings/properties/user?search=last_login)\n\nlast_name - [View](https://studio.appcues.com/settings/properties/user?search=last_name)\n\nlifecycle - [View](https://studio.appcues.com/settings/properties/user?search=lifecycle)\n\nlifecyclestage - [View](https://studio.appcues.com/settings/properties/user?search=lifecyclestage)\n\nscac - [View](https://studio.appcues.com/settings/properties/user?search=scac)\n\nstripeBucket - [View](https://studio.appcues.com/settings/properties/user?search=stripeBucket)\n\nstripe_bucket - [View](https://studio.appcues.com/settings/properties/user?search=stripe_bucket)\n\nwebsite - [View](https://studio.appcues.com/settings/properties/user?search=website)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 26 stale user properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property hygiene insight for 26 stale visible non-auto user properties with no detected experience references and no matching non-dismissed user-property insight already on file."
}

Errors

No Errors