25353733 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 05:02.203
Run Time 01:36.460
Inserted 3h ago
Scheduled 3h ago
Completed 2h ago (01:37)
Cancelled
Discarded

Args

%{
  "account_id" => "200664",
  "account_insight_agent_id" => "8975b785-2783-4de1-88f9-90a4534e2567"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "9QVZ/PDCsNLMzUqsPEzzE8NQ81Q61uZZcRMpDpAlGO4",
  "recorded" => true,
  "return" => "g1AAABVMeJy9WM2O2zYQ3jQ/bTdo+wjlqdkFQnttyT8KmgbBAkECpD0ETXooCoEixxazEqmS1Hp9y73H9p36HnmSDiWvHbdWIq/tHtZL05z5vvlEcWbojo6OPpt9JZWV09TZWDDHMpy75fDjfu4/GHdSq7jImMLvt179nAKZSGMd6Z2RwugCjJNgScougfxeSn5BaxOSlM5pZYnTJJUCiEshJ1IJeSlFybJs3iHemYGcSSXVlPQ+9HdidAanhDN0BN6BAIUujC6nKTlnhUMj8vQFef/uL8LsBZFuHSiZE8VyqH7XhpQFxgaC5ExV2EjEryMWpjkoh2RlJsCQ1y865LkUno60RGlFBVhnSgzpsna24DgnXiy/yIDngr6Z8n/z1YoF+ZwhqUtpZZIBYVNPnLlqpZM5dLzMn9eaWS/+sRf/jp+9zR2r/r8qvfhH99BzXjg//Ol1FRApLZJeAj6IWVHwEuwzbfLYwASMYRlNmLp4UNGz4IhN9SyWKi6lV2zCMltzuOuky8CPvn3uZWz2VW2MUgkdrwj9uC9CKDZ02kjwyzaIfpNllAlhwNpttDj5iBZrTjeJ8mbvFFurk2wD7d8UWr3VFGFpxnDg57YRKviIUE3+N2nGDkm8tXyqgQVc4UiC4hALaXNpLYi4dzYJBR8xGg4GIxqeRSGNxDihgej1g0Efwv5EbCPlk1rKG2NtkjX/vwI6jMSjsD9OOHAasaBHw2jQo2w8jJBWyIKAR1xAsi+J22DtLPEuAR1GYsGDZBCGEzoIE6BhbzSi44BN6JBzGEIQ9AMx2pfEbbB2lniXgA4j8SSIBrzPAjqK+hzfKw40SgAJDpMoZD3g/fFwXxK3wdpZ4l0Cai3x482MuAFf0j112yj2daXY0nSTAN/fEG7XeHzyeqmnUm0fz9J0i3g+Cdc6nvFmgG0LiC+rUJrKgtH2IFUAb73xF0g+dnDlZreVzCowLPqlm8dSLKfuL6bcvIDl5Dd+23N87rHMCyzSq0rnPAOmkMa/m4eZdCnRCrsLVvcLq36mKvInvvtRUxzf++OZxgBJr0cstlzrYfn2x6W+RTDLvuEh9iI4UTpNnWH8AsTDKmo/i7bC9zu+o1i9pZ3j45f4iJEkNk4/kOgMG5a5xf5DPzo+bi7LCSW/vpEw++0kda6wj7pd60ohdWdh0eE676LWDgOx3RXjro/giQVmePq42f1pE/Za9XtAEms4jWya6soDEmuC9BxvXKTth++N4Ru5t6l+Dsi9DXwj9zZlxQG5t4Fv5N4mXx+Qexv40w/PreHZ+3d/rh9dyzy8F55Lbwi7zIh78bz0hp73dnQsDgR/N7YXf9UlW5UhdenQAGydLwsjtcFk6L/cSeU0XU/V330qe9U3cZW1T6dVetVFoY0rFbp9O7uLiavOin+f149gdf03J+l8ilsHyOJikky0WYFd36Tx0jqdN2fO/yZMP1Odt35bbkiZq5TKMiQl5oTrS1xdLYUrab2W9aXg9Za+pmg7/wCCHyQM",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "dXKWGWupy/VyVOjg+dFWvE584UQOTrZEAAgzvxdn4wM",
  "workflow" => true,
  "workflow_id" => "019ddea7-579e-759d-8ebe-30fdd9a5b567"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 1 properties (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 '_appcuesForm_referral-bank' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_referral-bank",
          "undo_prompt" => "Update user property '_appcuesForm_referral-bank' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_referral-email-address' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_referral-email-address",
          "undo_prompt" => "Update user property '_appcuesForm_referral-email-address' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_referral-name-first-and-last-name' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_referral-name-first-and-last-name",
          "undo_prompt" => "Update user property '_appcuesForm_referral-name-first-and-last-name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_experience_dismissed_10f4dc7a-4557-4094-9d8b-3d12352e42fd' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_10f4dc7a-4557-4094-9d8b-3d12352e42fd",
          "undo_prompt" => "Update user property '_experience_dismissed_10f4dc7a-4557-4094-9d8b-3d12352e42fd' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_experience_dismissed_7428bcec-9a31-4951-a869-9d4a33c9cdeb' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_7428bcec-9a31-4951-a869-9d4a33c9cdeb",
          "undo_prompt" => "Update user property '_experience_dismissed_7428bcec-9a31-4951-a869-9d4a33c9cdeb' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_experience_dismissed_dc3b544f-54be-4177-83af-6cce6e3323d7' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_dc3b544f-54be-4177-83af-6cce6e3323d7",
          "undo_prompt" => "Update user property '_experience_dismissed_dc3b544f-54be-4177-83af-6cce6e3323d7' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_experience_dismissed_f395c2a3-792c-40ce-9bef-56b94a1ec286' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_f395c2a3-792c-40ce-9bef-56b94a1ec286",
          "undo_prompt" => "Update user property '_experience_dismissed_f395c2a3-792c-40ce-9bef-56b94a1ec286' 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 'lastLogin' and set show_in_ui to false.",
          "title" => "Hide lastLogin",
          "undo_prompt" => "Update user property 'lastLogin' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'name' and set show_in_ui to false.",
          "title" => "Hide name",
          "undo_prompt" => "Update user property 'name' 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_appcuesForm_referral-bank - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_referral-bank)\n\n_appcuesForm_referral-email-address - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_referral-email-address)\n\n_appcuesForm_referral-name-first-and-last-name - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_referral-name-first-and-last-name)\n\n_experience_dismissed_10f4dc7a-4557-4094-9d8b-3d12352e42fd - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_10f4dc7a-4557-4094-9d8b-3d12352e42fd)\n\n_experience_dismissed_7428bcec-9a31-4951-a869-9d4a33c9cdeb - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_7428bcec-9a31-4951-a869-9d4a33c9cdeb)\n\n_experience_dismissed_dc3b544f-54be-4177-83af-6cce6e3323d7 - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_dc3b544f-54be-4177-83af-6cce6e3323d7)\n\n_experience_dismissed_f395c2a3-792c-40ce-9bef-56b94a1ec286 - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_f395c2a3-792c-40ce-9bef-56b94a1ec286)\n\nLast seen 60–90 days ago:\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/user?search=createdAt)\n\nlastLogin - [View](https://studio.appcues.com/settings/properties/user?search=lastLogin)\n\nname - [View](https://studio.appcues.com/settings/properties/user?search=name)\n\nrole - [View](https://studio.appcues.com/settings/properties/user?search=role)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 11 stale user properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property hygiene insight for 11 stale visible custom user properties that are not auto-tracked, not referenced by any experience, and not already covered by existing non-dismissed insights."
}

Errors

No Errors