25354109 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 01:47.871
Run Time 01:07.968
Inserted 3h ago
Scheduled 3h ago
Completed 2h ago (01:08)
Cancelled
Discarded

Args

%{
  "account_id" => "215549",
  "account_insight_agent_id" => "197e76ae-7f6b-4af0-aa0f-71f8e615ba2d"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "2O7mRH2ipTdRSQjtyggUoFQYHkUqwp5Gup0dS3KvaDY",
  "recorded" => true,
  "return" => "g1AAAApCeJytVs1u1DAQLrT8dCt+HmEuqFRid0FIQCvaHipQkRAHJLggFHnj2c1AYgd70m1u3LnyRNx5CZ6EsbMkBW3V3bKXxHY83zff2DMTXltbuzq9ZiyjL2T888ihYtTwCEpnS3Rc97N6QmgQyHiaZAxj6+AJeFY5wgl5Gsk7rTzbAiqP7o8hoQeba1ngTBl4/BC0qn2YMCiHIJzgcIwOTSqEZABPxY7CFFyVi7kyGqY426tycU3XkNoTWdIwqsWAPJOZyHfT1+QL8j5CRUf9YHrrzzDRSvwVgVdYHltB6pZKmaxJylyZMP/xQqVZqxrUSHggU+IFfKko/dxv9sOoYpYXW8hIS1QkIE6kc4bgcVKgYdlCQfgAjkkH98g3HqJnVwmKAP/6+r3jCs6FTQ5ZkREFQXgAbHekEsERQqF0F3M1kc0QomlqYCpwEGTcaNz0Qez1IHYjrK6nrOL7bRXFXhfkouQwPHhXCj/+dXY1bCeqLNMK/Su9Hd3xyOAzO03IJBUF+WOV+4bzGhPnGEZ3jkNMOtsY6Mpom3SE+5cllODhYBFJ5zCoNLWV4eUU3Y6KWtN5gp5fkm5hPYfzCVL5Lmf/RhW4jKK7UdEZ43mazrkVC1AurGp3PgUWivJl9PSinmg2T8mzS9D8700bk/O87Lk0N601XeKmXUi3sJ5zguVsvpSUzSglWM1T8XR5kijgUzC+Kc4njKc8XTfNgW9KySWuE9Lt0tZsiesS28U7ob+k0twSkkucRlceH+WojLjxT+mGKXEG1uTSCJqC3XW1WGXHZEJpl/HVby8lzXXbEv/tgW3Dm9XtB003q9j22an0M+oHUXRYrXzT2EJF77rhoNd7rbyEBNHAAezOOqma2L1eryub0IcP7wmnH+9nzKXfGw49V5rsYLZjIMk7lNCGjumHnYfD4PGhR+XSbL+D2+n12gq2EugWTZDP1JGVYJ/BE/SY2yvBjUiC2GbYSlBbNEEOt34loAFoJ2aIrVgM0Df5UjqyTpIhTDYy+Rv6O1XvXXB7m9+caByyKWaXLUvruDKC+uk3Db1xng",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "WJ4h+qkFCAi9lIzDW8EKi5+1yO2OaR1kMLUSRNMLbPA",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a7-703f-8dca-35c760ce5a0a"
}

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 'accountId' and set show_in_ui to false.",
          "title" => "Hide accountId",
          "undo_prompt" => "Update user property 'accountId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'companyName' and set show_in_ui to false.",
          "title" => "Hide companyName",
          "undo_prompt" => "Update user property 'companyName' 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 'firstName' and set show_in_ui to false.",
          "title" => "Hide firstName",
          "undo_prompt" => "Update user property 'firstName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'role' and set show_in_ui to false.",
          "title" => "Hide role",
          "undo_prompt" => "Update user property 'role' 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 6 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\naccountId - [View](https://studio.appcues.com/settings/properties/user?search=accountId)\n\ncompanyName - [View](https://studio.appcues.com/settings/properties/user?search=companyName)\n\nemail - [View](https://studio.appcues.com/settings/properties/user?search=email)\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)\n\nrole - [View](https://studio.appcues.com/settings/properties/user?search=role)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 6 stale user properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property-hygiene insight for 6 stale visible custom user properties older than 30 days that are not referenced in experience rules and were not already covered by existing non-dismissed insights."
}

Errors

No Errors