25352845 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 16:40.895
Run Time 01:17.804
Inserted 7h ago
Scheduled 7h ago
Completed 7h ago (01:18)
Cancelled
Discarded

Args

%{
  "account_id" => "62434",
  "account_insight_agent_id" => "960c2227-5e47-4485-a993-5b04f955665a"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "qxEtKLG6UJwLbcNmlBPf0VsHLAWzFLaO95AZhghDkYU",
  "recorded" => true,
  "return" => "g1AAAAkceJytls1uEzEQxwtt+UhUEG8wF1QqNQmo6qGFUqoCaiXEAQkuCK2c9TTrdtfe2rNN98ZD8BK8Bo/CkzCzm69WqZqUXGJ75PnP/Cb2eGlpael+f9U6wpDx/PehR0Wo4RXk3uXoqYSk7Bm0CMYG00sITpyHbQikUoQLE0yXx7gI5DIoAvqho8EALtVsoERZ2HoJWpVBFgTKI3BM8HiCHm3MAbslKFsCXrKvERMvNfRxsFOlnJgu2SN3nhNs99cG+YRIK86Fk79H/NMUjKaKyTgb5amysv7zQcXJmEh13QVCogIoOC9MfNaq90O3IOKBHCRGMzHDesaiBCFgL0NLvMUIVBuOjDa2ByZwfralMZAvWIWF//78NY4lyckmj6SMZVDBEsHRjpir00XIlB7XU/V4M0iluCZkMmwLxsM6zSCwqwK7ItblmFQ1fikq2AesnOUk03dfc46PV/6XEtajrDzI87jAcKzXq4QCEoTE9SNjo8JIAU5UGuqoq2QoRZk9O5KqTHpXxS6sdtE46P7dg3IJsf0fYN0sOucAUqTt+cEmvecAmyXozGBvpsdIVaDPKsN5oNYqqKHnNKDXdws2M8zeDfquZ+y8NE9qmqHrNJybandbuJl5dqcHkOXx+3lgmhVM7TeNZOcugSqMU3F/xAgR4SX1l61JxfKYW5ehMjJ6ZGoOTFTmODI+lf4bc3+NTJZztxHb1mGKynIi11og9A0l4GzKDbVufOPOX3WrE2OlRfL8/sFHx4ijZ+P6OzF6FAb9b7Pu+QW5FnkVn6HerKDFyr5TXot2o/GJjy3niBbews7gtVE9t9toTLYeaMH3bwb7P14kRHnY7XQCFdq4tqp3tGOXdbi4xJmHzjjHjuS8H1D5ONmbFNxoNCY7wEL0JwVZf3ghF6I9FBPd4c1YjPBQjZXrk7oQ2VpqozrXriB2wVCf8twb5/kIy2Il4W+Bq5fs+S1nrn7kK2e5A9WdcLl8XhSWVU//AaInDno",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "f4JJ1p04N9tWV9osRhDdhPI8hzYqDcwlQXFfAq1DVMA",
  "workflow" => true,
  "workflow_id" => "019ddea7-5781-7386-a561-ec5370e48219"
}

Recorded Output

%{
  notes: "Created 1 property hygiene insight for 5 stale visible custom user properties older than 30 days that are not referenced by any experience and were not already reported.",
  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 '_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 'bm_question5' and set show_in_ui to false.",
          "title" => "Hide bm_question5",
          "undo_prompt" => "Update user property 'bm_question5' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'lastName' and set show_in_ui to false.",
          "title" => "Hide lastName",
          "undo_prompt" => "Update user property 'lastName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'loginName' and set show_in_ui to false.",
          "title" => "Hide loginName",
          "undo_prompt" => "Update user property 'loginName' and set show_in_ui to true."
        },
        %{
          "cta" => "Run",
          "prompt" => "Update user property 'userID' and set show_in_ui to false.",
          "title" => "Hide userID",
          "undo_prompt" => "Update user property 'userID' 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 user properties that are visible, not auto-tracked, and not used by any experience.\n\nLast seen > 90 days ago:\n\n_myAppcuesId - [View](https://studio.appcues.com/settings/properties/user?search=_myAppcuesId)\n\nbm_question5 - [View](https://studio.appcues.com/settings/properties/user?search=bm_question5)\n\nlastName - [View](https://studio.appcues.com/settings/properties/user?search=lastName)\n\nloginName - [View](https://studio.appcues.com/settings/properties/user?search=loginName)\n\nuserID - [View](https://studio.appcues.com/settings/properties/user?search=userID)",
      "outcomes" => [],
      "priority" => "high",
      "title" => "Found 5 stale user properties to hide",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors