25354437 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 03:11.087
Run Time 00:50.781
Inserted 2h ago
Scheduled 2h ago
Completed 1h ago (00:51)
Cancelled
Discarded

Args

%{
  "account_id" => "224985",
  "account_insight_agent_id" => "55883e6a-6b2c-4e4a-aa92-d8aa95dd526b"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "+7lRcie5iZ7xOS1yhTfUcHdi2X2HVqpLPYo+SSkyvjY",
  "recorded" => true,
  "return" => "g1AAAAjeeJytVs1u00AQLv3hJwXBI8wFlUqNA0JINIj2UIF64IQEF4SsjXcST2vvmt1x09x4CN6B9+BReBJm127SolCaNJfYnsx833zrb2fNa2tr6+NHZDyNcvapVqwKid1h+dkuw4/KmKxJq0KZ8PzrncpyqJyt0PEE1MCeIeTKg4JvNWWn3SYfBjWzXNhCThqBGIbOlsA5gsdRiYYlhQqNLoFj0mRGQB6MNV2Nnl0tKAL8+/uPGVdoLiQ5ZEUGNSijI+A0I1NCjFAqYTwjT4MCQY0kGRRL9gSYSkyCjHtNmz6I3QpiN0N0I2MVrx/rKPauIJcVh9s3nyrhR6g9uhnhTib/C/BO7MUjg8/tOCWT1hS0D1XhG8ItJi4w3D08DgvSFsYlro226YyqvxSVrBkmt1JSG3ZLKYmFCym5lurGSg7nw4ubWZkMU9KLqHkS1VwqnqfoYGnKG6van08hBIyL6OlEPbFsnpLXS9DcVkPsbXEN08cbariWJmo4CdX3pf+U8ZzHG4aKEHkgY4l4Im9xGtpuQzypcBp8jOcVZow6JdmTWezl5VGBykgff403GBPnYE0hw7IZam2jhD5OoiGZMP7kfn33vewMDa/CWyuuypJsmXVhjLnpbNuTeSmBmm2XncpOUe9F0SEqtRoGkzj1QreOUPyZdDoflJclQTRwAPvPZahOZHaPbL/TaQcMdOHLZ8Lx12c5c+X7vZ7nWpNNVFVlNfpE8nqyrixN+96svV5o99Cjcln+tsXaDahxs68INWIJ6qUNtxLkS3iCHjfBSnAjkiBGS64EMSLtRv/amqUCfePmypF1YtXwsJnLeX51Kz39j7eagzoWB69H79uqso5rI6gn4y2xVWPZn0cORZaGF9B+OcDQuin0xcmb1Z7lyP+ni4NNHQ7RBWfOMWv08hjbTFUIqZYzXj44XJOO5+TDWjWfDeRL8sH1F18zyR8M9/qH",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "k40JFyuXLjL6o2vK6j2CzogCz6GhaUhl34U+7b0MSmQ",
  "workflow" => true,
  "workflow_id" => "019ddea7-57ae-7cb1-af67-02dfbf006c63"
}

Recorded Output

%{
  notes: "Created 1 insight for 5 stale visible custom user properties that are not referenced by any experience and were not already covered by existing non-dismissed 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 'company' and set show_in_ui to false.",
          "title" => "Hide company",
          "undo_prompt" => "Update user property 'company' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'country' and set show_in_ui to false.",
          "title" => "Hide country",
          "undo_prompt" => "Update user property 'country' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'instance_id' and set show_in_ui to false.",
          "title" => "Hide instance_id",
          "undo_prompt" => "Update user property 'instance_id' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'state' and set show_in_ui to false.",
          "title" => "Hide state",
          "undo_prompt" => "Update user property 'state' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'title' and set show_in_ui to false.",
          "title" => "Hide title",
          "undo_prompt" => "Update user property 'title' 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\ncompany - [View](https://studio.appcues.com/settings/properties/user?search=company)\n\ncountry - [View](https://studio.appcues.com/settings/properties/user?search=country)\n\ninstance_id - [View](https://studio.appcues.com/settings/properties/user?search=instance_id)\n\nstate - [View](https://studio.appcues.com/settings/properties/user?search=state)\n\ntitle - [View](https://studio.appcues.com/settings/properties/user?search=title)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 5 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors