25354069 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 08:31.386
Run Time 00:42.027
Inserted 2h ago
Scheduled 2h ago
Completed 1h ago (00:43)
Cancelled
Discarded

Args

%{
  "account_id" => "214016",
  "account_insight_agent_id" => "8c6c577e-69f9-411a-b481-0dda52b04399"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "ftvkqXiY78c0+XlKpjo1oBf6CH1iOU4UD7r8hrPaTsA",
  "recorded" => true,
  "return" => "g1AAAAjZeJy9Vt1u0zAUHmzjp9PgFc4NGpOWdu0GWwdjmibQLhAXSHCDUOTGp423xA728brc8RA8EbwJT8JxsqbaVMRaTdzEjnN+vu/Y53NoaWnp/nhVG0KX8/zXiUVBKKEL1nhSGiEtRwp5VNqpUUowNBZ2wZHIEC6UUwMeE+/I5OAdWiisKdCSQgcmk7xAqdCwsw1SlK4Nx1nG7mO0CF5bHPJEJ5xwUAJesqMKrw6ElsCoQGQMSJaQmAu2vDJTjpGN+LuOpHK5co6/XOFz7fH6ZBpLwTCZ1j3ix1oguCYSUkbHRSZ0eP/5ViTpBHMJYsB5IBUMAL55lZxHtT0MPBEPZCBVkovBdbDMmFIEh6McNbGJCnzbcKpkgKdcjRAdWc9ROPDv7z+muQK4YGSRBBdaVpxDwMYi4cINEHIhp6UWIzYGwZXRJZDKsR1oPKxhukB2JZBdCavLCYlq/Ogrsg84cl5QmOpPBefHa1tWwkY83YO4KW28h/s92ZfdaGf4Qka7vb1e1O9iL9ruv+z2hmIw4OdGBd8hgUvNOFY69iqUaygyV2NcJUUZhtnRaajh4rmqjfRamnhKKP9fhHgzsX2bEh/ORpTUHXZM81TsSVWxxnVWAV4vmO7WfP6SYOiz7IPIcR466xWdiecsNq8WS3ZrMvuz41uTzUXkcUUkeM0isTd/korAWXB+xOBjwksaL2uVVclYZRSVsZLN0trVEpUFNotPw5lPeNNjlRcsDGFt5yRDoRnGDbWCsaIUjM5Y+2qNmup3JSxDpYOa8fx+/51hgo3431R71nlWJdtI1VYt4J5MRFYk5yi3Gln3rtbyIGLTDm23Wu+F45IgangD/frOYMkzB63W4p0MEXz5rHD89XlKVLiDTseRl8q0RVEkHl07MXmHtyJcKq4zZdQJDI8cCpukh4un32y1mia8EyhNNI48aYg7CTwJxnHDGb2TmCHQZnWe+X+CHdDVp7uwylg+uuFlJeXr+npjPfvHWavv4co5nP2qF0xRGEtec9SzP5/t70k",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "gfoZ+JmUG36nK6hIsX40iGxin+R1qhcKjmpYizZss6U",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a6-726e-9c8f-7b02116af1ab"
}

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 '_experience_dismissed_7e82d9d1-3f5d-4272-91e2-09612fabb12f' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_7e82d9d1-3f5d-4272-91e2-09612fabb12f",
          "undo_prompt" => "Update user property '_experience_dismissed_7e82d9d1-3f5d-4272-91e2-09612fabb12f' 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 'fullName' and set show_in_ui to false.",
          "title" => "Hide fullName",
          "undo_prompt" => "Update user property 'fullName' 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 4 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_experience_dismissed_7e82d9d1-3f5d-4272-91e2-09612fabb12f - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_7e82d9d1-3f5d-4272-91e2-09612fabb12f)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/user?search=createdAt)\n\nfullName - [View](https://studio.appcues.com/settings/properties/user?search=fullName)\n\nrole - [View](https://studio.appcues.com/settings/properties/user?search=role)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 4 stale user properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 routine hygiene insight for 4 stale visible custom user properties older than 30 days. All 4 were unreferenced by experiences and not already covered by existing non-dismissed insights."
}

Errors

No Errors