25355286 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 19:18.646
Run Time 01:21.814
Inserted 4h ago
Scheduled 4h ago
Completed 4h ago (01:22)
Cancelled
Discarded

Args

%{
  "account_id" => "76254",
  "account_insight_agent_id" => "7676e6d7-7a8d-4598-ba2b-13433092fb1b"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "QeV1xj3Te9KFYIFYqzH5yEdX+W8HLikJw//jbky06aI",
  "recorded" => true,
  "return" => "g1AAABIkeJy1WNtuHEUQdUjCZa0IXhASSKh5cizZu/auhIQhBGQIMXcQ4YWgUXumdqbime6hu2bXy1P+AX6MX8iXUN2zN69nnBl78uC9lKfPqVO9XXXUtLW19dr0HiqLcUI2iCTJlGO3iF+2M/ciQ0KtgjyVir/fevpbAmKMxpI4PBC50TkYQrAikRMQfxUYnu2XS8RpQaSVFaRFghEISiATqCKcYFTINJ31hQMzkElUqGIxXMe7T0YiDfeEfx/tilAyJDioCBSDGV3EiTiWOfFy8eWJePH8XyHtmUC6SHk6E0pm4P+vjShyVgmRyKTyWXBK7jlhIc5AEaeNaQRGPDnpi8cYucTQCqXVfgSWTMHiJiXYPNuZcGVzDxlwuTC2VO5vtnpinnwmOakJWjxNQcjYJS7JP0mYQd8V/I2yetZtQ89twx0XvR2S9O+/Fm4btl5n5Cwn9/GLJ16QiLkg+YpxR0YZqsAVN93xCVkgYRM9DThcoKvRWKa2ZL1LSCm4T+88doVbW+x/BYWKdLDifHh9Tq4g9JvoelDHYUxAvBNtRN0rRc1XVin67JpsjeV8XUMQIwWyoCSYgLG88W1kvetlbSJUyfvqhuyNZf5SQ4Q2GI+DsTYhBFZmaWCtDkBJPghRG8kfeclXoVXJ/7nDrBqX4tsmpMyX6hhbbfv7l2uwgKkSf9JFHo1Vf3MF2/Ulv7eU/HK9j26cwY0PdSbPg1ArMshDUBvb/lBvIrQ51E3ZG8v8sYZIm1gq/Ft6h+C7fhBpN83b6P3Q662FqhL+Q1f5NK7AdzWMBnJtA9Jsm4IIbai5j7ZraB94+dU4Vdrrukq7TBoL/7SGzruywzZCt73Qcl2VsKNrMXkhz9z6N1kEj+pzmt5WpWt5i+0c0izAaBnanodolsMy+Dac5xCyJwwwy9l+udjoOAWp2AZu2sIpUiK0Yt8oSye48qzevo2dw1Vx5qQ/0qxRHA6F5V3ZUOY8LiXO/ZmlJdxjm8kBPrT7rDo8g2jPy3bRwrKvZCvrzKLL1yCoEPq93veSvbgF9sSfi08O2IvOLFtLfdTrrbkxsS/++B1h+uf9hCi3R4OBpSJC3Zd5HhZg+6HOBlxd4tTtYJXiwOf80II0YfJgDXCX4efWqCPsORoDb5qSbgg2UZnoqvHfDelVDJsJLKbSK2BeQM8pXxXfJbLahtwNZy08U1f3w254q7GZtOxV3ZCUWAvQYYegwwXoqEPQ0e56KxodvHj+z8cXutGmK+mGexN1148CXRCvBlsOhtygNtz13Zc7CcbJxcG089I2Xd4m+OVucPhBovNcGyoU4z6b3uUOXfb//44N+OuFQ5HMYu7R7FrL2xXBx2POsLgBuMQkx8QjJkwgPHP3Dqs+zwZhzL8x/mT9RIBztK4w5b0E2gytmw+Li5y++ImJS7LlJEXLEUzTFZYfKCsSuyesdtcnU2k5HKZFBFH/f5B0R/4",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "/zq/Sx51KnHvSQ6DRIrJok/6bKIv8PXXbvX/y3q5hvY",
  "workflow" => true,
  "workflow_id" => "019ddeab-ea1d-7176-afd1-daf3aee14e6e"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for stale visible group properties after checking experience references and existing non-dismissed insights. One stale property is still referenced by experiences, so it was excluded.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 2 properties (trait2, trait3) 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 group property 'admin_email' and set show_in_ui to false.",
          "title" => "Hide admin_email",
          "undo_prompt" => "Update group property 'admin_email' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'arr_test' and set show_in_ui to false.",
          "title" => "Hide arr_test",
          "undo_prompt" => "Update group property 'arr_test' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'git_auth_version' and set show_in_ui to false.",
          "title" => "Hide git_auth_version",
          "undo_prompt" => "Update group property 'git_auth_version' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'is_ff_force_saml_sso_enabled' and set show_in_ui to false.",
          "title" => "Hide is_ff_force_saml_sso_enabled",
          "undo_prompt" => "Update group property 'is_ff_force_saml_sso_enabled' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'is_ff_force_sso_login' and set show_in_ui to false.",
          "title" => "Hide is_ff_force_sso_login",
          "undo_prompt" => "Update group property 'is_ff_force_sso_login' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'is_force_sso_login' and set show_in_ui to false.",
          "title" => "Hide is_force_sso_login",
          "undo_prompt" => "Update group property 'is_force_sso_login' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'max_contributors' and set show_in_ui to false.",
          "title" => "Hide max_contributors",
          "undo_prompt" => "Update group property 'max_contributors' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'organization_email_domain' and set show_in_ui to false.",
          "title" => "Hide organization_email_domain",
          "undo_prompt" => "Update group property 'organization_email_domain' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'repos_total_discovered' and set show_in_ui to false.",
          "title" => "Hide repos_total_discovered",
          "undo_prompt" => "Update group property 'repos_total_discovered' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'trait1' and set show_in_ui to false.",
          "title" => "Hide trait1",
          "undo_prompt" => "Update group property 'trait1' 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 group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nadmin_email - [View](https://studio.appcues.com/settings/properties/group?search=admin_email)\n\narr_test - [View](https://studio.appcues.com/settings/properties/group?search=arr_test)\n\ngit_auth_version - [View](https://studio.appcues.com/settings/properties/group?search=git_auth_version)\n\nis_ff_force_saml_sso_enabled - [View](https://studio.appcues.com/settings/properties/group?search=is_ff_force_saml_sso_enabled)\n\nis_ff_force_sso_login - [View](https://studio.appcues.com/settings/properties/group?search=is_ff_force_sso_login)\n\nis_force_sso_login - [View](https://studio.appcues.com/settings/properties/group?search=is_force_sso_login)\n\norganization_email_domain - [View](https://studio.appcues.com/settings/properties/group?search=organization_email_domain)\n\nrepos_total_discovered - [View](https://studio.appcues.com/settings/properties/group?search=repos_total_discovered)\n\ntrait1 - [View](https://studio.appcues.com/settings/properties/group?search=trait1)\n\ntrait2 - [View](https://studio.appcues.com/settings/properties/group?search=trait2)\n\ntrait3 - [View](https://studio.appcues.com/settings/properties/group?search=trait3)\n\nLast seen 30–60 days ago:\n\nmax_contributors - [View](https://studio.appcues.com/settings/properties/group?search=max_contributors)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 12 stale group properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors