25353325 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 12:21.036
Run Time 01:23.398
Inserted 3h ago
Scheduled 3h ago
Completed 3h ago (01:24)
Cancelled
Discarded

Args

%{
  "account_id" => "105610",
  "account_insight_agent_id" => "6037bd56-aee9-47d5-bfa8-3ae3d7aff003"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "hnGYu3HfKCMH+VdTRR/VGg7S38I6CPYkh5BHausVDKs",
  "recorded" => true,
  "return" => "g1AAAB8UeJzVWd1O3EYUpiXpDyiq1ItWvanmomoSiVnILrAQqT+IlhKJ5oI0vWiUrGY9x+sJ9ow7M2Zxe9OH6Bv1TfoQvax6ZrzssuuF2mAgkdD6h5nzfefznDPn2HZhYeHd4V2pLJgEz//a1cAscPKIpFqloG1Oo3wgQAIR0ohBZEmoNGmvEWNZDORYGNHHY5AZqxKSGdCnMwUYomKON2zEJOmsEc5y0yJPFRobggaiIcSDDBCvnxM4wVnCXZoVwiQnUuGfpFyYRBiDg+BEGCvkYEyFxUiX5yRQx2iIIxAkreG90b9NjzMkiW69Y/Fn2Tm4zAIrlOylMZN4vfjvTxGQUGhjyaO1s8wjdgzk10wER7SYQvqZtUoaYhWJBAcPhky4OBY8Y3Gct4gzpiFhQjqW0wYf9FiaBhmYPaWT3lBlMae5ymgsjsCdaDrQCmWhJgtQAkMTJtkAr62igZIWWfjxeDkUNqKJ0kCFxKeRMMdvhTQEcAvWKeurzFIT4K+4GSx8ejSMASx1j8uCZLjwcDDPYrgxAmO4ydrvjZd7b6sP4VbQXqd9PND1zlZIWTvAy+3NjU3odje7/fZ5c7dZuLHd3urSR53NDl3vdjcoW9sIKV/f5J1tttZpbyAuepGnT1mCp8I8M8qu+Ag+VDGYhyTAqO2DW+wcJC53rbJBRHZZalExsvOE/P3Hn4SZIyLsdFBgMEs06v+PySJ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2MIU2x5+NGjE7+Qjlm1FckzgLTNGaploojX2nu7gTiUE03WF/+X+NYvGlys92navvZFWaKm0ziWZf/wfR/x8v",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "LCJlQVVZfRZJDD36JqAqbPwQtO9Iuui2OqLN9DG7JVQ",
  "workflow" => true,
  "workflow_id" => "019ddea7-578f-7b73-99ab-590d2c3a9c7d"
}

Recorded Output

%{
  notes: "Created 1 property-hygiene insight for 20 stale visible custom user properties older than 30 days. None were referenced by experiences, and no non-dismissed existing insight already covered them.",
  insights_data: [
    %{
      "action_plan" => "The first 10 properties have quick-action buttons to hide them individually. The remaining 10 properties (_appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-to-with-more-information, _appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-with-more-information, _appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-with-more-information-about-scoutin, _appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-with-more-information-about-the-fleet-maintenance-module, _appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-with-more-information-about-the-module, _experience_dismissed_8bef8c24-bf8c-438f-a2c4-b9656e7767b2, _experience_dismissed_9af59287-1363-4775-a05f-d46d39a0325e, groypName, isSsot, userRoles) 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_' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_",
          "undo_prompt" => "Update user property '_appcuesForm_' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_company' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_company",
          "undo_prompt" => "Update user property '_appcuesForm_company' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_describe-the-issue' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_describe-the-issue",
          "undo_prompt" => "Update user property '_appcuesForm_describe-the-issue' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_email' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_email",
          "undo_prompt" => "Update user property '_appcuesForm_email' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_how-if-at-all-has-fieldin-impacted-your-farming-operations' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_how-if-at-all-has-fieldin-impacted-your-farming-operations",
          "undo_prompt" => "Update user property '_appcuesForm_how-if-at-all-has-fieldin-impacted-your-farming-operations' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_name' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_name",
          "undo_prompt" => "Update user property '_appcuesForm_name' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_phone-number' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_phone-number",
          "undo_prompt" => "Update user property '_appcuesForm_phone-number' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_please-describe-your-issue' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_please-describe-your-issue",
          "undo_prompt" => "Update user property '_appcuesForm_please-describe-your-issue' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_rate-your-satisfaction-with-the-efficiency-tool' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_rate-your-satisfaction-with-the-efficiency-tool",
          "undo_prompt" => "Update user property '_appcuesForm_rate-your-satisfaction-with-the-efficiency-tool' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_which-feature-do-you-use-most' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_which-feature-do-you-use-most",
          "undo_prompt" => "Update user property '_appcuesForm_which-feature-do-you-use-most' 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 20 stale user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_appcuesForm_ - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_)\n\n_appcuesForm_company - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_company)\n\n_appcuesForm_describe-the-issue - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_describe-the-issue)\n\n_appcuesForm_email - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_email)\n\n_appcuesForm_how-if-at-all-has-fieldin-impacted-your-farming-operations - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-if-at-all-has-fieldin-impacted-your-farming-operations)\n\n_appcuesForm_name - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_name)\n\n_appcuesForm_phone-number - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_phone-number)\n\n_appcuesForm_please-describe-your-issue - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_please-describe-your-issue)\n\n_appcuesForm_rate-your-satisfaction-with-the-efficiency-tool - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_rate-your-satisfaction-with-the-efficiency-tool)\n\n_appcuesForm_which-feature-do-you-use-most - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_which-feature-do-you-use-most)\n\n_appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-to-with-more-information - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-to-with-more-information)\n\n_appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-with-more-information - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-with-more-information)\n\n_appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-with-more-information-about-scoutin - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-with-more-information-about-scoutin)\n\n_appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-with-more-information-about-the-fleet-maintenance-module - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-with-more-information-about-the-fleet-maintenance-module)\n\n_appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-with-more-information-about-the-module - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_would-you-like-your-grower-success-manager-to-contact-you-with-more-information-about-the-module)\n\n_experience_dismissed_8bef8c24-bf8c-438f-a2c4-b9656e7767b2 - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_8bef8c24-bf8c-438f-a2c4-b9656e7767b2)\n\n_experience_dismissed_9af59287-1363-4775-a05f-d46d39a0325e - [View](https://studio.appcues.com/settings/properties/user?search=_experience_dismissed_9af59287-1363-4775-a05f-d46d39a0325e)\n\ngroypName - [View](https://studio.appcues.com/settings/properties/user?search=groypName)\n\nisSsot - [View](https://studio.appcues.com/settings/properties/user?search=isSsot)\n\nuserRoles - [View](https://studio.appcues.com/settings/properties/user?search=userRoles)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 20 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors