25353285 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 06:41.768
Run Time 01:35.171
Inserted 1d ago
Scheduled 1d ago
Completed 1d ago (01:36)
Cancelled
Discarded

Args

%{
  "account_id" => "102283",
  "account_insight_agent_id" => "4aaa519d-95ce-4cd8-a5fa-b183b610b38f"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "+dQvhx5A5Cu5ZwpLmYqWflM5ZpkBeP4RxIsljooARUM",
  "recorded" => true,
  "return" => "g1AAABnweJzFmN2S2zQUx7e0hbI7DK+gq7Y7s0rifNodoMPsTKed4QooN6UYRTqOtRtLxpKTzV3hFeCRuOcdesNrcOSEzW42CcpXuUlk2dL5nf+R5XNkj46OPho/VNqCybD913kBzIIgAckLnUNhJySdDCQoIFIZOUgtYYmFghQwkjCWakCMZUMgI2lkH/9LgzdnYyUYoocCO2zKFGk1iGATUyMvdKnQRJMorSgrrb45YCxtijcIXGEPGuaAthIoXMsQhgPxZsYsT51xN4OQJpPGIDVcSWNd94y1Nv5s1jKxYMiJLt6z+HPinD1h3Eqt4nzIFF7f+/P7FEgiC2NJ0LiJlLIRkF9KyS/pdAjpl9ZqZQiip1IA+gcZGhVyJEXJhsNJjbjJCsiYVA6oeXO+p/HcufiaPuYsiTqtXo92Q4hoOxAhDbsNTltRtxFx1mj3ePeMLB8rWokIGsBoGAkcG4kWjTqiQ3kookDwVivqJKeEYxT64JAFKIQudDlIyTnLLWKSr1+R9+/+IMxcEmlvu9afEMUyqO7rgpS5qFZJxlTlLbruniMGBhkoi/LIKuyvX9XISymqiJhprMDYokQRR9PJrleZC497qADHgnO7SDM1mT8xg8+YmK82NnDgzFZPWplBzQX2k2mUjAv3sQv3A9d7n1tW/X9bunAffYwzZ7l1zZ9fVw7dWrwT8iRmec5LMC90kcVowbolR8dAuS6HggpNraYywwEjeFIBG7DEpHocSxWX0mmYsKGZUj200g7BtYKXTthNZq+WK740Op5Dx4eDxhBBzUe4Sw8GnJlmJU8pK4BOdElBXeiJg8IlQxWMKb6ANsFHN9Hwi7sa+htaJufFB3HFW9nfPHAsuwSas8JSifso5aWxOoMCr3CHdtuz64crjpvvAChi0aBB03IwGFBegJB2E8G/uyv4zvaXxeHX/9Nx7/D86EE5TpmdvXX4+m29W9C7wq+ZeZmkbw4D6y3WW1/7QlbWUxjm1evF8CMPm6lVW6HWiqmXyeUd2w1x96/XGGb7UOoabp1bjSnWPvRaMfVOem2I663XT14AkypezjxPtTaAezYyGa6LjRZYfZlga+ZepphfgLcA9pZMrSBYmly2mp1e0Ew4ppRNoG0WAo0Y79F2Q/T7Ya8L3VBsIuHzqYRb21omafahHDqMxGG7h0l/0qbdJECiDhKFrCNoFHb63UazEwWNZF8S+9jaWeJdHDqMxDwQzaAdtSn+hVhe9bq03+t3KWu2oNvsAwRsbxL72NpZ4l0cqiS+cCYfobyxhSs7vq/k0PV8iiWctJNYiuuuk1mXneRw3fm5o+JYB8aYKGDJ5fpa50NgCuEXS8GqrNcKa0U2rf7m9XBVsiWuelYDbD/6+/p8YHq0sHik4LZBghn4v1XgGVaW2FFixmILxi9BnM3OCawbK1z16urDuYi14+NvGJb5BrAM/opE04MJrCb1s+PjTQooQsmbHzDffPs0tTY3z+p1Y0shdW02R43rrI7qu0MJU5/7UHc+PTfACp5+uYnB0wU+/4pk/6j+thepd87f9+/MzkiLPq5JqPdPv8bYUq4VmeuBwFZYW0q2Ikc8ENkKa3fJ1uRih0BbY86xbZ3U7Id1a/Mr2X2yhQOy+5hfye7zGT4gu4/5lew+x8YHZPc6tb75re423r/7feFzvfVZ+iGD4mH+tMq+dGnRDJhpLpYXUheYaLmLB6kcpLdTzsf/lRlNz+yr0S5Vq1I3nee6sKXCaS/+AUxt4Mg",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "hII3c/UONPdA14CF6BuVPcLaagRY3kDvjkpbXNAED1o",
  "workflow" => true,
  "workflow_id" => "019ddea7-578e-7513-954f-34e07c765d9b"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight after reviewing stale visible user properties older than 30 days. Found 12 non-auto properties with no experience references and no matching non-dismissed existing insight.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 2 properties (_experience_dismissed_caf95377-68e9-41d8-860c-39609ca047c6, _experience_dismissed_d3fd10ea-89d9-49d3-95d5-c8d91dc3395f) can be hidden through Captain AI — ask it to hide them by name — or updated manually in the segment builder UI. Hiding is non-destructive — property data is retained and any property can be made visible again at any time.",
      "actions" => [
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_anything-we-could-do-to-improve' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_anything-we-could-do-to-improve",
          "undo_prompt" => "Update user property '_appcuesForm_anything-we-could-do-to-improve' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_how-much-are-you-enjoying-the-new-platform' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_how-much-are-you-enjoying-the-new-platform",
          "undo_prompt" => "Update user property '_appcuesForm_how-much-are-you-enjoying-the-new-platform' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_take-part-in-a-customer-interview-in-exchange-for-10-huggg-credit' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_take-part-in-a-customer-interview-in-exchange-for-10-huggg-credit",
          "undo_prompt" => "Update user property '_appcuesForm_take-part-in-a-customer-interview-in-exchange-for-10-huggg-credit' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_what-could-we-do-to-improve' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_what-could-we-do-to-improve",
          "undo_prompt" => "Update user property '_appcuesForm_what-could-we-do-to-improve' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_what-did-we-help-you-achieve' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_what-did-we-help-you-achieve",
          "undo_prompt" => "Update user property '_appcuesForm_what-did-we-help-you-achieve' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_what-were-you-here-for-today' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_what-were-you-here-for-today",
          "undo_prompt" => "Update user property '_appcuesForm_what-were-you-here-for-today' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_why-did-you-choose-that-score' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_why-did-you-choose-that-score",
          "undo_prompt" => "Update user property '_appcuesForm_why-did-you-choose-that-score' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_experience_dismissed_325712fc-952e-4a8e-9ac7-40dbb876e68d' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_325712fc-952e-4a8e-9ac7-40dbb876e68d",
          "undo_prompt" => "Update user property '_experience_dismissed_325712fc-952e-4a8e-9ac7-40dbb876e68d' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_experience_dismissed_8478e9f4-6f1e-458e-8a5d-985b6025910f' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_8478e9f4-6f1e-458e-8a5d-985b6025910f",
          "undo_prompt" => "Update user property '_experience_dismissed_8478e9f4-6f1e-458e-8a5d-985b6025910f' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_experience_dismissed_c1d21494-d218-4176-b7b6-a23e62bee1af' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_c1d21494-d218-4176-b7b6-a23e62bee1af",
          "undo_prompt" => "Update user property '_experience_dismissed_c1d21494-d218-4176-b7b6-a23e62bee1af' 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 12 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_anything-we-could-do-to-improve - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_anything-we-could-do-to-improve)\n\n_appcuesForm_how-much-are-you-enjoying-the-new-platform - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-much-are-you-enjoying-the-new-platform)\n\n_appcuesForm_take-part-in-a-customer-interview-in-exchange-for-10-huggg-credit - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_take-part-in-a-customer-interview-in-exchange-for-10-huggg-credit)\n\n_appcuesForm_what-could-we-do-to-improve - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_what-could-we-do-to-improve)\n\n_appcuesForm_what-did-we-help-you-achieve - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_what-did-we-help-you-achieve)\n\n_appcuesForm_what-were-you-here-for-today - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_what-were-you-here-for-today)\n\n_appcuesForm_why-did-you-choose-that-score - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_why-did-you-choose-that-score)\n\n_experience_dismissed_325712fc-952e-4a8e-9ac7-40dbb876e68d - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_325712fc-952e-4a8e-9ac7-40dbb876e68d)\n\n_experience_dismissed_8478e9f4-6f1e-458e-8a5d-985b6025910f - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_8478e9f4-6f1e-458e-8a5d-985b6025910f)\n\n_experience_dismissed_c1d21494-d218-4176-b7b6-a23e62bee1af - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_c1d21494-d218-4176-b7b6-a23e62bee1af)\n\n_experience_dismissed_d3fd10ea-89d9-49d3-95d5-c8d91dc3395f - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_d3fd10ea-89d9-49d3-95d5-c8d91dc3395f)\n\nLast seen 60–90 days ago:\n\n_experience_dismissed_caf95377-68e9-41d8-860c-39609ca047c6 - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_caf95377-68e9-41d8-860c-39609ca047c6)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 12 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors