25352365 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 22:17.353
Run Time 00:40.214
Inserted 3h ago
Scheduled 3h ago
Completed 2h ago (00:41)
Cancelled
Discarded

Args

%{
  "account_id" => "24780",
  "account_insight_agent_id" => "e5d39f33-728f-4c7f-8f7b-b2d8e72e956b"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "Z+WqpH+nDVJp0D01Xz/Q2d6YIPe2idG/eK644MKd0BY",
  "recorded" => true,
  "return" => "g1AAAAgAeJytVcFu00AQbWkLNBWq+IO5oFKpSUBFglZqC6pAReKEBBeErI09iae1d83uuKlvfARfxF/AkS9hxg5xWqWijXqJ1+uZN+9NZt/y0tLSvfGadYwhl/XvY4+GMYHnUHhXoOcK0mpEaBHIBhqlDGbI6MHjOeGY7AgCmwzhnAIN5FkG+TjJJQzgskQ2ODUWdp9BYqrQg3eu9GCd7ZqS3WzwGL0gWI9DWdhYeAwqwAv5TPoawNhEEoVDJjyTCmJ3LpGTMAqsfBQ4oZBTCPJlwjr0xo/+LaPECGVRu8zys6G6N0zM5GxUZMbq+8+3Jk7bFpiB1IHUCAH4VlJ81m3iYVAyy0NUpJRIixiG3uUiFyHgKEfLEkLagh6cUKL0KDQMMbAvBUWA/3z/0dZSchrkkQ1ZUaCaFXAaEUsvBwi5Sdq2m5EEg5HO2AqYcuypjAcNzaBiV1Xsqu6uxGzq58eyFntfkPOCdXn4qZD6l//FCrYiUxRxieF9slXTCcgQUjeOyEYlqfyhyUJTc42JM9TV5on2pM2tG13axEVtwYNFC0rzsHcTSa+vqZBXbxYR9bgRNZM9T9bR4kVvLGxvfg3MDWW3UdSpFdVp86S8WqDMjTVcA25NjreRsF5L0Kx5Cl7evkgt4FSTHwr5iPGCxyu2adC6nGriKqJkurUx2eKqwOnmphpXLGYaUV7IQdS93eMMjRUaV9wBxsQpOJuJ1zSe0LpifZCHZNU9ZL38S+xTSL+YGO9VwxWrFRfwU2vYaQxTnLbL3sRnmOxMbbQMjXeqabQ22+t0PpggLUG0cAh7jW2Lxbj9Tqc9mdCFL5/lDvj6NGUuwn6/H7hMyPUmEb3Y5X1prZpy6LcM+8r4KKDxcXrQwm0L9szxuBv0GUDBr2f2ToBrJEHUGboTQAXarufNlSwJGJrpKzw5L6OlL6upXF+XB//Jf2ahuZfqZJ3NelZdUTjPpRXU07+vj7HP",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "QowNFvPI7FTUTRKM/A+5+Qj1n6jBvwHfkRbegW6+xN0",
  "workflow" => true,
  "workflow_id" => "019ddea7-5777-703d-a6da-74be81dc3b82"
}

Recorded Output

%{
  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 '_appcuesId' and set show_in_ui to false.",
          "title" => "Hide _appcuesId",
          "undo_prompt" => "Update user property '_appcuesId' 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 'email' and set show_in_ui to false.",
          "title" => "Hide email",
          "undo_prompt" => "Update user property 'email' 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 4 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesId)\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\nemail - [View](https://studio.appcues.com/settings/properties/user?search=email)\n\nname - [View](https://studio.appcues.com/settings/properties/user?search=name)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 4 stale user properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property hygiene insight after reviewing stale visible user properties older than 30 days. Four non-auto properties were unreferenced by experiences and not already covered by existing non-dismissed insights."
}

Errors

No Errors