25354309 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 01:42.167
Run Time 01:06.872
Inserted 10h ago
Scheduled 10h ago
Completed 10h ago (01:07)
Cancelled
Discarded

Args

%{
  "account_id" => "221829",
  "account_insight_agent_id" => "72b95c23-f470-42a4-9c5f-683daba0278a"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "3VPXAS0xJXnh7R40xwfKQaf6cUUVO6twbVaF440O/KU",
  "recorded" => true,
  "return" => "g1AAABMNeJy9WN1u2zYUTtdm6xx0fQVerQ1Q2bGdpWnXHwwBihYYdjGsuxkGgRaPJMYSqYlHdnTXd9jeZG/Uu73FDilbcjIbsVR1NzEpkd/5vnMUnk/Cg4ODL5aHSiOYlMZ/X+TAEQQbsyzXGeRYsriMJChgUhkZxchCnbPxhBnkCbCFNHJGv0FhUKesMJCvd0owDGOOjOfAKIK9KdisZFyVDK5oCcEGQFPBlrBawxMiIEoW6AVdcsvhShqUKqL7yhPSpNJYoBUdM1w+WA99wYkUybiD9OfICjriAUqt/CzhiuZ3Ln+JgYUyN8jGJ5tMY74A9kchg7lXbWGzAlEr0qBZLAWQFkgpqpALKQqeJOWQWbAcUi6V5TfZxHu81PncZDwAX4onrJkpnsIxCzgFAAssQBF0rosoZhc8QwJjP7xjHz/8xbiZM4nXCVBCLIK7T4UoMuHqlXLlOBFBu44ZiFJQSCJkIqgm798N2VspLE1pqkyCwbwgqYsKrK63TaJdlIPlQti2QLZm9YoV+ZSL5gHgkSVuq00rUaYwtOn/qsqlsUUZ2KLcs1fvBsjd78+FLcrBl4ScZmiH8N4JuvYgleyRz7MsKMC80XnqUwSMSYlX6kJ4iZyDh9ozMT1nns5sPJ48cqwNIDOxXvpS+YW0iQx5YipqhygxATs6e2uz2zqEe7wKJbTf0BefmT5VDIb75DHagwghe8BN6S258SRaFkWWaC48zLkyq9K1yeT5fzO5X5BtuQw/u4S9s6l2UGlOMb8+mPypmAk4h9B7GoSn3ml4euJxMf7OC+D0qXg2Ow/H4VmbpL6ukto51rbcpv+XoL1T/Go7o6DqRz7HNil76FLW7N2WgpddA36qJNd9XBtoL6nZ20LS7QH3lrQjQsI7KPrGKaq3bhP0omO4T9WzHo3b66m3ttBza7i+9Ey665l00LMzXF96pt31TDvo2Rlubz07AtjpTy3/fR44Oeud29R83y2YE3NpAe6TEB/hCpd3lXR+52vylBJLsrT1paPVJSwzqC8+tI0ksOeoTMn1OjrTiwS4Iio3velSYsy0IvPKKzva2GjnIUNrulVE48N/3mgS2bx+7HzfWNnSJ9VLRUG+gAxBMAey4lb17teR4WDwIx0vRJJ8+Sv27IT8cGnI3urng0FrH8c89tuvEpa/P44RM/N8NDJYCKmHK6BhoNMRlcC+35hRI2Rkhb02wPMgftk66vENpvu5pP657hfXsu3sO/oh3Tk8cW8MQy9cGjjCbjp3L9gNHGHXTbQX6BqNkOt21gtyjbaBPOkVebKBPO0VeUrI6+O2F+A12PHmKXV28vHDn9cPqs2PD70E3gQ83sTv7Qm68YXE9R9dIG0FU3WjLJc6p1ZjJ/diGcXXG+K3t/WG6jOK222blWteOst0joUi2Mt/AayciKc",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "hf/tQhwDrlwgVy1UrAD3WggvbQss6EY2SOaHueabOAw",
  "workflow" => true,
  "workflow_id" => "019ddea7-57ac-71f4-b74e-93e5bd1f7353"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 12 stale visible custom user properties that are not used by any experience and were not already covered by existing non-dismissed insights.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 2 properties (workspace_id, workspace_name) 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-youd-like-to-share-optional' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_anything-youd-like-to-share-optional",
          "undo_prompt" => "Update user property '_appcuesForm_anything-youd-like-to-share-optional' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_how-easy-was-it-to-upload-transactions' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_how-easy-was-it-to-upload-transactions",
          "undo_prompt" => "Update user property '_appcuesForm_how-easy-was-it-to-upload-transactions' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_experience_dismissed_3dbde8ef-7cf4-4f40-ad15-ce47d9b8f1f6' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_3dbde8ef-7cf4-4f40-ad15-ce47d9b8f1f6",
          "undo_prompt" => "Update user property '_experience_dismissed_3dbde8ef-7cf4-4f40-ad15-ce47d9b8f1f6' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'created_at' and set show_in_ui to false.",
          "title" => "Hide created_at",
          "undo_prompt" => "Update user property 'created_at' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'first_name' and set show_in_ui to false.",
          "title" => "Hide first_name",
          "undo_prompt" => "Update user property 'first_name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'last_name' and set show_in_ui to false.",
          "title" => "Hide last_name",
          "undo_prompt" => "Update user property 'last_name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'property1' and set show_in_ui to false.",
          "title" => "Hide property1",
          "undo_prompt" => "Update user property 'property1' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'property2' and set show_in_ui to false.",
          "title" => "Hide property2",
          "undo_prompt" => "Update user property 'property2' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'property3' and set show_in_ui to false.",
          "title" => "Hide property3",
          "undo_prompt" => "Update user property 'property3' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'userName' and set show_in_ui to false.",
          "title" => "Hide userName",
          "undo_prompt" => "Update user property 'userName' 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-youd-like-to-share-optional - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_anything-youd-like-to-share-optional)\n\n_appcuesForm_how-easy-was-it-to-upload-transactions - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-easy-was-it-to-upload-transactions)\n\n_experience_dismissed_3dbde8ef-7cf4-4f40-ad15-ce47d9b8f1f6 - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_3dbde8ef-7cf4-4f40-ad15-ce47d9b8f1f6)\n\ncreated_at - [View](https://studio.appcues.com/settings/properties/user?search=created_at)\n\nfirst_name - [View](https://studio.appcues.com/settings/properties/user?search=first_name)\n\nlast_name - [View](https://studio.appcues.com/settings/properties/user?search=last_name)\n\nproperty1 - [View](https://studio.appcues.com/settings/properties/user?search=property1)\n\nproperty2 - [View](https://studio.appcues.com/settings/properties/user?search=property2)\n\nproperty3 - [View](https://studio.appcues.com/settings/properties/user?search=property3)\n\nuserName - [View](https://studio.appcues.com/settings/properties/user?search=userName)\n\nLast seen 60–90 days ago:\n\nworkspace_id - [View](https://studio.appcues.com/settings/properties/user?search=workspace_id)\n\nworkspace_name - [View](https://studio.appcues.com/settings/properties/user?search=workspace_name)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 12 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors