25353909 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 01:49.527
Run Time 00:48.552
Inserted 2h ago
Scheduled 2h ago
Completed 1h ago (00:49)
Cancelled
Discarded

Args

%{
  "account_id" => "209636",
  "account_insight_agent_id" => "d3f53197-7d37-4053-9ee5-cc2e2a5e8b97"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "1796ZYipNBgO4kBQ7dTEesUTDUkqDJmHzDDyFWQ3eIk",
  "recorded" => true,
  "return" => "g1AAAAiGeJytVU1vEzEQLf3gIxWCO5c5gEqlJgGVC5Vo1URFPXBAreCC0MpZT7Jud21jj7vdGz+Cf8ONn8IvYbybJmnVln7ksmuPxvPeG8++pYWFhcVyRRtCX/D6d9+hIJTwFqwzFh1VkFUjhRpBaa9GGcHQOHgHnkSOcKK8GvA7DZ5MAcGjOzuo0IPJJQcoExo234AUlY8bAuEQGBMcDtGhThlwUIHQFeApn1UxxFsJJY4zRc7EZAWpOeFQk56SOpnQ8p3y6dkykYLZsZwHxI/VKGw1Zhud2FzouP+zJ9JsqlEMuC5kwoOAH0Glx+0mHwaBiF9kIFOSwVi+Y6GUIXgcFaiJU1SU2YF9JZUegfLMWLclenKh4fj3568pViQXkxySUJq1RKGx4CQj5X4NEAohpx0WI06G2DvuEqkCO1HGo4amj2KXo9jlGF1KSdTvg1CLfciVC0txufPFMj6eu6kK1rwobI6feb+7VvPxSOAzUyZKJ0FF/UOR+wZ0hRTlGFfP92NTZg7XrQ5ammQKuX1nSO4fduaiqncfVb07qboS8saqDq+AyEzI5SHX3CsGKFHuWtsP6PtGE8/jbZS+bJReX/Ay9QdzpXbfew76WJtSH5gcb3/PM4dvcc83gKxVHcUaj1lRQnhK5ZJWeYw84W4oqhIlJ6HVcYgqi5Pgs+iHKRtyogrL33qMbfZzFJrZXDAgKBVlYHQ+scapE9deMVQ6GhSvF198NKxzYuMXfXti0mP32Wg8OJBpkxPpMcqNWnSM8tlL3LvTan0SnluCqGEb3o/dX4zMVqs18+lDG759VVh+f50RWb/V7XoKUpmOsDblyemkpuhyb4mJ++6UYjdS3vEoXJp9mKm3Plu9N+fqvVj9+hGfD+L1GMxiZvzmgjhTb72eWBOIz6Fv5tc6ZRwPZ9wsZ/yPPf8hvfrPNDU/z/pwnO562o21xlHQXPXoH1id51Y",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "ZYVe4D61IEvNFQw92HJG9CUln/LYl0O2LUrR4PZpZ90",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a2-7e2b-8030-141466a5ca52"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 4 stale visible custom user properties older than 30 days that are not referenced by any experience and were not already covered by active insights.",
  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 'samplePropA' and set show_in_ui to false.",
          "title" => "Hide samplePropA",
          "undo_prompt" => "Update user property 'samplePropA' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'samplePropB' and set show_in_ui to false.",
          "title" => "Hide samplePropB",
          "undo_prompt" => "Update user property 'samplePropB' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'shouldShowEmbededAppCuesContent' and set show_in_ui to false.",
          "title" => "Hide shouldShowEmbededAppCuesContent",
          "undo_prompt" => "Update user property 'shouldShowEmbededAppCuesContent' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'unknownRole' and set show_in_ui to false.",
          "title" => "Hide unknownRole",
          "undo_prompt" => "Update user property 'unknownRole' 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\nsamplePropA - [View](https://studio.appcues.com/settings/properties/user?search=samplePropA)\n\nsamplePropB - [View](https://studio.appcues.com/settings/properties/user?search=samplePropB)\n\nshouldShowEmbededAppCuesContent - [View](https://studio.appcues.com/settings/properties/user?search=shouldShowEmbededAppCuesContent)\n\nunknownRole - [View](https://studio.appcues.com/settings/properties/user?search=unknownRole)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 4 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors