25367502 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 11:43.152
Run Time 01:48.443
Inserted 2h ago
Scheduled 2h ago
Completed 1h ago (01:49)
Cancelled
Discarded

Args

%{
  "account_id" => "110822",
  "account_insight_agent_id" => "9f62ecbf-abb1-4f47-b3ee-2e21958b3525"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "yeednTpmbyczB6wGpKJfpGb3L9QLv/dTTOL0GqoDRlc",
  "recorded" => true,
  "return" => "g1AAABAaeJytV01vHEUQdYhDyFoIiTOHOuVDsnfjOCTEEoHIEkqAE8I5gNCqPV2eqXime+iPXe8tP4JfyN/gQlX3rheT3WUHz2G/ertevdfd87oq7OzsfDT9lIynsgp+rFVQNY/dCvy218ibKgJZM25rZfj3rV9+rhDOyfkAh4+hdbZFFwg9VGqC8Huk4uIgh8BZDMEaD8FCRRohVNgAGU0T0lHV9WwIAuawUWTIlPDkn3gPna1xH6YozB5BoRgQBUijYShnY1nBiWoDB8OrN/Dn+z9A+QugcD3h2QyMajD9bx3EljWihkaZxIEJyTzwWDZoApOmWqOD0zdDeE1aaJEHY82BRh9cZGmTDDbnOgNZNJnkULgwtjLymi1nzMk3iklNyNNZjaBKIa5CmhmowaEs9928dl42YSCbsCujt4ug0udPUTZh52NGbtogX1+cJkEQPZO+SvhA6YbMg8TEYwBf2emYzDiSLM65qn1OdydQqFG+DV7LiqWwtO3RaDtepvnqf6Th1cLhNhqerwEvsYuCT7KCElfxf9Y5xdbs1+yAnOq6+w6ksA47sDHN1hqOV4OXaPhZ6CJiL4nIcatUrFmszYluKqNKHtJdRo7rIGNzoq1lrDmspLtIuJskkF5F/8uuCbam/sNqZGMDnVOhxNtOjUOlT2w0nbbki6RnDdAqkd/3QuWmNtBW1nSysWwDKayDDWxMs7WGVxvA36LjdcNOZ/DzpZZF+CpN394g7dba1i0c1zVdJN3LknI19IGSNTfZpiRJwLt0gTH5ccDLML1t8h1wjysSCrMx6auhvflQmLV4NfgZXrZYcFkzpqblCkLGjk5qVIZp/LuymVKowBoufVQuZpZFV/KNcynRTMnfd99/x4+GhsMn4LkuvC5LarRQSf3iroqafXk+QcVgD4JTxQXq/aRaRjlWSzEm5Y7QdYSmwOFg8KPiWtIjV3Uv4cVjrqZmnm9xezwYpOoCDuDXt4TT3x5WIbT+eDTyIWqyQ9W2RUQ/LGwz4mUNzNmPluRGQvYbj8oV1dcJ6REjltgPXomMlu7eXvASEiPme7AXyAzFmPlS6gUzQzEm6V7wSDPWGkPuJcEabM6azKWXHAlpgbiwq/6QF4iSgW2kH2AGYjzpsHrBEyDGm/Z30uZtX7JFGwOHoM8m2Tqyjh1QfuxWPOu6P9//L8vKvWGKFg9Nnmrb1roQDcO+m97hQ5Ot8K8TPjHSLB4uvbyalWxcXFjllnkIOd/TZ/N8i/auiD7Y5oP0Nlkw+6aBo+x1+1BYww11g+KTjDxFJ03xOX+wQSbPXPqlZ0TpSfGSzRvOVCgqnuKiZKywuGA47mYN/1/UUfNfR09B1XLwuQu1E8acmzDPIC9bkHtb8g15ceiFrr8Bk+ZspA",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "Am7SnO1n6O/Mkq+I1e9yzd/SPYCL7Tp2MbwCjULWGWg",
  "workflow" => true,
  "workflow_id" => "019ddebe-3a18-7dd0-9b00-d712ba7168d9"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 2 properties (role, weight) 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 'admin' and set show_in_ui to false.",
          "title" => "Hide admin",
          "undo_prompt" => "Update user property 'admin' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'age' and set show_in_ui to false.",
          "title" => "Hide age",
          "undo_prompt" => "Update user property 'age' 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 'gender' and set show_in_ui to false.",
          "title" => "Hide gender",
          "undo_prompt" => "Update user property 'gender' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'height' and set show_in_ui to false.",
          "title" => "Hide height",
          "undo_prompt" => "Update user property 'height' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'id' and set show_in_ui to false.",
          "title" => "Hide id",
          "undo_prompt" => "Update user property 'id' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'notificationUnreadCount' and set show_in_ui to false.",
          "title" => "Hide notificationUnreadCount",
          "undo_prompt" => "Update user property 'notificationUnreadCount' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'phone' and set show_in_ui to false.",
          "title" => "Hide phone",
          "undo_prompt" => "Update user property 'phone' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'phoneVerified' and set show_in_ui to false.",
          "title" => "Hide phoneVerified",
          "undo_prompt" => "Update user property 'phoneVerified' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'plan' and set show_in_ui to false.",
          "title" => "Hide plan",
          "undo_prompt" => "Update user property 'plan' 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 12 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nadmin - [View](https://studio.appcues.com/settings/properties/user?search=admin)\n\nage - [View](https://studio.appcues.com/settings/properties/user?search=age)\n\nemail - [View](https://studio.appcues.com/settings/properties/user?search=email)\n\ngender - [View](https://studio.appcues.com/settings/properties/user?search=gender)\n\nheight - [View](https://studio.appcues.com/settings/properties/user?search=height)\n\nid - [View](https://studio.appcues.com/settings/properties/user?search=id)\n\nnotificationUnreadCount - [View](https://studio.appcues.com/settings/properties/user?search=notificationUnreadCount)\n\nphone - [View](https://studio.appcues.com/settings/properties/user?search=phone)\n\nphoneVerified - [View](https://studio.appcues.com/settings/properties/user?search=phoneVerified)\n\nplan - [View](https://studio.appcues.com/settings/properties/user?search=plan)\n\nrole - [View](https://studio.appcues.com/settings/properties/user?search=role)\n\nweight - [View](https://studio.appcues.com/settings/properties/user?search=weight)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 12 stale user properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property hygiene insight. Found 46 stale visible custom user properties older than 30 days, confirmed none were referenced by experiences using exact batched rule checks, then excluded 34 already covered by an existing non-dismissed insight."
}

Errors

No Errors