25355844 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 20:22.192
Run Time 01:40.251
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (01:41)
Cancelled
Discarded

Args

%{
  "account_id" => "118919",
  "account_insight_agent_id" => "61a74239-e9ff-4ce3-8b8f-bb82a67bcfde"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "zAfeZ30CGFwcuS3IOKU2dfL13YIGF8beTii5hZp6388",
  "recorded" => true,
  "return" => "g1AAABOxeJy1WMGOG0UQ3ZCEgCMECCEuCNVtE8n2ZsklWQlCWAiJCBwQ4YLQqHem7OnsTPfQXW3HN/6AC//C//AlVPXM7sxaNjveHQ5rz/R2v1evulX13LS3t/fW8j1tvJ7n5JNMkSp47Abxx91SPlRK2pqkKpTh9xt//pwjzLTzBIcPoHK2QkcaPeRqgfB70OnppF4CJ4HIGg9kIdcZAuVYgjaZXugsqKJYTUHAHJZKG23m8KiLd2/ubKjGoLMkeHRjMKrEMUgcSYELLPjZehqDJ0XB83dw9RSZLk/3IVUcBQp7hob5GXGew7GqiBnh6Qv454+/QPlT0HQxypNVpIv/tw5CxYnBDEplYuCsQuaBx3mJhlipLjJ08OrFFJ7rTLRoD8aaSYaeXOB8LGqwRuAKJNMyyaHEwtjKyN+qndEEXyoOaqG9PikQ1FwCVxRnki5xKnt0p064l50byc7dktGbKan4/VOQndt7m5HLiuTx6asoCGKKW8b9lMVx8ElqM9yPEXkk8LldJtokQUuSZqrwNe1t0lSgPH34XDLXXR2PTjCZTVrWr67ByknEaR9p324jwaKocmswMaE8QbeLvI9reWsImyR+c0323jK37iBP4LORyOm9wg52Vu+0gz1Ye0u7lETTLso+uKhM0yZhT67O2VvX8VaOYMitEsUnRD3cRdpHjbTu+k3qvr4Wc2+B311CI6U/VVIKdxH5yQWRLcYmoc+uHUFvsT/2pqrT+/kumj/bormB2iT9h6Hi6Z2Bl/0Zd61Gn27Tv60wfT9MLAOU35rvquW3Xb1b+b2ctbe0oy0k4tKKXTSNoqa4bJOYx1fhiSpey/J3WEFC+IaWN01N8C47MU2819n50N1miFYVng++j28qTNnOJZqLexqDeXhcoDLs4NYd3VJTDtaw5VO1iWsdanReMzlZZs7PdybPeBsyOHwkjrRYEyaOlnIxbu7czbGltTwQyE7IqfQUs3GULaPsYTNxoeLzJF6n0aQ4HY1eKnbeHtnOfgmPH7CNXHl2hfZoNOraKJjAr79oXP52Lyeq/NHBgaeQaTtVVZUG9FNubAecXuIF/qCN8SAG/cSjcmn+RRfxPhOsmZiBSNZQhahjJwYi6SB2Cdj3D4uvKcJ3++pQDF3MDklb2oYlanE3kjVd5P/ibOA3Uw95LjaCd2iH52oIYp0bBjlCMWRdcQaBjC8M2fz6Hga0AWPY4bLaZLO9FhgGtsUTcOsHqhOCxID1lcUwkDWWgNb3HwOh1mAMe3abMgzu+d1M7OE2EK9CX3f0ymnruF3Ly61cz/OLfmL/0v5a3+DE5dLxowOwVWUdBS7Mq9fL29xa68b997HDeKVz2FqPfDXnLovQ3IbBzLqW7ewGJg2ebPkfzV26t8MZOmnYsYe3/dvH/r7EZpoqOIhsxb5vwUPNXO0lg/Xlkfal9uIEzi7opv8CM+HX4w",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "grViBchcog6NhpKrsmF2r2PsbsMW9g/+5W9hSTJKM48",
  "workflow" => true,
  "workflow_id" => "019ddeab-ea30-7d09-955f-dca35aa5f714"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 18 stale visible custom group properties that are not referenced by experiences and were 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 8 properties (group, id_user, name, plan_level, post, status, surname, username) 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 group property 'calling_code' and set show_in_ui to false.",
          "title" => "Hide calling_code",
          "undo_prompt" => "Update group property 'calling_code' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'cellphone_number' and set show_in_ui to false.",
          "title" => "Hide cellphone_number",
          "undo_prompt" => "Update group property 'cellphone_number' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'company_name' and set show_in_ui to false.",
          "title" => "Hide company_name",
          "undo_prompt" => "Update group property 'company_name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'company_nit' and set show_in_ui to false.",
          "title" => "Hide company_nit",
          "undo_prompt" => "Update group property 'company_nit' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'country_alpha3' and set show_in_ui to false.",
          "title" => "Hide country_alpha3",
          "undo_prompt" => "Update group property 'country_alpha3' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'country_indicative' and set show_in_ui to false.",
          "title" => "Hide country_indicative",
          "undo_prompt" => "Update group property 'country_indicative' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'country_indicative_alpha2' and set show_in_ui to false.",
          "title" => "Hide country_indicative_alpha2",
          "undo_prompt" => "Update group property 'country_indicative_alpha2' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'country_indicative_name' and set show_in_ui to false.",
          "title" => "Hide country_indicative_name",
          "undo_prompt" => "Update group property 'country_indicative_name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'country_name' and set show_in_ui to false.",
          "title" => "Hide country_name",
          "undo_prompt" => "Update group property 'country_name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'email' and set show_in_ui to false.",
          "title" => "Hide email",
          "undo_prompt" => "Update group property 'email' 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 18 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\ncalling_code - [View](https://studio.appcues.com/settings/properties/group?search=calling_code)\n\ncellphone_number - [View](https://studio.appcues.com/settings/properties/group?search=cellphone_number)\n\ncompany_name - [View](https://studio.appcues.com/settings/properties/group?search=company_name)\n\ncompany_nit - [View](https://studio.appcues.com/settings/properties/group?search=company_nit)\n\ncountry_alpha3 - [View](https://studio.appcues.com/settings/properties/group?search=country_alpha3)\n\ncountry_indicative - [View](https://studio.appcues.com/settings/properties/group?search=country_indicative)\n\ncountry_indicative_alpha2 - [View](https://studio.appcues.com/settings/properties/group?search=country_indicative_alpha2)\n\ncountry_indicative_name - [View](https://studio.appcues.com/settings/properties/group?search=country_indicative_name)\n\ncountry_name - [View](https://studio.appcues.com/settings/properties/group?search=country_name)\n\nemail - [View](https://studio.appcues.com/settings/properties/group?search=email)\n\ngroup - [View](https://studio.appcues.com/settings/properties/group?search=group)\n\nid_user - [View](https://studio.appcues.com/settings/properties/group?search=id_user)\n\nname - [View](https://studio.appcues.com/settings/properties/group?search=name)\n\nplan_level - [View](https://studio.appcues.com/settings/properties/group?search=plan_level)\n\npost - [View](https://studio.appcues.com/settings/properties/group?search=post)\n\nstatus - [View](https://studio.appcues.com/settings/properties/group?search=status)\n\nsurname - [View](https://studio.appcues.com/settings/properties/group?search=surname)\n\nusername - [View](https://studio.appcues.com/settings/properties/group?search=username)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 18 stale group properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors