25352837 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 09:05.323
Run Time 01:04.836
Inserted 3h ago
Scheduled 3h ago
Completed 2h ago (01:05)
Cancelled
Discarded

Args

%{
  "account_id" => "61092",
  "account_insight_agent_id" => "5dcdd058-95db-4d5d-b129-1737824242ea"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "epxod7hdIkiL3peGSPwDA4Urio1VC+ZRO2P0sABFY/o",
  "recorded" => true,
  "return" => "g1AAABF1eJy1WM1u20YQdhqnaRUUadFLjnuqEyCUogYp0ABJqhpwY6CnNM6lKNg1ORInJneZ3VkpvPUh+kZ9kz5Cn6CzS1mkG7oibeVgmVpxv5/h8tshaW9v75PVF6gsLjKycSpJ5jx2g/jjTuE/ZEKoVVzmUvH3G69eZyDmaCyJ6SNRGl2CIQQrMrkE8c5hchbVU8SpI9LKCtIiwxQEZVAIVCkuMXUyz6ux8GAGCokK1UJM23j3lSzggUgkA4EHSEExhNFukYlDWRJPErNj8fcffwppzwTSRaLTSniE8Ls2wpXsDVJRSBW4WYg/T1hYFKCIxWKeghEnx2PxElMvB61QWkUpWDKOLS1rsLXGSvhi+ZMMeC2MLZX/q5oz1uILyaKWaPE0ByEXXrikcCZhAWNf5tt1zawv/sgXf9+P3kxIhv+vnC/+3qeMXJTkD5+fBEPCWRa9ITyIY6pK8MYPghwLJGymVzGq2KGv0Fzmtua8RUg5+KO7L33ZmrnhwjuV6rghfHZVQi4ejPtYenMJgyzLxIE90qaIV5mkiMsarSBKdXQKRGCGWD2orW7F7CrBya4F9i6N7MOsXZ5GlXaRgUQXvKrTyNmIdKR5oRs7pErfdlRpC3xXwX7/iLJ71+6HS0QU1ayWcZwOKc1XdWlas7ucv7g6aW9jP3VzcBFLzpbZEoxcwC+JNoOy4F7w1wHSZfPo2hJ6u/3xf6ler3BoEnzdNrqe3+Vxdh3i667SxOXkzPCrWK/S9uwBq7QP6XWNzVFJlVzVWHv2AGN9SHsbu4QjA5lTNtjXl8FXa3KXrUs2/R6UvV19102BgzLydjCDncn4ZChBkP7WT/2MZccE72l1U2HuRz7n1g2pijHdDN1ZD/m2ZDN4F96XkHD/FyPftUkQ8vgwB6lYxH9bQL6jM6EV94iy7vqarjSYm/seVi34eP+fI832xHQqLDfOF035JpYy3+iZTff3kDtKHnC8u5GRyRmkD4NrP8pzU9+1+r7QyzUIvFbHo9HPkpttC9z+PhffP+K2s7LcReqno1HTfIlI/PoGYfXb/YyotE8nE0suRT1eb7VjjqsJ15ZYuJ00Cide8QsL0iTZswbuAWNv7Wp2w7mV5gMtWxqGjyBrC6NX2NrYdyOgBcj4HTvqTmg6cBu29d62S6I1pOdobTK7YWgBMn4763eC3wZk/Fbo7gS+hcfouJtVhH7t7CwfQjKEINaOeALYOpZLg9pw5vov+xkusou7wTfbQrJ+bA+zfQCFFNdlqQ05xbBvV7c4H+vw/evQQHiOnzZ7R1YtOCp5v6nfYog5P+5vyM4fuxNnSRcfcOuQ+BzTSjyuo3UsZnkuVsCX1SkDcz7gqx6SuUllu0ltmbOglB/1Nd9C56eh9XWs3x6gLdD6aD9/yTL+FxRe+pA",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "uuRSBiE+fdBh+uedhZ3j4uqkRjhE2rjYOfN7tV2+bB4",
  "workflow" => true,
  "workflow_id" => "019ddea7-5781-7fdd-9022-3e6ea8d2e14a"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 11 stale visible custom user properties older than 30 days. All were unreferenced by experiences and not already covered by existing non-dismissed insights.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 1 properties (name) 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_what-can-we-do-better' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_what-can-we-do-better",
          "undo_prompt" => "Update user property '_appcuesForm_what-can-we-do-better' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_would-you-recommend-us-to-others' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_would-you-recommend-us-to-others",
          "undo_prompt" => "Update user property '_appcuesForm_would-you-recommend-us-to-others' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_myAppcuesId' and set show_in_ui to false.",
          "title" => "Hide _myAppcuesId",
          "undo_prompt" => "Update user property '_myAppcuesId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'companyAverageScore' and set show_in_ui to false.",
          "title" => "Hide companyAverageScore",
          "undo_prompt" => "Update user property 'companyAverageScore' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'companyTwitter' and set show_in_ui to false.",
          "title" => "Hide companyTwitter",
          "undo_prompt" => "Update user property 'companyTwitter' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'cultureScore' and set show_in_ui to false.",
          "title" => "Hide cultureScore",
          "undo_prompt" => "Update user property 'cultureScore' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'financeScore' and set show_in_ui to false.",
          "title" => "Hide financeScore",
          "undo_prompt" => "Update user property 'financeScore' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'healthScore' and set show_in_ui to false.",
          "title" => "Hide healthScore",
          "undo_prompt" => "Update user property 'healthScore' 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 11 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_what-can-we-do-better - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_what-can-we-do-better)\n\n_appcuesForm_would-you-recommend-us-to-others - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_would-you-recommend-us-to-others)\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\ncompanyAverageScore - [View](https://studio.appcues.com/settings/properties/user?search=companyAverageScore)\n\ncompanyTwitter - [View](https://studio.appcues.com/settings/properties/user?search=companyTwitter)\n\ncultureScore - [View](https://studio.appcues.com/settings/properties/user?search=cultureScore)\n\nfinanceScore - [View](https://studio.appcues.com/settings/properties/user?search=financeScore)\n\nhealthScore - [View](https://studio.appcues.com/settings/properties/user?search=healthScore)\n\nid - [View](https://studio.appcues.com/settings/properties/user?search=id)\n\nname - [View](https://studio.appcues.com/settings/properties/user?search=name)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 11 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors