25352885 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 13:38.969
Run Time 01:11.577
Inserted 5h ago
Scheduled 5h ago
Completed 4h ago (01:12)
Cancelled
Discarded

Args

%{
  "account_id" => "67757",
  "account_insight_agent_id" => "831de33a-0dca-4624-84e0-f3071fe9f12f"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "N4NyDb8L/TCX4/4boVaH0nhJ21ulPC+JpSeIgrHAqWg",
  "recorded" => true,
  "return" => "g1AAABsWeJzNWV9v3EQQT2nLn6sQghceeNkn2krZS0p5IRItISJqEPBQtbwgdNrYc+dp7F1nd30Xv/EFqEDiQ/EleOGTMGPfnXNno9jptqqUOHeb9W9+85v1zsza7+zsvLP4ELXDWeLdJFZepTR2w9PlTsYXFXk0epKnStP3G38/S0BM0TovHuyL3JocrEdwIlFzEOcFRmeyvkWcFt4b7YQ3IsEYhE8gE6hjnGNcqDQtx4LBLGQKNerZFuA9FUWm0P4nlcGuWH55hhk4r7K8GSlz/nfmjkH5woLbFeh+xJlVHuJdQbRnhZrRlFyVGazmW5PStXBgn64/rbHvi0gRfWDaMWgibk0xS8SRyj1RFYcn4t/f/hLKnQn0m+6dlkIT3+r/xooij5mGyJSuPCb3eZ5wMGMuJBGmMVjx/GQsnmDMIqAT2mgZExVbkJDzGmwpTCk4RDzJAnMhbKX5t2xmLMlnikjN0eFpCkLNmLjy1UxPjo45uO/VkXIc8hGH/BaP3oxIBP77tOCQ77xLyFnu+ePh88qhSq7G4N2JyvOoAHdsbDa5WzFy4IVLzGKCelIgizRVqavN3vboU+BPnzxh5TZurxZdoWMzacx+8wpmSUUY9/Et62GEpJWlKWSegnIg4YIeC9RykZTV8BQglT5RXi5UOUSHR20dhpjq0ix9Q+701vf7PoTIWKpKsEPE+6xDvBVOlzInIYj0dvu8hzVClk55dFOEWCoLlf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, 3],
  "uniq_conflict" => true,
  "uniq_key" => "2k2kin/c7nqKjp3IxgZIko9U+zeLymZLkn3/jfrrN2w",
  "workflow" => true,
  "workflow_id" => "019ddea7-5782-70c5-ae5b-b9fda65682d3"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight. Found 20 stale visible custom user properties older than 30 days that are not auto-tracked, not referenced by any experience, and 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 10 properties (accountName, accountTimestamp, accountType, amsFeatures, isMigrated, language, paymentType, role, userRole, userTimestamp) 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_can-you-please-explain-why-you-feel-that-way' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_can-you-please-explain-why-you-feel-that-way",
          "undo_prompt" => "Update user property '_appcuesForm_can-you-please-explain-why-you-feel-that-way' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_chatlayer' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_chatlayer",
          "undo_prompt" => "Update user property '_appcuesForm_chatlayer' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_how-satisfied-are-you-with-the-new-test-emulator' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_how-satisfied-are-you-with-the-new-test-emulator",
          "undo_prompt" => "Update user property '_appcuesForm_how-satisfied-are-you-with-the-new-test-emulator' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_no-geral-quo-satisfeito-voc-est-com-a-experincia-de-criar-um-bot-no-chatlayer' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_no-geral-quo-satisfeito-voc-est-com-a-experincia-de-criar-um-bot-no-chatlayer",
          "undo_prompt" => "Update user property '_appcuesForm_no-geral-quo-satisfeito-voc-est-com-a-experincia-de-criar-um-bot-no-chatlayer' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_overall-how-satisfied-are-you-with-the-experience-of-building-a-bot-on-chatlayer' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_overall-how-satisfied-are-you-with-the-experience-of-building-a-bot-on-chatlayer",
          "undo_prompt" => "Update user property '_appcuesForm_overall-how-satisfied-are-you-with-the-experience-of-building-a-bot-on-chatlayer' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_voc-pode-explicar-por-que-se-sente-assim' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_voc-pode-explicar-por-que-se-sente-assim",
          "undo_prompt" => "Update user property '_appcuesForm_voc-pode-explicar-por-que-se-sente-assim' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_appcuesForm_what-is-the-reason-for-your-rating' and set show_in_ui to false.",
          "title" => "Hide _appcuesForm_what-is-the-reason-for-your-rating",
          "undo_prompt" => "Update user property '_appcuesForm_what-is-the-reason-for-your-rating' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property '_myAppcuesId' and set show_in_ui to false.",
          "title" => "Hide _myAppcuesId",
          "undo_prompt" => "Update user property '_myAppcuesId' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'accountCountryCode' and set show_in_ui to false.",
          "title" => "Hide accountCountryCode",
          "undo_prompt" => "Update user property 'accountCountryCode' 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_can-you-please-explain-why-you-feel-that-way - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_can-you-please-explain-why-you-feel-that-way)\n\n_appcuesForm_chatlayer - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_chatlayer)\n\n_appcuesForm_how-satisfied-are-you-with-the-new-test-emulator - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_how-satisfied-are-you-with-the-new-test-emulator)\n\n_appcuesForm_no-geral-quo-satisfeito-voc-est-com-a-experincia-de-criar-um-bot-no-chatlayer - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_no-geral-quo-satisfeito-voc-est-com-a-experincia-de-criar-um-bot-no-chatlayer)\n\n_appcuesForm_overall-how-satisfied-are-you-with-the-experience-of-building-a-bot-on-chatlayer - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_overall-how-satisfied-are-you-with-the-experience-of-building-a-bot-on-chatlayer)\n\n_appcuesForm_voc-pode-explicar-por-que-se-sente-assim - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_voc-pode-explicar-por-que-se-sente-assim)\n\n_appcuesForm_what-is-the-reason-for-your-rating - [View](https://studio.appcues.com/settings/properties/user?search=_appcuesForm_what-is-the-reason-for-your-rating)\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\naccountCountryCode - [View](https://studio.appcues.com/settings/properties/user?search=accountCountryCode)\n\naccountName - [View](https://studio.appcues.com/settings/properties/user?search=accountName)\n\naccountTimestamp - [View](https://studio.appcues.com/settings/properties/user?search=accountTimestamp)\n\naccountType - [View](https://studio.appcues.com/settings/properties/user?search=accountType)\n\namsFeatures - [View](https://studio.appcues.com/settings/properties/user?search=amsFeatures)\n\nisMigrated - [View](https://studio.appcues.com/settings/properties/user?search=isMigrated)\n\nlanguage - [View](https://studio.appcues.com/settings/properties/user?search=language)\n\npaymentType - [View](https://studio.appcues.com/settings/properties/user?search=paymentType)\n\nrole - [View](https://studio.appcues.com/settings/properties/user?search=role)\n\nuserRole - [View](https://studio.appcues.com/settings/properties/user?search=userRole)\n\nuserTimestamp - [View](https://studio.appcues.com/settings/properties/user?search=userTimestamp)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 20 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors