25353069 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 06:39.409
Run Time 01:56.402
Inserted 3h ago
Scheduled 3h ago
Completed 3h ago (01:57)
Cancelled
Discarded

Args

%{
  "account_id" => "87938",
  "account_insight_agent_id" => "0a4f73de-c9cb-48cb-a4f8-55d46be2a936"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "DJhjPkMrJcmIlk8oVc3BP5T88NeWdzwM1ssYY6qmixE",
  "recorded" => true,
  "return" => "g1AAABioeJy1WNuO40QQzd64ZIS4CQQvqF9gd6WZzAVpJVZil2HYZUYaWGkvvCAUdeyK3Tt2t+nLZPzGR/CFfAlV7TjpJB7GIc5LbFe6z6lTXW5Xl+31ercn96SyYPJe79bOiQZuIWaHrNCqAG1LlpaJAAlMSCOS1LKx0uzoETOWZ8AuhREjvEbOWJUzZ0DXMwUYZlNuGdfAkIFpGIMGGSH8qGRwhYMEPRrGZcwmMB02Vg4fhcQRwlghE7TKvViYXBgDce2HGbBnV1HmYu9t5Q13Vu1ZzaMLNM4EEHo9YmZE5CxbconLwKvB5IOaaRhznIyhumXxZyenHx5ZoeSwyLjE59uvXqfAxkIbyw4Pwgik/BLYn05EF3vVFDZy1iqJsVEsFTFgjCBHUbG4FLHjWVYOGIFpyLmQJP/wUQj4AI1W8Iw5mw9ziIXLd1loM8rpCBZtFnQwihbNMhSFozKOLkcpRBfK1Tbp8hHoF+NXKnPksglMZV7gQqOl4AmwVBkreQ7TRyts5u9tuks+xy6yv/q/faA16PldMHdmqiZacyYtJJoT9+uywBHOYCBeSHgtcjh2Nn3IIlysEVAEY5AYQ61ckrITXliMGjs+Y//89Tfj5oKh0oVI4zoTq/8fM9kVsU/4nEsffEo8HMcMJDlIi6slshhde3M2YKcipvUQpspIMFajQHFZgc1Si7KFBmkgXxCbEpDLcj5i6nzO4/kbxBNynF4XHGlR54Dy7N0qaQxlX5+y7y5Z70SW++tLR9nXeweRcV3o9ukbL2jhTSzZfXx9MFVLWoz73h8DlplUTYZCDp2gEI15ZirSe34d6e6jU4pbMNnnPr6fajinfPK/KTF+MGij6odmiuToJVwKmJwLebGOrI+9rHB2k65rQtmGtLWwH5s56jd1PIoyEa8j7VMvbXF+k7jjTYhby7uBJVlX3ScL6pLrxF2TLq1oN83JmoQ2xPVzMpy9Rk62IW0t7NnNHH6nXkfd5yvqPESTxJ82pG+t8wai+qu0jszPFmTWCE0qTzYjby3yl3Y8s6/xOmq/alQ7g2qSfd6RO631n/43IRVHEc8LLhK5jvQvF6SHKE2qf97cidaC23AprK+kXUfvF6t6K5Amuc83dsGrfUtY76FSLF+v7OSOFBlZ3sd5wpZDEc9MO1OTxWJxZvyQavkIa7uhwNBG3rNvTzLgEr1aLu8mwqZMSaz/eFXRzStuX4aNqUCXCd7v9J77A8rsCHTtmWda2e36U014NNn1qsnqTH3yCA9Eg37/nMpyA1jaPmHfHWBJWeIpKVGP+/2grGJ77PffsBL540FqbWEe7+8b62KhBrwoIgdmEKl8H4NLhyizP3dxn1x+aoDrKP0+wHvY74fFTSfwISDiL9YXnTBMIb8+OqhAA5ZkCyTJEof/HnVLQZDLDPTF2wKNv+B5as4224K7Jathm5jqzX5LlHhbMwTs4abbMXEIvcxY7XvbIKyQl/iqBsEW6CrgJbaq9bAFtgp4iY2aGlvgItiAad4s6ZjLA+OVoJFvtRHTCR/BIkkNPOdbafJ0QreCGjJNe0fdEk1BkWehI9UJyXSHDHaPeZurSwIP6NE72uSne3rQgusGdo6H6J1+KYLvw3a+C81fg4XWY9c801VY6Wd2wrOCikzLbdJOiFZ6r74sx70EJ4OpivRCC6WxAqeHu6lI0sXTwzc3lcxVg9bPphre1/SqKJS2DvfL8u2/8qycbA",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "BC15+lsJoMPStJI908BsuwOP55FpCuKVmFSHDI4++/E",
  "workflow" => true,
  "workflow_id" => "019ddea7-5786-7a4c-9f49-c948bef70cd2"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 16 properties (initial utm_medium, initial utm_source, initial utm_term, initial visit date, last checkout date, numberOfSolutions, numberOfSymptoms, page hostname, page title, path, productName, referrer, referrer hostname, referrer path, tsIntegrationType, usingOneTimeAuth) 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 'displayName' and set show_in_ui to false.",
          "title" => "Hide displayName",
          "undo_prompt" => "Update user property 'displayName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'g2ReviewLink' and set show_in_ui to false.",
          "title" => "Hide g2ReviewLink",
          "undo_prompt" => "Update user property 'g2ReviewLink' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'initial fbclid' and set show_in_ui to false.",
          "title" => "Hide initial fbclid",
          "undo_prompt" => "Update user property 'initial fbclid' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'initial gclid' and set show_in_ui to false.",
          "title" => "Hide initial gclid",
          "undo_prompt" => "Update user property 'initial gclid' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'initial page' and set show_in_ui to false.",
          "title" => "Hide initial page",
          "undo_prompt" => "Update user property 'initial page' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'initial page path' and set show_in_ui to false.",
          "title" => "Hide initial page path",
          "undo_prompt" => "Update user property 'initial page path' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'initial referrer' and set show_in_ui to false.",
          "title" => "Hide initial referrer",
          "undo_prompt" => "Update user property 'initial referrer' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'initial referrer hostname' and set show_in_ui to false.",
          "title" => "Hide initial referrer hostname",
          "undo_prompt" => "Update user property 'initial referrer hostname' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'initial utm_campaign' and set show_in_ui to false.",
          "title" => "Hide initial utm_campaign",
          "undo_prompt" => "Update user property 'initial utm_campaign' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'initial utm_content' and set show_in_ui to false.",
          "title" => "Hide initial utm_content",
          "undo_prompt" => "Update user property 'initial utm_content' 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 26 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\ndisplayName - [View](https://studio.appcues.com/settings/properties/user?search=displayName)\n\ng2ReviewLink - [View](https://studio.appcues.com/settings/properties/user?search=g2ReviewLink)\n\ninitial fbclid - [View](https://studio.appcues.com/settings/properties/user?search=initial%20fbclid)\n\ninitial gclid - [View](https://studio.appcues.com/settings/properties/user?search=initial%20gclid)\n\ninitial page - [View](https://studio.appcues.com/settings/properties/user?search=initial%20page)\n\ninitial page path - [View](https://studio.appcues.com/settings/properties/user?search=initial%20page%20path)\n\ninitial referrer - [View](https://studio.appcues.com/settings/properties/user?search=initial%20referrer)\n\ninitial referrer hostname - [View](https://studio.appcues.com/settings/properties/user?search=initial%20referrer%20hostname)\n\ninitial utm_campaign - [View](https://studio.appcues.com/settings/properties/user?search=initial%20utm_campaign)\n\ninitial utm_content - [View](https://studio.appcues.com/settings/properties/user?search=initial%20utm_content)\n\ninitial utm_medium - [View](https://studio.appcues.com/settings/properties/user?search=initial%20utm_medium)\n\ninitial utm_source - [View](https://studio.appcues.com/settings/properties/user?search=initial%20utm_source)\n\ninitial utm_term - [View](https://studio.appcues.com/settings/properties/user?search=initial%20utm_term)\n\ninitial visit date - [View](https://studio.appcues.com/settings/properties/user?search=initial%20visit%20date)\n\nlast checkout date - [View](https://studio.appcues.com/settings/properties/user?search=last%20checkout%20date)\n\nnumberOfSolutions - [View](https://studio.appcues.com/settings/properties/user?search=numberOfSolutions)\n\nnumberOfSymptoms - [View](https://studio.appcues.com/settings/properties/user?search=numberOfSymptoms)\n\npage hostname - [View](https://studio.appcues.com/settings/properties/user?search=page%20hostname)\n\npage title - [View](https://studio.appcues.com/settings/properties/user?search=page%20title)\n\npath - [View](https://studio.appcues.com/settings/properties/user?search=path)\n\nproductName - [View](https://studio.appcues.com/settings/properties/user?search=productName)\n\nreferrer - [View](https://studio.appcues.com/settings/properties/user?search=referrer)\n\nreferrer hostname - [View](https://studio.appcues.com/settings/properties/user?search=referrer%20hostname)\n\nreferrer path - [View](https://studio.appcues.com/settings/properties/user?search=referrer%20path)\n\ntsIntegrationType - [View](https://studio.appcues.com/settings/properties/user?search=tsIntegrationType)\n\nusingOneTimeAuth - [View](https://studio.appcues.com/settings/properties/user?search=usingOneTimeAuth)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 26 stale user properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property hygiene insight for 26 stale visible custom user properties that are not referenced by experiences and were not found in existing non-dismissed insights. Excluded 1 stale auto-tracked property and 1 stale property still referenced by an experience."
}

Errors

No Errors