25367432 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 09:36.205
Run Time 01:03.337
Inserted 17h ago
Scheduled 17h ago
Completed 16h ago (01:04)
Cancelled
Discarded

Args

%{
  "account_id" => "101636",
  "account_insight_agent_id" => "d8c45254-a9bd-4c40-a9d7-9be3bcb2e71b"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "UPEt8XHT8qI7Kz03/n+o3KZ48JQosoqKkppx7madllA",
  "recorded" => true,
  "return" => "g1AAAAuweJytVktv00AQLpRnykMcENe5IKjUJCAOQHmrgDhwQEVwQSja2JN4wN41u2NCbvwIfhFX/gW/hJl1mpTUhaTNpV5vZr7HuDuzvLa2dnJ02jrGUMj6145Hw5jCbSAbaJgxDJyHuxDY5AhfKVBfnkkV2BVQBfRQeleiZ8IALk9lgzNj4c4tSM046AvDCD2CcIDHgSxtIgT9MeA3SSR9DWBsOgszuahIx5C4r7IVYzlDiafAZIcSY9sphYJCkF9VRXufionwzujiZBV6qRH5Yu8Ey58NNbphEiZne2VurL7/fGGSbM/LGExfqCEzIgy+VJR8btfx0K+Y5cEOMkoRSOrjpRIqL+CwQMsSQlqHDryiVNVSqAVjYF8JigD//v5jxqXiNMgjG7JiSGuhgNOIRAraRyhMOvsEZijBIMU1VqpDBXbUxtlaZlCzZ9XsKd1dT9jE524VzZ4R5KJkXd57Vwo//vUpx3AjIR7fiEICMoTMjXpkexWp8YHJQ812molz1NX5V1oNzYrFrWzqejOSu8uTSKmws4iB54dgy+85yn/yG+8GlOMyZq7WZuYQmoztHI98YZMPDuOpLPulPtSFibeY2GRp+0hUCzt5dAh83Xae8TJeLtVe9lKb3Dw8It3Cfl42E2BhKH9b9UPiqYwnchlj16KxgxhNDl8cV8DCVp82M1HY1c5GiRR0GZNXosn92U32nhyddGFj95s5ZOTxUn2jFR3FtCYrh7Taf9JED580+5zo7zF+49G6pTz2XBk20kF7lE63NiZbPC5xunlZ56wWqkdFKfNB9+7s5Gis6JgbWjAizsDZXEZgPapmgzXOlwFZHWqyXj/xUnpCOr0bzF8G4uQ3fjqxturRXrFrszfJZ0y3omndrUI95XWWzW4FnVbrtQlSEkQLj+H+5Ephhm671dLhAW348J5w9PFmxlyG7W43cJWS65iyTCoMHWnEXSmqXhpCd6atq1qfBDQ+yR4p0KbgzfXs1WDPgUae2EhXBB+xFHWvoa0Gdw9NkA82kpVQHIQVrv2neiUs+wEFPx61lQBHpM14Ll3FkoGhPqWlJ+cn16BTmdw+/24R1/9zZuprZUzWMxzPtCtL57mygvrpD7r39AI",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "VuaW6HK2or2o3omePy1gZRqAwFJ1RhAAPjo0jMCy6Uc",
  "workflow" => true,
  "workflow_id" => "019ddebe-3a16-72d4-a1d7-d774ab875498"
}

Recorded Output

%{
  notes: "Created 1 insight for 7 stale visible custom user properties older than 30 days that were not referenced by experiences and were not already covered by the existing non-dismissed user-properties 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 user property 'city' and set show_in_ui to false.",
          "title" => "Hide city",
          "undo_prompt" => "Update user property 'city' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'completedProfile' and set show_in_ui to false.",
          "title" => "Hide completedProfile",
          "undo_prompt" => "Update user property 'completedProfile' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'country' and set show_in_ui to false.",
          "title" => "Hide country",
          "undo_prompt" => "Update user property 'country' 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 'emailSubscriptions' and set show_in_ui to false.",
          "title" => "Hide emailSubscriptions",
          "undo_prompt" => "Update user property 'emailSubscriptions' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'isRestricted' and set show_in_ui to false.",
          "title" => "Hide isRestricted",
          "undo_prompt" => "Update user property 'isRestricted' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'state' and set show_in_ui to false.",
          "title" => "Hide state",
          "undo_prompt" => "Update user property 'state' 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 user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\ncity - [View](https://studio.appcues.com/settings/properties/user?search=city)\n\ncompletedProfile - [View](https://studio.appcues.com/settings/properties/user?search=completedProfile)\n\ncountry - [View](https://studio.appcues.com/settings/properties/user?search=country)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/user?search=createdAt)\n\nemailSubscriptions - [View](https://studio.appcues.com/settings/properties/user?search=emailSubscriptions)\n\nisRestricted - [View](https://studio.appcues.com/settings/properties/user?search=isRestricted)\n\nstate - [View](https://studio.appcues.com/settings/properties/user?search=state)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 7 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors