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

Args

%{
  "account_id" => "221032",
  "account_insight_agent_id" => "7bc3199e-49d5-4035-af48-d85e92b5d162"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "OBvVogr3baKL0i72fmr8FeiXW7CeP/m/DShnS1RexE4",
  "recorded" => true,
  "return" => "g1AAAApneJytVs1u00AQLv0BmgoB4gXmRKnUJCAkRIug0ApUJE5IcEHI2tqTeFp71+yOm+bGQ3DicTjyGDwJs+smTqIEkjaX2F7NfN98k/1ml1dWVlZ7d0g76qbsokSxymTtBsvPVu5/VMxkdFRkSvvvX29VnEJhTYGW+6BOzDlCqhwo+FZSfNas4uGkZJYHG0gpQSCGjjU5cIrgsJujZgmhLEHbgmNKSHeBHGijmwk6tqWgCPCf7z9qLl+cD7LIijQmoHQSAIcRsRJihFwJ4zk5OskQVFeCQbFE94Epx5aXcasq03mxN73Ydb+6FrMKz49lEHtTkPOC/eubT4XwI3StKYuacTuWAEGOtMpxO1TkkMGlpheRjkryHeiozFW0G0ycoX+7f+zbMpodul3qxEQ16+trsEoTsTWPtKMZJJgXmekjRrEpNS8i7kEQN54/Td7htZjnFjiri6jPyRrtN+Mi6u5V6urkadIOrs45t669GRzeq4sI2gyCBg6fVPL8CixzS3gxA9wR4/tkERFbQUSVN03G/pWY5hYyC54tqWwRHY2gI6RNkzHrP/8nT1Bx6tNvi4KI8YJ7a5oCwabsROJ+RMlwaetyifsFDhfv4kWBMWMSkcyeOBTz9ChDpdFOjnToEadgdCYHRDXILwsldGH6dkj7kS/vqz/ficcTeAZOjp4JXRIuA97Pbjsc6LtySMhCyabJVsVnmOwG1X61dHIqnPTDqPflWkIdY6vR+KCc9ARRwyvYeywnSV8OrK7ZbzRGJyk04ctnwt7XRylz4fbbbcdlQqaliiIu0bUkuC3dZSndtesa26HoA4fKxunLUcSdRmN8li2HYhzTk9RTZUkMNaDAe6svB9cjCWBluuVAVlgCGiywHMwAtRMMY0qWFHSVfQpLxoo3/Md6KpemcfM+/N9mrq5DIdu7K7jNFIWxXGqBPe1tyD6uTPL7yKI4PYEntc3Tfle2tFynqgsbdIwdkg0uPJOkLThUHKcCZLGD1jsC5DM+c5JeBueMmAVsKRjDSDcwl4SQ802r7mjkcnLebYGtOSxwcJOEnuRLEehkB7X+AqtJhZM",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "mZ7/srx+XG+khOjdatYvlkCRfrEZK1jo+uQSN1wSoxc",
  "workflow" => true,
  "workflow_id" => "019ddeab-ea4e-79ea-95b2-48324053dc72"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 6 stale visible group properties. Batched reference checks found no experience rule references, and no existing non-dismissed group-property insights were present.",
  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 'company_name' and set show_in_ui to false.",
          "title" => "Hide company_name",
          "undo_prompt" => "Update group property 'company_name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'employee_count' and set show_in_ui to false.",
          "title" => "Hide employee_count",
          "undo_prompt" => "Update group property 'employee_count' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'environment' and set show_in_ui to false.",
          "title" => "Hide environment",
          "undo_prompt" => "Update group property 'environment' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'plan' and set show_in_ui to false.",
          "title" => "Hide plan",
          "undo_prompt" => "Update group property 'plan' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'siteId' and set show_in_ui to false.",
          "title" => "Hide siteId",
          "undo_prompt" => "Update group property 'siteId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'trial' and set show_in_ui to false.",
          "title" => "Hide trial",
          "undo_prompt" => "Update group property 'trial' 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 6 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\ncompany_name - [View](https://studio.appcues.com/settings/properties/group?search=company_name)\n\nemployee_count - [View](https://studio.appcues.com/settings/properties/group?search=employee_count)\n\nenvironment - [View](https://studio.appcues.com/settings/properties/group?search=environment)\n\nplan - [View](https://studio.appcues.com/settings/properties/group?search=plan)\n\nsiteId - [View](https://studio.appcues.com/settings/properties/group?search=siteId)\n\ntrial - [View](https://studio.appcues.com/settings/properties/group?search=trial)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 6 stale group properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors