25352957 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 11:27.192
Run Time 01:54.178
Inserted 1d ago
Scheduled 1d ago
Completed 1d ago (01:55)
Cancelled
Discarded

Args

%{
  "account_id" => "77602",
  "account_insight_agent_id" => "b5454b8f-e143-405f-b36a-b1ac51bd1a45"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "jlQZoGwbhJo1/8BQKITaPB3F17izSwQ+/nS5UiUHZvk",
  "recorded" => true,
  "return" => "g1AAABe7eJzNWN1u3EQYTWgLJRUEXqCaK9qgeLNRo4S0tCEKVI1UEIIWgaCyZj3f2pPYM2Z+duO7XsMlPAMP1jfgDfg+e9frJLuKN5iKi2zsWc/5zjnjnTkzbmVl5Z3xB1JZGSfOhoI7nmLbqsOPOxl98MhJrcI85QrvV/96kQAbSmMd2+6z3OgcjJNgWcJHwH71MjoNqi5s4J3TyjKnWSIFMJdAxqQSciSF52la9BiBGci4VFLFbL+Jd5+a082q1jc8g00m7feJzPGBTYZsYs9jbCRiLyS15d5ECbcgDsUmoioY8/RL7vAZo1P8HIGxyGuDRRzJAZESoJCW0T5O2BHPHRJhh8fszes/GbenTLrz5AcFU8ik/F4b5nP0CwTLuCr1oDh6jlmIM1AODZCpAMNeHvfYMylIorRMaRUIsM54tGlUgU10F4wGgB4yQFwQmyv6K2ZPTMhnHEmNpJWDFBiPiTh35ZNOZtCjoXuvGgdLA7pGA3qTWm9Ejpf/v/M0oCvvInKWO7r86WUpiHmLpOuC90Ke55EH+1SbLIyRcuBtYHUGgc1QdiBV7t29kqkFx2yix6FUoZdk3pCntqJzy0mXAl19+owcbQVbvoJeCR3OaP74H9DE0YBeG49+b1EckYNUnkJaBNxAUGgfOB0YiHSG74UIVGETOLOBwBe8CJR2cigjXo4VPciDSKcp8NjDMq7+ctnV7ojMG4ff/hdWtB65r1v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mp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "vO2SkOav1ihIUylLArI/SSRE1KnHDwZjB4JRMwqjPz0",
  "workflow" => true,
  "workflow_id" => "019ddea7-5783-7f31-8030-cdeb5be6dd21"
}

Recorded Output

%{
  notes: "Created 1 insight for 19 stale visible custom user properties that are not already covered by an active insight and were not found in experience references. Excluded stale auto-tracked properties and conservatively left out a few properties with possible rule references.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 9 properties (email, firstName, isShipper, language, planTier, purchasedAd, renewalDate, role, version) 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_give-us-some-small-input' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_give-us-some-small-input",
          "undo_prompt" => "Update user property '_appcuesForm_give-us-some-small-input' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_how-likely-are-you-to-recommend-nyshexs-daily-notifications-to-a-colleague' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_how-likely-are-you-to-recommend-nyshexs-daily-notifications-to-a-colleague",
          "undo_prompt" => "Update user property '_appcuesForm_how-likely-are-you-to-recommend-nyshexs-daily-notifications-to-a-colleague' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_larger-input' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_larger-input",
          "undo_prompt" => "Update user property '_appcuesForm_larger-input' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_who-is-the-best-dev-on-the-contracts-team' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_who-is-the-best-dev-on-the-contracts-team",
          "undo_prompt" => "Update user property '_appcuesForm_who-is-the-best-dev-on-the-contracts-team' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_experience_dismissed_768a04fb-7a00-44ea-9edb-a46109dd4b17' and set show_in_ui to false.",
          "title" => "Hide _experience_dismissed_768a04fb-7a00-44ea-9edb-a46109dd4b17",
          "undo_prompt" => "Update user property '_experience_dismissed_768a04fb-7a00-44ea-9edb-a46109dd4b17' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'accountId' and set show_in_ui to false.",
          "title" => "Hide accountId",
          "undo_prompt" => "Update user property 'accountId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'addtlProp0' and set show_in_ui to false.",
          "title" => "Hide addtlProp0",
          "undo_prompt" => "Update user property 'addtlProp0' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'businessName' and set show_in_ui to false.",
          "title" => "Hide businessName",
          "undo_prompt" => "Update user property 'businessName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'companyName' and set show_in_ui to false.",
          "title" => "Hide companyName",
          "undo_prompt" => "Update user property 'companyName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'createdAt' and set show_in_ui to false.",
          "title" => "Hide createdAt",
          "undo_prompt" => "Update user property 'createdAt' 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 19 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_give-us-some-small-input - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_give-us-some-small-input)\n\n_appcuesForm_how-likely-are-you-to-recommend-nyshexs-daily-notifications-to-a-colleague - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-likely-are-you-to-recommend-nyshexs-daily-notifications-to-a-colleague)\n\n_appcuesForm_larger-input - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_larger-input)\n\n_appcuesForm_who-is-the-best-dev-on-the-contracts-team - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_who-is-the-best-dev-on-the-contracts-team)\n\naccountId - [View](https://studio.appcues.com/settings/properties/user?search=accountId)\n\naddtlProp0 - [View](https://studio.appcues.com/settings/properties/user?search=addtlProp0)\n\nbusinessName - [View](https://studio.appcues.com/settings/properties/user?search=businessName)\n\ncompanyName - [View](https://studio.appcues.com/settings/properties/user?search=companyName)\n\ncreatedAt - [View](https://studio.appcues.com/settings/properties/user?search=createdAt)\n\nemail - [View](https://studio.appcues.com/settings/properties/user?search=email)\n\nfirstName - [View](https://studio.appcues.com/settings/properties/user?search=firstName)\n\nisShipper - [View](https://studio.appcues.com/settings/properties/user?search=isShipper)\n\nlanguage - [View](https://studio.appcues.com/settings/properties/user?search=language)\n\nplanTier - [View](https://studio.appcues.com/settings/properties/user?search=planTier)\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\nrole - [View](https://studio.appcues.com/settings/properties/user?search=role)\n\nversion - [View](https://studio.appcues.com/settings/properties/user?search=version)\n\nLast seen 30–60 days ago:\n\n_experience_dismissed_768a04fb-7a00-44ea-9edb-a46109dd4b17 - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_768a04fb-7a00-44ea-9edb-a46109dd4b17)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 19 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors