25367862 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 10:47.634
Run Time 00:42.338
Inserted 8h ago
Scheduled 8h ago
Completed 8h ago (00:43)
Cancelled
Discarded

Args

%{
  "account_id" => "212262",
  "account_insight_agent_id" => "34f0726c-54df-4736-b6c4-48141029c91c"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "SLm/qIf7i2ElWyx39bPLedv+m7nmb+Gp8QpaItfcFB0",
  "recorded" => true,
  "return" => "g1AAAAjieJytVc1uE0EMLv3hJ1HFA3DxBZVKTQKqELT8HSpQkRAHJLggFE12nazb3Zllxtt0bzwET8QD8BA8CfZsk6hVWpqSS9brjD/783o+88rKyup4wzrGUIj9+8CjYUzhCZTelei5hqweEVoEsoFGGcPQeXgKgU2OcEKBBvIsjK1MDlVAPwkkDODyVBycGQu7jyE1dejCRydYpizReMnjcYgebSLmoAY8lUjSV/BVjmEHjE3BOvmDApMdiW07KYWCQpAQzdeZFjopcGyCFFnZtDvePPOFfmqkYGF4i+WnrVzbJmFytl/mxur7r7cmyWa0zcCdIGSCZeB7RclxpzkPg4pZHuwgo1TaIh3xrhCWCAFHBVqWI6TMu3BIqVZNoSkcA/tKUAT4z4+fs1xanB7yyIasEFPaCjg9kUgLB9rndNZ0M5LDYFhO18BUYFdp3GnKDEp2Q8muq3ctYROfn6pI9rYgFyWrufe5lPx47uPVsGWkw7wVKxEDQubGfbL9ipT50OShSbfBxDmq1TrUdsSw2F75AK4/S/P8BmmkW9j9Dw6JTMENOMSwBThcmebaHPbng6do8vfpIiTakUQTN4/FJc26OtG1aVzSo6EUsQiJe5GERs2j8GzxJNcm8HI+dkkl5nI5FyGxGUlMIucReXGzZJHMkQLcFSJ9xlMer1nKY+dEgYjrPqVTV/vMxXWJU+d9VdtExL5PRSmiob7dgxyNlVIuKBmMiTNwNhddbPRrpvJRdIZkVenEXn3wTrV3uiIu7gTZBqJYfipjOyKN4qjYddib5BjTieqzxsa9oAI32w3dVuuDCdISRAuvYa/ZLCKHbr/VinoCHfj6hXD87VHGXIb9Xi9wlZLryt5JKgzdxBU9OacrJfRmxfW02DdBVlOSvYpI261WvN1LQYxIgtjctKVANlCCqaO/FEQFErzJBC4FcwK2HSfWVSxBGJr5LT05L8OpL+uZLOvzV+jhP6ap2cIxWKc7TrsrS+e5soJ69Bews/hf",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "HZGXmQDnCnSTg87o3ulEMQaI7Ot3C+oGJac4LNHQJJw",
  "workflow" => true,
  "workflow_id" => "019ddebe-3a20-7dc4-b098-83df8c17b9bc"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 5 stale visible manual user properties older than 30 days. None appeared referenced by experience rules, and no existing non-dismissed user-property insight was found.",
  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 'asset' and set show_in_ui to false.",
          "title" => "Hide asset",
          "undo_prompt" => "Update user property 'asset' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'count' and set show_in_ui to false.",
          "title" => "Hide count",
          "undo_prompt" => "Update user property 'count' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'dealId' and set show_in_ui to false.",
          "title" => "Hide dealId",
          "undo_prompt" => "Update user property 'dealId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'fund' and set show_in_ui to false.",
          "title" => "Hide fund",
          "undo_prompt" => "Update user property 'fund' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'pipeline' and set show_in_ui to false.",
          "title" => "Hide pipeline",
          "undo_prompt" => "Update user property 'pipeline' 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 5 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nasset - [View](https://studio.appcues.com/settings/properties/user?search=asset)\n\ncount - [View](https://studio.appcues.com/settings/properties/user?search=count)\n\ndealId - [View](https://studio.appcues.com/settings/properties/user?search=dealId)\n\nfund - [View](https://studio.appcues.com/settings/properties/user?search=fund)\n\npipeline - [View](https://studio.appcues.com/settings/properties/user?search=pipeline)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 5 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors