25353897 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 18:30.206
Run Time 00:53.897
Inserted 7h ago
Scheduled 7h ago
Completed 7h ago (00:54)
Cancelled
Discarded

Args

%{
  "account_id" => "209568",
  "account_insight_agent_id" => "1c88cb4b-dc13-4904-b6f9-c2b6bb1378d9"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "utT5h/7xSu//63B2UJpvxRvivq1p+RnQhbaamCS0b90",
  "recorded" => true,
  "return" => "g1AAAAgteJytVc1OFEEQBgF/lij6BnUSSdhZDV4kATREw8F4MNGLMZvemdqZgpnusbuGYW8+hE/Eo/gMPoDVPTCzICsL4TI/le7vq6/66ypeWFi4Vz8m7SjN2A0TxSqX2CLLY7XwDxUzGT0sc6X9/+l7FWdQWlOi5QmokTlGyJQDBT8qio/6zXoYVczyYgMZJQjEMLamAM4QHKYFapYllCdoIzighHQK5EAb3U/Qsa0ERYB///zVcfnk/CKLrEhjAkonAbBdESshRiiUMB6To1GOoFJZDIpl9QSYCoy8jAdNms6LXfZil310KWYV3p+rIPa+IBcl+8/dL6XwI6TWVGXHuD6utGgYUrIe0nHI4DJTD0kPK/Lyxyp3DecKE+fov54c+Jq0W0Od5ccMO76d2/JJ7TCaR9Hb/zNoVeBNND2d1uQ3X6Vq7/acc+uaxZFapRnxhke1FmR1e69SNcsb1zPOLerdNRQ3Pa1nF2TNOq5ZFpmHNUg79CgPRdaQ8YTrJU25jzyS6088kcK0odWzEE9KbINreFJizJgMqSjlxvrY1n6OSqO93EagJs7A6FyaUtM8zvIldOHGj0n7NiPfi38+GFEKr8FJu7skT5ZLU/H9wrZNZFMakwQqNn22Kj7CZDOo9tHKSScaTUJ78elaQh1j1Ot9VE5qgqhhF968lO41kSaZmu1er73D0IdvXwnr7y8y5tJtDwaOq4RMpMoyrtBFsSkGUlqWvN2gS3AQMt5zqGyc7bRwGy20P5g7BfeAAt85+m7QO7wp8LtLfhpxI1jRVCw70TXGLC0ZK67zP8uZjMCLl+T5dTZphlvY7X0bfGzK0liutMAe1ivikMZ+p/sW5Sol8Kq7R9kkFbPIcGzGL4yNbcnOx9c/pCaYXRyqYatxVQSfjKDUKIa1OJaXGDB4svOjOzesxMj5qjWzllxBzjs48PSneM6TqmW2j30dor+O/8XX",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "+xaEMqYmRu2SVdCMJ7dc33XH4o1Lu7IXzz2x90qQNwc",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a2-74b4-85e8-f61a6ad3d4f8"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 4 stale visible group properties older than 30 days. None were referenced by experiences, and no existing non-dismissed group-properties 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 group property 'funder_id' and set show_in_ui to false.",
          "title" => "Hide funder_id",
          "undo_prompt" => "Update group property 'funder_id' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'funder_name' and set show_in_ui to false.",
          "title" => "Hide funder_name",
          "undo_prompt" => "Update group property 'funder_name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'grantee_id' and set show_in_ui to false.",
          "title" => "Hide grantee_id",
          "undo_prompt" => "Update group property 'grantee_id' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'grantee_name' and set show_in_ui to false.",
          "title" => "Hide grantee_name",
          "undo_prompt" => "Update group property 'grantee_name' 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 group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nfunder_id - [View](https://studio.appcues.com/settings/properties/group?search=funder_id)\n\nfunder_name - [View](https://studio.appcues.com/settings/properties/group?search=funder_name)\n\ngrantee_id - [View](https://studio.appcues.com/settings/properties/group?search=grantee_id)\n\ngrantee_name - [View](https://studio.appcues.com/settings/properties/group?search=grantee_name)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 4 stale group properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors