25354065 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 07:28.735
Run Time 00:36.944
Inserted 2h ago
Scheduled 2h ago
Completed 1h ago (00:37)
Cancelled
Discarded

Args

%{
  "account_id" => "214016",
  "account_insight_agent_id" => "e8e1fe73-3f21-4a8d-8ed6-15915221d765"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "ftvkqXiY78c0+XlKpjo1oBf6CH1iOU4UD7r8hrPaTsA",
  "recorded" => true,
  "return" => "g1AAAAkveJytVc1uEzEQLv3hJ1WBR5gTpVKTgBASbWkLqop64FQBF4RWznqSdbtrL/a46d54CJ6IG6/BkzB2kk1aUrUJuWS9juf75psdf0NLS0vL/TVtCF3B699HFgWhhJdQWlOipQqyqqdQIyjtVC8j6BoLr8GRyBEulFMdfqbekSmgZ40vR5EKHTAwWOyiRZ0yaqcCoSvAS/5fha0WHF+muZf8n/BkJkOFlkAZDomGBHVSjlSeX4cGaUWXE8xNv9XfGObrEikYgsXdI/5ZDzLXRUrK6KTMhQ7vv45Fmo3BRcdcIGSCk4DvXqXnzcF56HgifnCimZJcEeaynFVME3sFauIjKpdoW3CipNI9UKEIuinRkfWMwsB/fvwcc4XkwiGLJJQOdRjqrk+kgokRCiHH9RY9PgyCYjlJFdgKMh4M0nRB7FoQuxp2V1IS8Xnqo9j7jFyUFJYHn0vmx6vfrYLNdNAF72kzpuOQwGWmnyideBXkd0XuBpxrpCjHsHp8EmpSh8Y6ey1NMubbn5ePa4et/1EU309NjrMrqkNnUXQr350V7dzAoEUxk5hHUUyImqbjzRwsd5bw7gZwoztGWDlroz2NSiaCpwk6nJ/zzrpu+vjBVj4ptLOI2oiiRpHTFL2dky3KOQsID1lKQnhJ/RWt8tgUbFmKqkTJemt9uEVVifXmk2DZKV/RRBUlu0zYe3WUo9Bor1sf9BVl/HlyNtKB4Y1dPbpUV+lgjbxe3vtgWGU9Tv6ZH5QFj7O18W3HiRJGRZOsSM9RbkfVYde7qROm0fgoHNcEUcMB7Lxgx63Y2Htmt9GofQea8PWLwv635xlR6XbbbUdeKtMSZZl6dK3UFG0uLXHerj1OsB0zPnQobJrt13BbjUZtAIuBruEYOtzJxaAGJAacuBOLwZ0AZPhRgy4Ge4S2FTvaeOIodIP+Lq0ylps3vKxmPP2v3rFnt3XbYK7H6ND+8TqYsjSWvGbYs7/hLRfq",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "5rMoyeCi0cVtmSwfy1P9rWsc5rCqP8hprdEfeEJW11E",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a6-729b-9b9b-392b87985ef8"
}

Recorded Output

%{
  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 group property 'createdAt' and set show_in_ui to false.",
          "title" => "Hide createdAt",
          "undo_prompt" => "Update group property 'createdAt' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'groupRole' and set show_in_ui to false.",
          "title" => "Hide groupRole",
          "undo_prompt" => "Update group property 'groupRole' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'name' and set show_in_ui to false.",
          "title" => "Hide name",
          "undo_prompt" => "Update group property 'name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'onboardedAt' and set show_in_ui to false.",
          "title" => "Hide onboardedAt",
          "undo_prompt" => "Update group property 'onboardedAt' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'planTier' and set show_in_ui to false.",
          "title" => "Hide planTier",
          "undo_prompt" => "Update group property 'planTier' 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 5 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/group?search=createdAt)\n\ngroupRole - [View](https://studio.appcues.com/settings/properties/group?search=groupRole)\n\nname - [View](https://studio.appcues.com/settings/properties/group?search=name)\n\nonboardedAt - [View](https://studio.appcues.com/settings/properties/group?search=onboardedAt)\n\nplanTier - [View](https://studio.appcues.com/settings/properties/group?search=planTier)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 5 stale group properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property hygiene insight for 5 stale visible custom group properties not referenced by any experience. Excluded auto properties and the stale custom property still referenced by a draft flow."
}

Errors

No Errors