25353657 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 15:07.742
Run Time 01:07.834
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (01:08)
Cancelled
Discarded

Args

%{
  "account_id" => "143006",
  "account_insight_agent_id" => "0901ba46-b73c-44f3-b327-35806d8dc776"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "QuO5vS9F4mTfS+zgUAekbuBKCIaIpmnpqHsNMR8jsNw",
  "recorded" => true,
  "return" => "g1AAAAtweJytls9u00AQxkv/UEiogDeYE6VSm4B6gBZKQRWoSJyQ4IKQtbEn8bbOrtkdN/WNh+CJeAAeAon3YGadxC0kkES51Ovtzjfz2+zsZ1pZWVkdbBhL6Ps8/nHiUBEm8BhyZ3N0VEJa9jQaBG287qXUgje2MAk8AU8qQ7jQXnf4GReebB96zhb5KFijB5sl6IBSZWD/ESSq9PJCoBwC5wWHXXRoYk7aKQEvOU7LqwfFWQY4XKYyriwpIbYXPBXWsiJeak/a9HiJ2Uu072vv+Z+jUgdbw5GPEsXVMuEN4j9NYW2qmLQ1UZ4pI+/fX6s4rbFVhzNBqrgO+FLo+HyvWg+dgogfZCHVCW8LQdcxOKUIHnt9NMRLtFC34FQnUp32VYHoyRWswsI/v36rc0lxssghKW0YQNBFcLwiZtgOQl8l9Y6rHi8G2UpTAuk+tgRjsyrTC+ymwK7L7FpMKjzfFwH2Jiv3c5Lh0Yec8+P1X66E7ShMvE22QzUeCXxqB5E2UaGFvqsyX6XcIE0ZymjrVLZkFBl2mc+KjepszxfMxhuHrVlwDqclMKqP87A0KhYJmwRysEiemSmmqceaynkgbgcIiZrE8HSBLDMjvJwmnnF/U0RlPtfPca8iqYMnAR0vnnNmrlfTcvAC7sS5z9n9CuxK9CSyqbs5Q9aZ0aY1Z8w3Prm5Dt6dIVUInAT0bLFcM7NM03fY4+txHpRmQKniJpFMu3H+nSmAnEn8LYaICC9psGZ0FrqWDyu3YKST8VRzOCVHeDx5V+wyZr+ONJ+COFSzf5KhMmy5f5gRDDSlYE3G1lZZUG3SwTe62ohZ8Xj113WL/8vTxwY+tKLdyqILsnvkVHyOyW6gltnCj9z6qru3Go13yvOeIBp4AQfDLwPVs4eNxsgLYA8+fdQ4+PwwJcr9YbvtqUi0bak8jwv0LT78bd5Z+QLw7bq+dog/9qhcnB6N1HZYWLpkSaoixZJyVS5HUZREsL6qlqRbC4r8lftiSfpXFEOC0L/L0g5iLFs103JUK62d0Hu2II5BX3Vi7rR1Q7NcT/nL8fpN8OB/fVF9E4bosUXZPLeOCsOyZ78BUYjaiw",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "aU/khyX9U2B1nqlnAOCj5TRYTaxAbHHglFq9z19gYmM",
  "workflow" => true,
  "workflow_id" => "019ddea7-579d-74c4-aea2-b98a3a84bd9e"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight. Found 7 stale visible custom group properties older than 30 days that are not referenced by experiences and were not already covered by an existing non-dismissed insight.",
  insights_data: [
    %{
      "action_plan" => "Each property above has a quick-action button to hide it from the segment builder. Hiding is non-destructive — property data is retained and the property can be made visible again at any time.",
      "actions" => [
        %{
          "cta" => "Run",
          "prompt" => "Update group property '_groupId' and set show_in_ui to false.",
          "title" => "Hide _groupId",
          "undo_prompt" => "Update group property '_groupId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property '_name' and set show_in_ui to false.",
          "title" => "Hide _name",
          "undo_prompt" => "Update group property '_name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'city' and set show_in_ui to false.",
          "title" => "Hide city",
          "undo_prompt" => "Update group property 'city' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'client_type' and set show_in_ui to false.",
          "title" => "Hide client_type",
          "undo_prompt" => "Update group property 'client_type' 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 'country' and set show_in_ui to false.",
          "title" => "Hide country",
          "undo_prompt" => "Update group property 'country' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'region' and set show_in_ui to false.",
          "title" => "Hide region",
          "undo_prompt" => "Update group property 'region' 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 7 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_groupId - [View](https://studio.appcues.com/settings/properties/group?search=_groupId)\n\n_name - [View](https://studio.appcues.com/settings/properties/group?search=_name)\n\ncity - [View](https://studio.appcues.com/settings/properties/group?search=city)\n\nclient_type - [View](https://studio.appcues.com/settings/properties/group?search=client_type)\n\ncompany_name - [View](https://studio.appcues.com/settings/properties/group?search=company_name)\n\ncountry - [View](https://studio.appcues.com/settings/properties/group?search=country)\n\nregion - [View](https://studio.appcues.com/settings/properties/group?search=region)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 7 stale group properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors