25359781 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 18:03.303
Run Time 02:03.845
Inserted 7h ago
Scheduled 7h ago
Completed 7h ago (02:04)
Cancelled
Discarded

Args

%{
  "account_id" => "2484",
  "account_insight_agent_id" => "71c1540c-f1d7-4da7-a33a-7cc93d2dac1e"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "aGL3XCD5O90Vjm+Q67iNbH0BDrzxf1J26WoNpZyVMfw",
  "recorded" => true,
  "return" => "g1AAABQseJy9WE9z3DQUT2lKymaYXuDGQdMDbWbiTUInmWlmWqaE6bTAARjKhWGM1n67fl1bMpK8W9965Qyfgo/VT8J7sjf7J85iB5dL1quVfv+kSE92Ozs7H8zvKO3AZvT894UB6SAWJwKVxUnixFgbcXIqrJMpiBlaHNFnVFinM1FYMCI3OgfjEKxwiXRCGhAEKAyMwYCKCG1UCqlKAW+oI3ITfY3FHOqeMiXWuBSRnlFT3Z16o3WoJtRFBTHaDK2lH2tdw/nH9ZMNY0niSP0tR3/22ce+jBxqFeapVPT91h8/JSDGaKwTJ8erihM5A/F7gdE0qIaIUeGcVuRFiwRjIE+QEWmMM4wLmablUDCYgUyiYnmnq3gP6YGFMvnE6CK3h8LoFOjDwiQD5eihGNnIYO4VYnzoY6SHAxGR7REwbwyKmAlgkogLmTviEs9eindv/xLSTgW6dX2UmJIZ+N9pvoo89rOYSeUlk37ut5BAHjGNaepevRyKFxizC7RVzmCdKSiJWQVWWysFZ8ydDLAWwuYZ5Em97FGLz2S8XCdywsJ5UVBPhxkMeXb2qqgtz9mA52yXW29HTvrPHwues50PCTnLHT/+8MobWltvpXgQyjyPCrDPtcnCRM+DSOs0QBvwOnzgFVpwwtJPIaqwQA5tLFNbybjj0KXAT/dfcJJb4fyqKlSsw6Ws73uURanDsE0WsiVprINSF0GKUyBiCDCjzjPg+bddsvmiOZtt8E1Z/fYeZbfO7tsWIhbMFrqk9NnVlJZATXl804uU1s7zFnQ2oa3bh24g18YFuZxAMCoDGfD+HGiVlkHVKUU17RLPs6vxdGRrylD/f6ZaB33erEn6LbVLZPs+smpck/nHNyFqbePpNvQwcZMuVu6tWOGxTXae3JSwJ0umjG5sicZ2t7SFsLWli60MFqhkm0Haxdcnq74WAE3mvvpP1K0dfn0NDVVYE6pCwkgXxkKnA+3TyuIGQpPH6+JtSd7a5FkzD8ZdbO15Wxg3GTntSuClv+ahd0l26OCNm99W6FfCR3QUoyupYL1s2q+bXJnDZeM9LvcjKkNDOsNpXXDbo4sUpCIRm5XoHF0ieC+u195KTe3NjbkCV7xz7O0+12RveSe59hJSF6GH1R2jcDpwRkZToIqbXXNrYZtuJ8PB4DtJVwULVIU/FY+PqfotLRWz+nww2FrdiUD88jPC/NeHiXO5PT86sq6IUQ/rQcNIZ0cUN99r7NFS9BGb+JL+a0yUPNnKcNCgYFvN9H4UbWPcVLisYvrXssTeZO147vcvraMA0l9fA3uRsrhSrq7ks+N3b/9cX8ybW1kv3JugJKInVxuGHrGhs3VD1e7Riw0PdbDA5BqkR1yGW2JTMdAnNsEtsRdncZ8EC0xiufLCoxeeK6jE5N+j9ILukQhxcQr1gVljMer6+51+0NcxD/zRrAtHY8FWB3VuUBs6hfnLboKTZL0++Pzfjs3qfZIfzee4P9d1zltXoQj29T9k3/7b",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "uBKY2FDm+VwPin/BmkRsf1LPVqwNPODdaY3aOEwt/2Y",
  "workflow" => true,
  "workflow_id" => "019ddeb0-7e06-7cbc-a9f9-b7f87b123c19"
}

Recorded Output

%{
  notes: "Created 1 insight for 15 stale visible custom user properties that are not referenced by any experience and were not already covered by an existing non-dismissed insight.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 5 properties (permission_groups, roles, segment, subscription_id, user_id) 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 '_appcuesForm_how-cool-is-that' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_how-cool-is-that",
          "undo_prompt" => "Update user property '_appcuesForm_how-cool-is-that' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_how-do-you-like-the-improvements' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_how-do-you-like-the-improvements",
          "undo_prompt" => "Update user property '_appcuesForm_how-do-you-like-the-improvements' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_like-these' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_like-these",
          "undo_prompt" => "Update user property '_appcuesForm_like-these' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_share-the-report-page-by-a-read-only-share-link' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_share-the-report-page-by-a-read-only-share-link",
          "undo_prompt" => "Update user property '_appcuesForm_share-the-report-page-by-a-read-only-share-link' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'active' and set show_in_ui to false.",
          "title" => "Hide active",
          "undo_prompt" => "Update user property 'active' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'active_htg' and set show_in_ui to false.",
          "title" => "Hide active_htg",
          "undo_prompt" => "Update user property 'active_htg' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'active_ryc' and set show_in_ui to false.",
          "title" => "Hide active_ryc",
          "undo_prompt" => "Update user property 'active_ryc' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'active_sealevel' and set show_in_ui to false.",
          "title" => "Hide active_sealevel",
          "undo_prompt" => "Update user property 'active_sealevel' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'assigned_courses' and set show_in_ui to false.",
          "title" => "Hide assigned_courses",
          "undo_prompt" => "Update user property 'assigned_courses' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'id' and set show_in_ui to false.",
          "title" => "Hide id",
          "undo_prompt" => "Update user property 'id' 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 15 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_how-cool-is-that - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-cool-is-that)\n\n_appcuesForm_how-do-you-like-the-improvements - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-do-you-like-the-improvements)\n\n_appcuesForm_like-these - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_like-these)\n\n_appcuesForm_share-the-report-page-by-a-read-only-share-link - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_share-the-report-page-by-a-read-only-share-link)\n\nuser_id - [View](https://studio.appcues.com/settings/properties/user?search=user_id)\n\nLast seen 60–90 days ago:\n\nassigned_courses - [View](https://studio.appcues.com/settings/properties/user?search=assigned_courses)\n\nid - [View](https://studio.appcues.com/settings/properties/user?search=id)\n\nLast seen 30–60 days ago:\n\nactive - [View](https://studio.appcues.com/settings/properties/user?search=active)\n\nactive_htg - [View](https://studio.appcues.com/settings/properties/user?search=active_htg)\n\nactive_ryc - [View](https://studio.appcues.com/settings/properties/user?search=active_ryc)\n\nactive_sealevel - [View](https://studio.appcues.com/settings/properties/user?search=active_sealevel)\n\npermission_groups - [View](https://studio.appcues.com/settings/properties/user?search=permission_groups)\n\nroles - [View](https://studio.appcues.com/settings/properties/user?search=roles)\n\nsegment - [View](https://studio.appcues.com/settings/properties/user?search=segment)\n\nsubscription_id - [View](https://studio.appcues.com/settings/properties/user?search=subscription_id)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 15 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors