25360710 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 17:03.011
Run Time 01:21.494
Inserted 10h ago
Scheduled 10h ago
Completed 10h ago (01:22)
Cancelled
Discarded

Args

%{
  "account_id" => "94648",
  "account_insight_agent_id" => "320f6d21-7f53-489d-a1f0-ad312cd2b299"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "8ej5gHrx9LPuYW3g3uPD9ldWMi0rNNUkJ3g+RiHg4rA",
  "recorded" => true,
  "return" => "g1AAAAceeJytVM1u1EAMbmnLz1aoB3gAX1Cp1N0F9UQliqACFYkTElwQimYT78ZtMhPGTre58RC8AK/CnZfgSfAkIWGrVX+gl50Zr+3Pn2N/srKycmu+YZ0g53r/eejRCCbwFArvCvRSQVrNCC0CWaZZKjB1HvaAxWQIp8Q00TMuWVwOJaP/E0jI4LJEDZIaC3tPIDEVh4eA8QiKCR6n6NHGCjipwNgK8ExjKZj0mcAcW0+TaWFJBbE7VVPrrt7EQnamLnaYEOfErH+2lY7m99sbR4nRepXgqujPZqC6aWIhZ6MiMza8f7w2cdqzNhNFgtQwGPhSUnwybPxhUoroIQ5SSrQr2hCv1CVFYJzlaEVdKBAfwREloTripkBk8aVm0cS/vn7rsUJxwcmjGLJKIFAPCTuPWMlOEHKT9D03M3WG0E3tm1COo0DjTlMmB7Jrgex6sK7FYurzfVmTva2Z80LC9eBDofi48O0q2I5MUcQl8ttkuy6HUYBTN4/IRiUF+lOTcYO5ISQZhtvWUehJH1s3urSJi3rA5/8KqM3D0VUovVqOIE5nYDhx7kQ/Cl+H1oOa1mL8Mmov/wf4yvQOL0JpNhH9tfg9/Itfl2AZwQs7eyl0zfA45Lmr7CLBM5mvWcqC5Z4uDkkVUdKZNluTVAV2xq2gELFKVER5obMebHuHGRqrFZ1bQJiTpOBspuvcrF2vTfWuTMmGBdX76vc3Trl2wnZeyTrZardvt1GlUtxQvIlPMNmtSQdrycv0bDQYvDOsLUG0cADPWj00M7c/GPTDD0P49JFw/vlxKlLw/njMUibkRq3HKHb5WFsbZI/HfYXjUPELRuPj9HmfbmcwWJy+G8m/mLLD6AbgBkG6nDv13LhSNBa5maLCk/M6IuGxnqrSL471o0u+aSPhdXCYsXrmXFE4L6XVrMe/AaL/a44",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "IHcvyVS2F/N6+9gYNDEdpUE8Rph0GW9bJR2Esrf67Ro",
  "workflow" => true,
  "workflow_id" => "019ddeb0-7e1b-7d59-8010-fd9c6fb97a14"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 3 stale visible custom user properties older than 30 days that are not referenced by any experience and were not already covered by an existing non-dismissed 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 '_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 'total-bookings' and set show_in_ui to false.",
          "title" => "Hide total-bookings",
          "undo_prompt" => "Update user property 'total-bookings' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'total-customers' and set show_in_ui to false.",
          "title" => "Hide total-customers",
          "undo_prompt" => "Update user property 'total-customers' 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 3 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\ntotal-bookings - [View](https://studio.appcues.com/settings/properties/user?search=total-bookings)\n\ntotal-customers - [View](https://studio.appcues.com/settings/properties/user?search=total-customers)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 3 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors