25353221 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 06:44.444
Run Time 00:57.955
Inserted 2h ago
Scheduled 2h ago
Completed 1h ago (00:58)
Cancelled
Discarded

Args

%{
  "account_id" => "95141",
  "account_insight_agent_id" => "f25d7428-a911-40d3-bf84-5504f1c7e0ae"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "dPuG4VbwypGc4SpdOqfCNuSiz80v3oDpwKLekTG3Jxo",
  "recorded" => true,
  "return" => "g1AAABQGeJzNWE2T20QQ3ZAPwKkQfsKcSFK1Y++GEwlJKrVFKltQe4CES6BUs5q2NbE0I2Z67IgTVzjzT/hH/BK6JVvaXby1liM+Drblseb1e93j6afBvb29D5Z3jA1mlmFItEKV09g1pLfbBb+pFI2zSZkrS9+v/fAqAzE1PqA4PBCldyV4NBBEphYgfoomnctmijiNiM4GgU5kRoPADAphrDYLo6PK82osGMxDoYw1diYensW7zxFfGfD7wrscHohUESQwlAZLYN7FWSaOVIk0XTw/Fn/+8rtQYS4Mng95WgmrCqh/d17EklSCFoWyNQuixPeJALMCLBJtk2vw4vXxWLw0momZIKyzUkNAH0ncogFbsa0Ep41v8sBcCFtZflXdHSvyhSJSCxPMaQ5CzZi4wvpONAWMOeEfNtkLXIYRl+EGj15PUdWf30Yuw94tQi5K5Munr2tBIgYi3Qa8lyRYlcDC79V0AqAImVsmxibRcIamKg9NzJtoMAe+uvuS09bNrZdAtNolXcAnuwak5MF4G0k/XxJBlWUaIbxwvkgIWZogKxe9hHd0hwGbgoyBCiapnlytObpS8nwXVC5Xhe2Tjq+bdAwSd1Mqq/9C6NZl+G1LdrmZQ15J5YFZSnTSQ+oK+jdpeZo72hE8WLdQvK75VyWnLEJL52Xq8hzULPZapW82l2UQHpvK9Ov/IRFblw23YLvMKqmNrmmmmXMBaCkplCF1RH4JRFRpCQvwlWwUYJ8CffX3Au0QcVMpwr8rbuukX7IpqjR10eKx7pO9T+rstVM3peHLHcO9r56UUkfN83mv1dDoaaf20HNluPfVUzuZk55NstHTTu2h58pwW+u5JECu+su5U8tZz9yk5vFuwbYW82wzfpk5CyexOO3XtD+t9ZyZvEnSJa5pi5Bbq7osBPna71BhDP2NWTe3hzG7OmAt6S1DfERyEoR3uLxuTc4jH9PuaLBKjG6Hbq+G2O+1g3fZm6T0Z01MUZKH5bHPj6ilWSJz0VsvDWbCWTLfqrHTnfGvPfCUHxPsjK5vHbygHU2Lw4ci0LPJeXH8nMA7u6COu7bV+2TVaSBSe0Wv0jno/Vo1j9JczY8DbLg7KzUejb6hlUwk6bniqfjigPx8Fcieu0ejUedqhRRvvjew/PF+hliGR5NJwKiNG69az5hayYRyi0Q8TDqGE2b8LIDyafakg3tA2IPYvGF4DUJlk6ZBPNE/o3EQahc172A+hle3AwnS0bqHQQi1aITc9vFBkFs0Qm476iDILRohr7vbIMBrMMI902IGgT6Dx+jtZj8MeAu3wuYTmcGQGYxw+XxnEMz6oKhuYy4iTYDQNLXSG+epY/GXG5mZZed762dXtZjmNKmezdt33QNdWTqP0RLs2+VN6i5N6/rjqFmc4rDrwFk1o20DxOqYTUyd74KtT4PSGNAVF2OPxQlVVyzB80HZlD5oJ657WLcxh3WDozETOEHNaZUJhQnc8RhTtmzWLJYqEBMSPv4L9zf0Yw",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "qBUOL8ZJmjVhek0EZw8vHEoaCTB7Gz0o1cVntnFLeQM",
  "workflow" => true,
  "workflow_id" => "019ddea7-5789-7981-8546-e80464527ac9"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 12 stale visible custom user properties. None were referenced by experiences, and no existing non-dismissed user-property insight was found.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 2 properties (planTier, role) 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 '__typename' and set show_in_ui to false.",
          "title" => "Hide __typename",
          "undo_prompt" => "Update user property '__typename' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_how-is-your-experience-using-the-desktop-proposal-builder' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_how-is-your-experience-using-the-desktop-proposal-builder",
          "undo_prompt" => "Update user property '_appcuesForm_how-is-your-experience-using-the-desktop-proposal-builder' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_how-likely-are-you-to-recommend-block-renovation-to-a-friend-or-colleague' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_how-likely-are-you-to-recommend-block-renovation-to-a-friend-or-colleague",
          "undo_prompt" => "Update user property '_appcuesForm_how-likely-are-you-to-recommend-block-renovation-to-a-friend-or-colleague' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_why-did-you-choose-that-score-we-read-every-comment' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_why-did-you-choose-that-score-we-read-every-comment",
          "undo_prompt" => "Update user property '_appcuesForm_why-did-you-choose-that-score-we-read-every-comment' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'accountId' and set show_in_ui to false.",
          "title" => "Hide accountId",
          "undo_prompt" => "Update user property 'accountId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'createdAt' and set show_in_ui to false.",
          "title" => "Hide createdAt",
          "undo_prompt" => "Update user property 'createdAt' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'firstName' and set show_in_ui to false.",
          "title" => "Hide firstName",
          "undo_prompt" => "Update user property 'firstName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'lastName' and set show_in_ui to false.",
          "title" => "Hide lastName",
          "undo_prompt" => "Update user property 'lastName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'phoneNumber' and set show_in_ui to false.",
          "title" => "Hide phoneNumber",
          "undo_prompt" => "Update user property 'phoneNumber' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'planStatus' and set show_in_ui to false.",
          "title" => "Hide planStatus",
          "undo_prompt" => "Update user property 'planStatus' 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 user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n__typename - [View](https://studio.appcues.com/settings/properties/user?search=__typename)\n\n_appcuesForm_how-is-your-experience-using-the-desktop-proposal-builder - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-is-your-experience-using-the-desktop-proposal-builder)\n\n_appcuesForm_how-likely-are-you-to-recommend-block-renovation-to-a-friend-or-colleague - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-likely-are-you-to-recommend-block-renovation-to-a-friend-or-colleague)\n\n_appcuesForm_why-did-you-choose-that-score-we-read-every-comment - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_why-did-you-choose-that-score-we-read-every-comment)\n\naccountId - [View](https://studio.appcues.com/settings/properties/user?search=accountId)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/user?search=createdAt)\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)\n\nlastName - [View](https://studio.appcues.com/settings/properties/user?search=lastName)\n\nphoneNumber - [View](https://studio.appcues.com/settings/properties/user?search=phoneNumber)\n\nplanStatus - [View](https://studio.appcues.com/settings/properties/user?search=planStatus)\n\nplanTier - [View](https://studio.appcues.com/settings/properties/user?search=planTier)\n\nrole - [View](https://studio.appcues.com/settings/properties/user?search=role)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 12 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors