25352609 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 08:40.639
Run Time 01:03.554
Inserted 10h ago
Scheduled 10h ago
Completed 10h ago (01:04)
Cancelled
Discarded

Args

%{
  "account_id" => "42199",
  "account_insight_agent_id" => "dc1b690f-3557-4820-b29e-bfc9689586ef"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "GXtHd5Hs1CRSbv83JTXPz3FU8jqTJSaZHpPMPt3z55Y",
  "recorded" => true,
  "return" => "g1AAAAnkeJy1ls1u00AQx0s/+EiFgAMHDkhzoiA1CQhxoBIUVIpaqaAKAReErI09jae1d83uuKlvvAEXHoOn4FF4EmbtJC5prSYQLvFmM/v/z2+SnQkvLCwsDla0YXSprH9sWVSMETyCzJoMLRcQF31CjUDaUT9mODAWnoBjlSAck6OePPvW5NnoCKEDjhWDyjJUFnKdO5HsFYAn8rmIhRKhdAQDtAhiDioR36iA0BzLVhmrtISTY9J9CdHtiFxKzgsNE+kMrg9XLoiUpCP5X2J5WfUkqypkMjrIEqX9+5/bKoxrKNUTJ4iV5AFfcgqP2lU89HJmebCBmCKBFl5rUuFBcNhPUbOEUBKh7cAORT47clWC6NjmoiLCv75+r718cj7IIivSAuDRveA4IhTYHkKqorqkqi/B4KuoC2BKseMxrlRpOg+74mGX/e5SyKp8vstL2MuinGbsly8+ZOI/8Q0VsBZKgCi/VSmulQk5ZHCxGQSkg5x8AQ5U4irXFSZO0K9u7viqnDpc1jrXkQlqz82/95QKYmcarpeNHpqlRvux0TOB3RqC1afPI2uu5sWuU6O9aTBxec+FljL/A9h125rRZpbcTJh3S8wmpfOQ9+aUzdT4u1MY7sutfl9kM6HfOYM+UjkPe2cOWUyNvD2F2ay4t8/gNqG++kf3EvPQK10VxIDxhAdLmhK/c00aJnERUDTeWh1usUiON2/40RDK5AlIekRY5vV4K0Gl0U42XhgQx2B0Im28arf14Cl75AFp35hlvfjttRHa8bxqmFN23HbXq3GUs2mzVeERRusltd8dTTHfkOtJ1mm19pSTmiBqeA5PH0q/L2Ss9M1Gq3Wq40EbPn0kHHy+HzNnbqPbdZxHZDoyJcMcXUdiu1JcP/Bct06xW+a86WSShvGzU4IPvHzddualXyuKQdMln49Zk/qE8eiazd90pDxh+H/MSqPylpic5TS66s4IsrFyIfyb5Vj+z/x5j+9d9Auu/qmUp3l0w02WGcu5FtnD3xF6Z3U",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "tGgHwYMwP1RyQgjfe165HRQ+1T8ZZ8rd+B4Sd+0w8yw",
  "workflow" => true,
  "workflow_id" => "019ddea7-577c-7c93-86f6-091e5b5ade3b"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 5 stale visible group properties that appear unused by experiences and were not already covered by an existing non-dismissed insight.",
  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 'companyName' and set show_in_ui to false.",
          "title" => "Hide companyName",
          "undo_prompt" => "Update group property 'companyName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'contactPhone' and set show_in_ui to false.",
          "title" => "Hide contactPhone",
          "undo_prompt" => "Update group property 'contactPhone' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'subscriptionIsEnterprise' and set show_in_ui to false.",
          "title" => "Hide subscriptionIsEnterprise",
          "undo_prompt" => "Update group property 'subscriptionIsEnterprise' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'subscriptionPlanType' and set show_in_ui to false.",
          "title" => "Hide subscriptionPlanType",
          "undo_prompt" => "Update group property 'subscriptionPlanType' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update group property 'subscriptionType' and set show_in_ui to false.",
          "title" => "Hide subscriptionType",
          "undo_prompt" => "Update group property 'subscriptionType' 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 5 stale group properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\ncompanyName - [View](https://studio.appcues.com/settings/properties/group?search=companyName)\n\ncontactPhone - [View](https://studio.appcues.com/settings/properties/group?search=contactPhone)\n\nsubscriptionIsEnterprise - [View](https://studio.appcues.com/settings/properties/group?search=subscriptionIsEnterprise)\n\nsubscriptionPlanType - [View](https://studio.appcues.com/settings/properties/group?search=subscriptionPlanType)\n\nsubscriptionType - [View](https://studio.appcues.com/settings/properties/group?search=subscriptionType)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 5 stale group properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors