25363446 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 12:59.845
Run Time 00:53.083
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (00:54)
Cancelled
Discarded

Args

%{
  "account_id" => "216487",
  "account_insight_agent_id" => "b120a1de-1d65-470f-bbc6-a93c0c225856"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "NRMchV0TlmsHSmlxTvXxGO2/1vuhUW8lVM2A4Jns/wU",
  "recorded" => true,
  "return" => "g1AAAA0XeJzNV9tuGzcQteOkTV0U/YC+DPzQiyDJsuRLZKAPrp0CLoo2SJ2nolDo3ZHEmEsuSK5l9Yv61u9pX/orPSTXqxVgB+4FaQF7L9whOXPOGc7Ib2xsPFp8JLWTs7l3k1x4oTC26XH5sAgXkXlp9KRUQuN985uXfC15QYs5+zlbwsUxXQqt2TpyXipFripLYz0JUvKaSVS5ZJ0xGUsLY6+myiz6dD4Nc5ckLJM2pIyeYTnNnHPepUqX1aWSbh6MCvKGrphLWprKUmlNXkWviG9KtmlxGHvKFAu9vnbtkrfC80xmQqklySL4J7TvUmb0VNoi2JMXdsZe6lk9qRA+Q3gUIEAclQshCp3DWPg4o9I5W7UMU157K4X6wQtfudermOUtKJYzltfBEq5MpzLrB3jfT/C6APqjAPrjMLqVeRHuH7y6hSG8vYfAi9IHFp6/AujBgRqLSQP5jLWvfeQVipMWUN4YFQBdg5jqZ85rLtvQalFgfOciBEjPb0ppG7MdWkg/bxufn9HO3iAXYsBHvdH+9KC3P8ove2J4cNAbHx6NxGj07NlwerDTp4s50MGfIGsq4M40X86wCiceq5KmkIxYozlCPxcO/zkNyDHrLu4ZkFHsg3RC8APKpSukc3A00SZ1DFMJqGSEz2LpIgFPvPSKw9NnDdgwrim/K+SYFSDeTBo+Nn5/GB9vYaPNxbtiAN4JCfgsO29skKb0wZc6bx20zP2Hi/LsvxPlSaLrbYiIwXBvfHR42NufDse9/TGeLsejUW9wOJ6K/YPDfJDx/06Tn96rybWI75Lkb+9Skv8W/g9S5JsQ3lOoceL5Jsb6SV2UGoxWe7soWUQs/XIi88WWlirCVQ/5ZcnN4MdhXgbGJqgQWCqM/dJQENwB95ZDEQsvubEFikh7N3wF2LhnqvIeiIHjWLSi/yg2PoAv9TVuxi4jDXNWpUtWnkUBgWWVo7Xq5pLGVvUst6mWsJ6BzwKrpXIylTrHOJ63/jhxVAoQbqaNlm8dqDXdpXNChcuuwOQq1zqdr1GhXZdeoC/o0lepticRnwbrUGpdp5N8WrBtJ2phbEwIjWVG+MhXyKWZgXWYrowJe6XqKW2SPgyT+GEEXyOFoKa/vX0OLCBrWAxX3K72auGDqVF0nU7KP9ptJ2B8a7IPtndk3vH2do9+vOuE/enzufelO97ddR5l3fRFWWYVuz7W3607n92HHLi7jn1oL9wX20Q9uoD0jmt448AZow3T2BeKd3OzgOxjU9Hj4I+IHU/BzoFxoGSNA7TQwquX37p4dsZDBY0ZGOh0Wu0IfUmcIup04kbfGZoZoTDdewEB5HH0RQOskyFrgfpguN/bGyJHMXEFz1q2PwidhyT/30UHNFfa52YRSHdCIVlOL07+KkBJXP8In+9jQ2wUWsK7RdrkWsyZlMhp3y45A0WGuqMYKYsHJQvpU7SxN12YpssWl+aaY74/RV4DZ47942YY2V6dCOmcLK3ESeqXsVjjyJZVsV5jTof3eDsXIDmUNLTnt0kZq98qx9tV63E4SuPSyLKK3yyeaOPT+fvrqWURgtlrqmn9kwPkXXM86O/zIuGZdqvPk5jpP7NtuXVXKaWTHL8lkPdovX2rs6hb7hjKpfGt0loD3P8ToNFqmA",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "W1IQflHbsIGKlRVUuMGnOmXvXIIxhewyW3aAjaJYuLA",
  "workflow" => true,
  "workflow_id" => "019ddeb5-128d-7787-a480-edb1ff1ee2e9"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Review whether these banners still support a live audience or workflow. If they are no longer needed, unpublish them to keep your production experience list clean. If they are still strategically important, confirm the targeting still matches active users and that the underlying `trialStatus` audience is still receiving traffic.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published banner experience named \"Trial Expired banner\" with experience ID \"10daa0e7-34f5-43db-a255-9673a33882f5\". This is a routine hygiene cleanup for an experience that has had 0 seen, 0 completed, and 0 dismissed users in the last 30 days.",
          "title" => "Unpublish inactive Trial Expired banner",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the banner experience named \"Trial Expired banner\" with experience ID \"10daa0e7-34f5-43db-a255-9673a33882f5\" again, restoring it to a live state."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published banner experience named \"Trial Active banner\" with experience ID \"a0219766-4f29-4966-b933-069fa456d0ce\". This is a routine hygiene cleanup for an experience that has had 0 seen, 0 completed, and 0 dismissed users in the last 30 days.",
          "title" => "Unpublish inactive Trial Active banner",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the banner experience named \"Trial Active banner\" with experience ID \"a0219766-4f29-4966-b933-069fa456d0ce\" again, restoring it to a live state."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing or reworking dormant experiences reduces clutter in your live content inventory and helps your team focus on experiences that are still driving engagement.",
      "finding" => "As part of routine content hygiene, I checked published **Flows, Pins, Banners, and Checklists** that were published more than **3 weeks ago** and looked at their last **30 days** of activity.\n\nI found **2 inactive published experiences** with **0 seen / 0 completed / 0 dismissed** in the last 30 days:\n\n- [Trial Expired banner](https://studio.appcues.com/banners/10daa0e7-34f5-43db-a255-9673a33882f5/settings)\n  - Type: Banner\n  - Designed to show a trial-expiration message across all URLs to users where **trialStatus = expired**\n  - No goals attached\n  - Published since **2024-12-06**\n\n- [Trial Active banner](https://studio.appcues.com/banners/a0219766-4f29-4966-b933-069fa456d0ce/settings)\n  - Type: Banner\n  - Designed to show a trial countdown / sales CTA across all URLs to users where **trialStatus = active**\n  - No goals attached\n  - Published since **2024-12-06**\n\nOther older published experiences checked were still active, so this alert is limited to the two banners above.",
      "outcomes" => ["engagement"],
      "priority" => "medium",
      "title" => "2 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Created 1 hygiene insight covering 2 published experiences older than 3 weeks with zero activity in the last 30 days. Added direct unpublish actions for both inactive banners."
}

Errors

No Errors