25352589 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 07:55.372
Run Time 00:34.484
Inserted 2h ago
Scheduled 2h ago
Completed 1h ago (00:35)
Cancelled
Discarded

Args

%{
  "account_id" => "41271",
  "account_insight_agent_id" => "f1adba09-b9ea-42b9-ac79-70af9d3e16e5"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "BNw82MD2Bk0XIeiOIpQeNHgCyN6djqfwOL0ecEmO0sk",
  "recorded" => true,
  "return" => "g1AAAAhQeJy9VW1r1EAQrn3x5YqIv8Dxg9RCc6f0k4LWUiwVBEXQLyJhLzu9bJvspjuzTfPNH+EvEn+Jv8TZ5Hp3rbX2pAhHspmbnXmeJ7NPeGFhYbFesY6RSln/2PGoGDU8hcq7Cj03kDcjgxbBWDKjnGHfedgEYlUgHBsyQ7lngdiVEAj96UaDBK7QEuBcWdh8Alo11IftooAaPUKwHvdlYTPpN2wAT2SbiY8EymoQUKAKwaMbyNyxZLZpUgtPDLGxI0mxiTZUGiL5cwywX98dryjVSmAKrxssl9XIcFVlbJxNq0LZ+Pz9tcryKVk1lE6QK4EAR8Fkh0mXD8PALDd2kBstYogOXhhzjkA4KtGypJjItw97Rkd0hjqASOyDVJHCP79+m/aK4GKSR1bGCoHIOhacZGRCdohQKj2VWo0kGZRoYxtgU2I/0rjVwaRIdimSXY7RpYxVe/8QWrI3pXJZcVy+/1hJfzzzyhpYS1VVZQFp1/kyJSww40QlXkW511qAhAyUuzo1Ng0mCrKvCupQrLDhAuPq4V5U6bJq7csIVrt0Curd9YESybF/FSH8FXoyFkUSKKlzxUnt/CHqpI4x6d0FMxcKnQxRfszo55Fq53ep5u53kZhH/5PYleV+9QdUZbPd4Xqj5xHvfifezO6LpNj696YtsYNY5LaQEsFOuF6ypoiRO3LqDTep0ZPQ6jjETYWT4L1obZnYamrKSg5qjG3uFKiswDnnHlAbzsHZQryo84ypn7YHfd9Y3R2fxQe7TohOzPi8+4rvikv4iXVsdJYa2CXsVSbvemNitIFO3XXWiPu93ltFIgmihZfwrPNwsSD3vNe77FRCAp8/Gay/PM6ZK3o+GBAHbVx/vKefuXIgYsdcGkwxDyKHLULls/zFZQ3Wz/Wfe5CvH+HcECKHmQm8HkQzBdfbqXWBZSNSN8OVN87LgMaH5Vw+kmeP06O/TFT39Ws3xwlvJ95VlfMcrFQ9+AUiot5q",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "ADH3p0eHaDweqxXL7QB3kP2B3H8I9dFznHDFA3vLGHs",
  "workflow" => true,
  "workflow_id" => "019ddea7-577c-7916-af7f-19b1073ab822"
}

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 '_appcuesForm_select-a-rating' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_select-a-rating",
          "undo_prompt" => "Update user property '_appcuesForm_select-a-rating' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_tell-us-what-worked-well-and-what-could-be-better' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_tell-us-what-worked-well-and-what-could-be-better",
          "undo_prompt" => "Update user property '_appcuesForm_tell-us-what-worked-well-and-what-could-be-better' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_myAppcuesId' and set show_in_ui to false.",
          "title" => "Hide _myAppcuesId",
          "undo_prompt" => "Update user property '_myAppcuesId' 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_appcuesForm_select-a-rating - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_select-a-rating)\n\n_appcuesForm_tell-us-what-worked-well-and-what-could-be-better - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_tell-us-what-worked-well-and-what-could-be-better)\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 3 stale user properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property hygiene insight for 3 stale visible custom user properties older than 30 days. All were unreferenced by experiences and not already covered by an existing non-dismissed insight."
}

Errors

No Errors