25356762 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 19:56.627
Run Time 00:56.254
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (00:57)
Cancelled
Discarded

Args

%{
  "account_id" => "221584",
  "account_insight_agent_id" => "4edc8bac-e3e0-493b-857e-457d6f230404"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "VgBGewXlJHMlj8hJMgaBK7Cb9eaAurk/IK7AwL73uB0",
  "recorded" => true,
  "return" => "g1AAABQCeJy1WFtv3EQUTukF2ArxyKVczgNRWqnZTZqnRgJUrRQSCA0qCS8IWRP7rD2NPWNmjrNdnvgRiCck/hu/hDPjTTbZjLPexnnIxjsef5cz9p7PQysrK++MP5DKyjQjGyWCRM5jd4g/HhbuQ8QktYrKXCj+fufvwwxhJI0l2NyA0ugSDUm0kIlThN8rGZ+s15fAcUWklQXSkMkEgTIsQKpEnsqkEnk+6YMDM1gIqaRKYesi3uOj0jhR0YFJhZJ/CIf5UhT4FKr6zMUTe0lw2M1/ArFgMehEJKhYhtFVmsFQlMTE8GIP/vvzLxD2BCRdFns8AcUI/rw2TMD1wQQKobx+NuPmgcW0QEVsWOYJGjja68OuTJwlaUFptZ6gJVNxWU5rsKnPCbiCu0kGnRbGFsr9TWYzpuILwaJOpZXHOYJInXBBfibJAvtuqd6t627dAvbcAt5zo3djEv7/q8ot4MoDRi5KcoeHR94QpFyQcsa4tlsd21LTNgx5pqMY6kqRmQxeYcoEa16kRQKb6XEkVVRJV7eRyG2t5D5JytEdfbXrirkA0N9nlUp0NNP2c7fauPrYb1OT3Qben/YPt/keuHjHLVOHj30dAiAh79/dXENrv9+35XKP0jKOPw07djAhz3td6Gjt+poKR2+/yB+dWY4Wr/HOjRW0NntNaaObrPAnQbtNC3zNg9VaRWvLPzaR5YJG2hQ3eZQ/r203IIWs73ekprX9g6UIl133L68pQNPqv+xMUesiLKp6dPDWt8BnlyowBxSy/0M3Wlp7X1TuK6FqGfdfNLtvWv5Fz2NrPa0r0FTxUKpcbvEfefthnJD3pg67nBJv/LXDe49NR4RvaHxXydyNvM/hU9Ikksn50MPpEE1KPB/8EN+UGHOCjSRnp9ir2xrmKBSH1vkQO5aUgVacckWdW2fZ3IfNkUvyKuXjB//scAZLYHMLLL8+zDl1WZ4yl1XNeYB9yqGYByrS62REfIKc3p1tN1pZTsEcvF22c3qNRBVjv9fbF/zOYZET/DfwfIOT88RyENbbvd6CTAjr8OsvEse/Pc6ISrs9GFiqEqn7oizjCm0/1sWAK05sxw5msgfex7cWhYmzr6ckq1svVp9tTIn8kadafbZTkz3p9QIxrRsJDFzTXwYPUbpn6BZJ/XuVp41uyWgU8nglKNwO3Zm7hvbcEekUvWlFGxvjbdPPuZ/7feqWfQ68ibZ721fgmTr8g9wNbxi7gbQ7u03oTBzcROmGNQgdpuzOatPuj2+ZuiIGQVs3UJ6pDXdH9+VexlddbvBrC9tZvUfkL3cN1jdcXZbaUKUY9/X4Pneyuk/+OzToN402Z60/m6Tc1BCm227AN+SM7WyP5wqrb8hKQ4Lkm/iF7ggGR2jckZ32USgExZnbgfLbT9IW0lp/jbTkN6Zq7v7/R17vVA",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "tPH4LKGwD2GlOX1c7kUMqmUzOeHVxV1/wuOBevxmWic",
  "workflow" => true,
  "workflow_id" => "019ddeab-ea4f-7376-b378-04378ae13092"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 13 stale visible group properties with no detected experience references and no matching non-dismissed existing insight.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 3 properties (Upright_OrganizationName, uprightOrganizationId, uprightOrganizationName) 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 'Hubspot: Company Country/Region' and set show_in_ui to false.",
          "title" => "Hide Hubspot: Company Country/Region",
          "undo_prompt" => "Update group property 'Hubspot: Company Country/Region' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'PLT: organizationId' and set show_in_ui to false.",
          "title" => "Hide PLT: organizationId",
          "undo_prompt" => "Update group property 'PLT: organizationId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'PLT: organizationName' and set show_in_ui to false.",
          "title" => "Hide PLT: organizationName",
          "undo_prompt" => "Update group property 'PLT: organizationName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'PLT_organizationId' and set show_in_ui to false.",
          "title" => "Hide PLT_organizationId",
          "undo_prompt" => "Update group property 'PLT_organizationId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'PLT_organizationName' and set show_in_ui to false.",
          "title" => "Hide PLT_organizationName",
          "undo_prompt" => "Update group property 'PLT_organizationName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'Platform: organizationId' and set show_in_ui to false.",
          "title" => "Hide Platform: organizationId",
          "undo_prompt" => "Update group property 'Platform: organizationId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'Platform: organizationName' and set show_in_ui to false.",
          "title" => "Hide Platform: organizationName",
          "undo_prompt" => "Update group property 'Platform: organizationName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'Platform_OrganizationId' and set show_in_ui to false.",
          "title" => "Hide Platform_OrganizationId",
          "undo_prompt" => "Update group property 'Platform_OrganizationId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'Platform_OrganizationName' and set show_in_ui to false.",
          "title" => "Hide Platform_OrganizationName",
          "undo_prompt" => "Update group property 'Platform_OrganizationName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'Upright_OrganizationId' and set show_in_ui to false.",
          "title" => "Hide Upright_OrganizationId",
          "undo_prompt" => "Update group property 'Upright_OrganizationId' 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 13 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nHubspot: Company Country/Region - [View](https://studio.appcues.com/settings/properties/group?search=Hubspot%3A%20Company%20Country%2FRegion)\n\nPLT: organizationId - [View](https://studio.appcues.com/settings/properties/group?search=PLT%3A%20organizationId)\n\nPLT: organizationName - [View](https://studio.appcues.com/settings/properties/group?search=PLT%3A%20organizationName)\n\nPLT_organizationId - [View](https://studio.appcues.com/settings/properties/group?search=PLT_organizationId)\n\nPLT_organizationName - [View](https://studio.appcues.com/settings/properties/group?search=PLT_organizationName)\n\nPlatform: organizationId - [View](https://studio.appcues.com/settings/properties/group?search=Platform%3A%20organizationId)\n\nPlatform: organizationName - [View](https://studio.appcues.com/settings/properties/group?search=Platform%3A%20organizationName)\n\nPlatform_OrganizationId - [View](https://studio.appcues.com/settings/properties/group?search=Platform_OrganizationId)\n\nPlatform_OrganizationName - [View](https://studio.appcues.com/settings/properties/group?search=Platform_OrganizationName)\n\nUpright_OrganizationId - [View](https://studio.appcues.com/settings/properties/group?search=Upright_OrganizationId)\n\nUpright_OrganizationName - [View](https://studio.appcues.com/settings/properties/group?search=Upright_OrganizationName)\n\nuprightOrganizationId - [View](https://studio.appcues.com/settings/properties/group?search=uprightOrganizationId)\n\nuprightOrganizationName - [View](https://studio.appcues.com/settings/properties/group?search=uprightOrganizationName)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 13 stale group properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors