25353533 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 21:10.418
Run Time 00:51.545
Inserted 7h ago
Scheduled 7h ago
Completed 7h ago (00:52)
Cancelled
Discarded

Args

%{
  "account_id" => "130989",
  "account_insight_agent_id" => "002f18f7-cd9f-4c68-b734-4cc45e87b6b1"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "Yd8PdkSWmRabxbRR8Q2+Z7v8ji61RPvxcfk+2qa6/oY",
  "recorded" => true,
  "return" => "g1AAAAfmeJytVc1u00AQbmnLT0oFjzAXVCo1CQgutNAKFVAPnJDggpC18U7iae1dszvb1DcegifgUXgUJN6DWTtx0iqIpvRir8cz38w3nvnMKysrt8YbxjL6Qs4/jhwqRg1PoXS2RMdVN6tGhAaBjKdRxjC0Dp6DZ5UjnJGngdzT4NkWEDy6aSChB8EFh0N0aFIBHVSgTAV4Lu8pmuRR104ql7y6gtSeiXPjKS9MV5MvyHsxTdL3xluTk0+0kiKk6lWWy2asf1OlTNYkZa5MfP75VqVZSwXUQPAhU17QvwZKT7uNPwwCs9zYQkZaqApLJ3w4Q/A4KtCwuFCu0fXgmDSZEZBvCkTPLgiKAP/69n2WKxYXnRyyIiMEItcI2HqkShIjFErPGqlG4gyK60YxFdiLNO40ZfpIdj2SXY/WtZRVff8QarK3BbkoOR5ffiwlP174IBVs5zZVEWi7LsYjg8/sOCGTBIrkhyr3TcYNJs4xnraOY0emkXWTg9E2mSXbv14yaRv2rkLmcDF+GVwqnxL1a70Mn4c1n7ngRZQOrp3yf1nJquBY5W/k1fKs5oKXYHWFlFdm9ZdZkK32S87d/ZrRJHARm71rpaqZnMT4u8IiYTzn8ZqhPFruyZ4TVwnp1rQ5MXFVYmt8EBUsFZlMqChlNaPt2VGOykgll/QCxsQZWJOL+jQqMdPHerWHZKKeyHn19zsrHFtxvaymnEVdcK1Y7DbSGdh22an0FPVuK6jBL9LbXqfzXnlpCaKBA3jxRFSqEjEc2b1OZ7qv0IXPnwjHXx5nzKXf6/c9B022p8oyDeh7qS360liWqn1/Vl8/1nvoUcmOvJqC7XQ6c0tzI9BzeII+N7w3gj6HJ+iTYboR5AnWTj17NrDEoG8msXRknYxZfFjP5Od2cRUe/WMumr9WHRzntJ5bW5bWcTCCevIHEfGqKg",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "SpfJTgOT1pGDPYGRCmjcdbq2WQYWoaME4HTucHrVSos",
  "workflow" => true,
  "workflow_id" => "019ddea7-579a-7fb0-a6d6-0bbfe2bf202a"
}

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 'location' and set show_in_ui to false.",
          "title" => "Hide location",
          "undo_prompt" => "Update user property 'location' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'purchasedAd' and set show_in_ui to false.",
          "title" => "Hide purchasedAd",
          "undo_prompt" => "Update user property 'purchasedAd' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'renewalDate' and set show_in_ui to false.",
          "title" => "Hide renewalDate",
          "undo_prompt" => "Update user property 'renewalDate' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'version' and set show_in_ui to false.",
          "title" => "Hide version",
          "undo_prompt" => "Update user property 'version' 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 user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\nlocation - [View](https://studio.appcues.com/settings/properties/user?search=location)\n\npurchasedAd - [View](https://studio.appcues.com/settings/properties/user?search=purchasedAd)\n\nrenewalDate - [View](https://studio.appcues.com/settings/properties/user?search=renewalDate)\n\nversion - [View](https://studio.appcues.com/settings/properties/user?search=version)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 4 stale user properties to hide",
      "type" => "opportunity"
    }
  ],
  notes: "Created 1 property-hygiene insight for 4 stale visible custom user properties not referenced by any experience and not already covered by a non-dismissed insight."
}

Errors

No Errors