25353097 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:38.094
Run Time 00:43.634
Inserted 10h ago
Scheduled 10h ago
Completed 10h ago (00:44)
Cancelled
Discarded

Args

%{
  "account_id" => "89705",
  "account_insight_agent_id" => "a87838fb-e95c-4132-a0de-31cb60fc4a0f"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "4ObDIqe1dUrMIC1h/vkz67yoo6Pqq2g2pvS/znJd2WA",
  "recorded" => true,
  "return" => "g1AAAA+BeJytV9tu20YQdRqnaeWm+YV5CRwDthw56CVuLigMBDHQpyLuS1EIa+6I3JjcZXeHUvjWj+gn9Uv6JZ1ZUlTdirbo6EVarnbOmTPLnT2inZ2dzxYPrCMMBY//OvOoCDVMoPSuRE81ZHVq0CIYG0yaEcych8kEAqkcYW6CueTvpArkCki9q8plqMEALtfogTJl4fkz0KoO8kCgPAKzgscZerQJU17WoGwN+JFjjUzxo4YFtitVzqnpGhI356m43Dp7pE0oTAg80eYXxotHy+FUK86Sdd0j/tgThXsqIePstMyV5ed7F+8zhJnxgWDy7N+ZZ2qO8HtlkqujJgQuKyJnWYCDzGhkIVgwqzZzoyuV5/UYBMxjoYw1Nl0VUfCeBvKIdHIACRfjEgVDo2UUrlmawZkqiePgx3P4+48/QYUrMHSdSySrAuPvvAlVqeNeFcpGes5F1kHAtEBLnK+J1b84H8M7oyUjE5qiISdTsap5A9bttdRLFnmUXBhbtkB2pVvRJl8ovdp8lUrisqu8kkyBY6n0w6ZsQeo/kvrvyuz9hFT8/rmS+u98zshFSTJ8dREFXX+JatifxolzvR+zCUgQMreYGjutjBRopvLQUD4gQznK6NE7qdoyMm58ZbWbrthe3pGNC4fjTeS86CFIDNVDpHwZpUjUOhnf34FlYwl9NUpcZckPUvFVo6IJXCfkh7txbazldQ9+fH5flzhEzddRTRe6Tk/f23wr38aKvuthMINOysMoxaw9I98OZvjk0yENbvjpkKghp+Mmlo0lnPaAl5mzgzSMooYYtk5EX6lu5NlYxZs+dCc3/JnTg6Q8bqR0sev09J3E2xk3FtXXTDymfCUNEbQXBTVx68T0vQQ3M31yB27MxGR4B24Dh3TgW7iilg8C8AXrmBJ+pMV9a/J4OtmH8EU0Nbqb2muniFtgN/lYXF/CZmZqipJ9g8w9P8tRWfYv//UzC0MZOMuGRzUWZuWyYkObiSezKY93D9/y7aFXdvV//rQzo62XOWy8ZkXuiLxKrlAfRtkyW4V1LnU8Gv2k2D0GZDP3Gl60Llel7nQ0WpoJOIJffzG4+O1pRlSG0+PjQJU2bqzKMqkwjBNXHHNpifMOx6v8jmP8m4DKJ9mrJ9+8bfEORiO54LcDK0gC2Fy0W8JswBi2u++2A9zBMbTZUl2N1DM6663ACRIDxva8HcQIJZBdh9wSbofH4E3H2g5wg8Wgbe/YDmoL1sGebBP25CC2MFcRB2FoGlrpjfOt897N+D/l9Za6f2t7af6+xXBaGkVXls5TZRn3wz9GNjVP",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "GJQHrIm+hUWXSwfcPsOUOh1BJAB27iV8KwisDn/6f74",
  "workflow" => true,
  "workflow_id" => "019ddea7-5786-78c4-bb06-d115019ccc59"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 11 stale visible custom group properties older than 30 days that are not referenced by any experience and were not already covered by non-dismissed insights.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 1 properties (street2) 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 '_groupId' and set show_in_ui to false.",
          "title" => "Hide _groupId",
          "undo_prompt" => "Update group property '_groupId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'city' and set show_in_ui to false.",
          "title" => "Hide city",
          "undo_prompt" => "Update group property 'city' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'country' and set show_in_ui to false.",
          "title" => "Hide country",
          "undo_prompt" => "Update group property 'country' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'groupType' and set show_in_ui to false.",
          "title" => "Hide groupType",
          "undo_prompt" => "Update group property 'groupType' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'id' and set show_in_ui to false.",
          "title" => "Hide id",
          "undo_prompt" => "Update group property 'id' 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 'phone' and set show_in_ui to false.",
          "title" => "Hide phone",
          "undo_prompt" => "Update group property 'phone' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'postalCode' and set show_in_ui to false.",
          "title" => "Hide postalCode",
          "undo_prompt" => "Update group property 'postalCode' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'region' and set show_in_ui to false.",
          "title" => "Hide region",
          "undo_prompt" => "Update group property 'region' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'street1' and set show_in_ui to false.",
          "title" => "Hide street1",
          "undo_prompt" => "Update group property 'street1' 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 11 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_groupId - [View](https://studio.appcues.com/settings/properties/group?search=%5FgroupId)\n\ncity - [View](https://studio.appcues.com/settings/properties/group?search=city)\n\ncountry - [View](https://studio.appcues.com/settings/properties/group?search=country)\n\ngroupType - [View](https://studio.appcues.com/settings/properties/group?search=groupType)\n\nid - [View](https://studio.appcues.com/settings/properties/group?search=id)\n\nname - [View](https://studio.appcues.com/settings/properties/group?search=name)\n\nphone - [View](https://studio.appcues.com/settings/properties/group?search=phone)\n\npostalCode - [View](https://studio.appcues.com/settings/properties/group?search=postalCode)\n\nregion - [View](https://studio.appcues.com/settings/properties/group?search=region)\n\nstreet1 - [View](https://studio.appcues.com/settings/properties/group?search=street1)\n\nstreet2 - [View](https://studio.appcues.com/settings/properties/group?search=street2)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 11 stale group properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors