25353469 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 15:10.012
Run Time 00:42.298
Inserted 17h ago
Scheduled 17h ago
Completed 17h ago (00:43)
Cancelled
Discarded

Args

%{
  "account_id" => "119061",
  "account_insight_agent_id" => "bf8e7b62-814b-41ec-936f-f6833916b841"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "NL+OLGba7Miteo/+HBd01l5YdX9q7wtUos5bfZEahLQ",
  "recorded" => true,
  "return" => "g1AAAApPeJytVs1uEzEQLvQHSFXgEeaCSqU2AVVCtNBWqAIVCXFAggtCK8c7ybrdtRd73HRvvAIST8SVt+BJGHuTTVulahJyydqznu+bb7wzE1paWro7WNWG0BW8/nNsURCm8BxKa0q0VEFW9RVqBKWd6mcEPWPhBTgSOcK5cqrLT+kdmQK8QztyVOjA5CkbKBMadp9BKioXNgTCIjAnWOyhRS2ZsFuB0BXgBfuqYOJtCgMcnhQ5B5ZWIM05m+JxvFCOlO7ze72TKlco5/jNMEzXHmyMlkkqOFqWd4f4Zz0IXReSlNFJmQsd9r/fCpmNNYsu80AmHAj47pU826nPQ9cT8YMMZCrlnHA6LAunDMFhv0BNfEQF2W04UWkIT7k6QnRkPaMw8N8fv8ZcIbhwyCIJpVlBEB4AmxOS89dFKEQ6zrjo82EIueSskSqwHWTcq8N0QexaELsSrMuSRHx+8lHsGiMXJYXlweeS+fHKzVWwKaQ0XtP7dDNG45DAZWaQKJ14FdT3RO5qylVSlGNYPTwJKWlcY5q9Tk0ypns9Jx1nDtvT6DmaTCD5PSfqoyhwFkWPo6JLzpM0Hc5NObWqG25J1sX6hma/pcZ1hlu6lW5qPXuTCbAQKp9FSytqiW6TdLycg+Z/76SnrKNZv7P6ThrXGe7kVrqp9dxAwP2x70V/JjkbUc7Ic5KaV/ORRTGnAeA+C0kIL2iwrOvLf8C9V1GVqLQxrQ9NVJXYGB+FESP5O04UF6iM4ewe5yg0h3Kth8NAUQZG5zwR6s49Hm6x3faUDj2e13d/vuMWljaT8foobObesIFv12PNk9khK+QZpttRdLB6N2kgtlutD8JxShA1HMLecKCKvtlvtZoOCjvw9YvCwbenGVHp9jsdRz5Vpi3KUnp0be5LHc5smJyuMw6wEwI+ciiszA4atK1W61IfWwj2JbyAPuopi8EeoTFyrPKFoEYkRmxqbSGoDRojj777hQCPwLZinRhP7ISurprSKmO5JMJmJeM/R1cL98kt33D9ryc6h5qKNWbK0ljymlFP/wH7onZp",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "An2HSEkP+/qaw9BLJVMt9vxAGouEh3y1N0gmgjqSOaI",
  "workflow" => true,
  "workflow_id" => "019ddea7-5798-784c-95b5-89d8c60b30fc"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 6 stale visible custom user properties older than 30 days that are not referenced by any experience and were not already covered by existing non-dismissed insights.",
  insights_data: [
    %{
      "action_plan" => "Each property above has a quick-action button to hide it from the segment builder. Hiding is non-destructive — property data is retained and the property can be made visible again at any time.",
      "actions" => [
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'accountId' and set show_in_ui to false.",
          "title" => "Hide accountId",
          "undo_prompt" => "Update user property 'accountId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'companyName' and set show_in_ui to false.",
          "title" => "Hide companyName",
          "undo_prompt" => "Update user property 'companyName' 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 'email' and set show_in_ui to false.",
          "title" => "Hide email",
          "undo_prompt" => "Update user property 'email' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'firstName' and set show_in_ui to false.",
          "title" => "Hide firstName",
          "undo_prompt" => "Update user property 'firstName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'language' and set show_in_ui to false.",
          "title" => "Hide language",
          "undo_prompt" => "Update user property 'language' 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 6 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\naccountId - [View](https://studio.appcues.com/settings/properties/user?search=accountId)\n\ncompanyName - [View](https://studio.appcues.com/settings/properties/user?search=companyName)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/user?search=createdAt)\n\nemail - [View](https://studio.appcues.com/settings/properties/user?search=email)\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)\n\nlanguage - [View](https://studio.appcues.com/settings/properties/user?search=language)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 6 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors