25353199
CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue
insight_agents
Attempt
1 of 2
Priority
0
Tags
...
Node
customer_api@10.10.0.159
Queue Time
13:27.779
Run Time
01:44.889
Inserted
5h ago
Scheduled
5h ago
Completed
4h ago (01:45)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "94930",
"account_insight_agent_id" => "83c752c4-fa88-4bd2-9f0e-114a6bb971d9"
}
Meta
%{
"deps" => [],
"name" => "execute",
"on_hold" => false,
"partition" => true,
"partition_key" => "PEjNSA2ktOxZTYrjcinkvsv6baR8esK0m8XmR8AhVok",
"recorded" => true,
"return" => "g1AAABBfeJy1V8tyG0UUDSG8RFF8AJu7g6g8kiXZsRxWwTwqBVVJBWdFgapn5o6mo5npqe4eKeIf+APWfBe/wA9QnNszIynGNl6Ejd3q6cd9nHvPaX/v3r37m/cq49mVGP95YVl5TmlC+XapuWLSldPL3FNmLMYq8XrNVDdxoV2Ohfy6ZouFCbsRPSlNtaTJbE5c6KWOi8OVWWE2bhyrqmLrxjXOJVOkbMnnqqLphFK1dRRvKREbtKkw4fmIJtMzylVKlaFwu/ZbGIJdTIVynmbHYeeXssBywpWntKkLnWD3znp+rR38Gm0+6WbcAqerAj6/4/HnY/H+YznfVIu6UBV+3//tBa81b3CVdqRcH5Ij3OTlt6LaGjhZkjeU6dfU2CWuL7ajwWAyoh+9sp422ueUFKxssSWHK5kSU3kx0zVJLucg+J6059Idkak4MllGCJNpENUSCzGtqpS82I1DcOySJUkFL1WC3403VqvCjQbTEX2LPLHCwbtk7VN0REnOyYo2OSN8yCds8LooYEldG+vFpUK2bIxdSb6wobFWbH354odxakqlq9aY7mzVpOHk0WA2opdVl22s2CJowAJy6yUxBYCBC0tVOwmW2p3bOEy/Mo2teEswPUPuG8tkTVGYxo8GJyP6nrnuN8B/ywWvFfbGjcfBm2htiqbchzV4YCqs1Flwke2axbVKWSs+6bAOmVbFgQODJ7Q0BjjVFumolXOkg7G2RwHvY9rCOEQCSCYV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f2SV6wq+tgsenTLcwQQ0sXVBZGdpREMQIlRJ0O0HOT1c47FZJ1L8i7sKR4/7yhwOiiC7R1aQGexCGya8Zj4IKdyNE0urxHiLV2+NaTdC1ijrEBH2r6joApOKSxYG+Dd9qubx7xndp7jeYHWojzDwJSXZdltXuNSBWCKl09sZACrXKXYz87uI59n6TQhcfZgpKuM/VJSDy33p0fD47nUxOpo+i+WQ+i05O4+Po/Dw7j47j8zhN1enk9HRygw/SHjonvmt0CnCvIP7r0ORD097JZ4ad0r3MIajqK6AK6O3V/f511Cv7weDyULlLk1dvhA7BwVfZgsfnlTdVp9l3L7VceKySvjE9ns4Wl7JmMZRudVhOUgdt2SFhAS/P8O6RwGJlKFFRMwwh0VKLlWdzgl1aSK13qGtLEZjV97wY6OZDMAoSwe0zQGYGe0IKC1RqaolVqwdqq+GM38qPBzlekW8qoG9upCOQESJ2VVOJdXt+OFRVD0QyhMPBTQ2/+gcgzpek",
"structured" => true,
"uniq" => true,
"uniq_bmp" => [1, 0, 2, 3],
"uniq_conflict" => true,
"uniq_key" => "l1CbbyV2wXsArRwdze47DQ60/Os3lmkfRFt6k7SYzMw",
"workflow" => true,
"workflow_id" => "019ddea7-5789-78cb-973b-7e04ef646154"
}
Recorded Output
%{
notes: "Created 1 hygiene insight for inactive published experiences. Among 138 eligible published flows/banners/pins older than 21 days by creation date, 127 had no activity in the last 30 days; no recent duplicate insight existed.",
insights_data: [
%{
"action_plan" => "Review this as hygiene, not as a problem to fix urgently.\n\n1. Start with clearly stale content such as test items, one-off announcements, and tightly targeted legacy tutorials.\n2. For each inactive experience, check whether it still supports a live workflow, current URL/domain, and active audience.\n3. Unpublish anything that no longer maps to a current user journey or feature rollout.\n4. Keep currently relevant but low-volume content live only if it serves a narrow, intentional audience.\n\nA good first pass is to review the inactive banner and pin above, then work through older legacy flows from the [Flows list](https://studio.appcues.com/flows).",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published banner experience with ID 88edf6a7-ccb7-438e-95b2-d8271816883c named 'Advanced Search'. This banner is currently published and had no activity in the last 30 days.",
"title" => "Unpublish inactive Advanced Search banner",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the banner experience with ID 88edf6a7-ccb7-438e-95b2-d8271816883c named 'Advanced Search'."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin experience with ID b913c38a-7bbf-475e-9b1f-26478e7e338a named 'Test Pin'. This pin is currently published and had no activity in the last 30 days.",
"title" => "Unpublish inactive Test Pin",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the pin experience with ID b913c38a-7bbf-475e-9b1f-26478e7e338a named 'Test Pin'."
}
],
"cta_text" => "Review inactive experiences",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Cleaning up stale live content should reduce maintenance overhead, make performance reviews easier, and lower the risk of outdated experiences resurfacing to users. It should also sharpen focus on the small set of experiences that are still driving engagement.",
"finding" => "This looks like routine cleanup: **127 published experiences** had **no seen, completed, skipped, or dismissed activity in the last 30 days**.\n\nUsing currently published content that was **created more than 21 days ago** as the eligible set, I found:\n- **125 Flows** with no activity\n- **1 Banner** with no activity\n- **1 Pin** with no activity\n- **0 published Checklists** to review\n- **0 published Launchpads** to review\n\nOnly **11 published experiences** showed any activity in the last 30 days, so your live experience inventory is heavily concentrated in a small active subset.\n\nBased on names and available metadata, most inactive items appear to be older how-to tours and walkthroughs for product areas like Policy, Compliance, Responsibilities, Programs, and Organization Profile settings.\n\nA few clear examples:\n- [Advanced Search](https://studio.appcues.com/banners/88edf6a7-ccb7-438e-95b2-d8271816883c/settings)\n - Type: **Banner**\n - Designed to promote advanced search on the policy management page\n- [Test Pin](https://studio.appcues.com/pins/b913c38a-7bbf-475e-9b1f-26478e7e338a/settings)\n - Type: **Pin**\n - Appears to be a legacy test pin on the beta domain\n- [GCP - Edit Organizational Profile Tour](https://studio.appcues.com/flows/93511426-8183-45b0-99f9-0b9bdda51551/settings)\n - Type: **Flow**\n - Guides key power users through editing organization profile settings for a narrow targeted audience\n\nThe inactive set appears to be dominated by legacy tutorial flows such as the many **2023_Trial_*** walkthroughs and older **PolicyOps Tour** items. These are strong candidates for a publish-state review.",
"outcomes" => ["engagement", "adoption"],
"priority" => "high",
"title" => "127 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
}
Errors
No Errors