25363272
CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue
insight_agents
Attempt
1 of 2
Priority
0
Tags
...
Node
customer_api@10.10.0.61
Queue Time
13:18.022
Run Time
01:04.494
Inserted
1h ago
Scheduled
1h ago
Completed
1h ago (01:05)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "211071",
"account_insight_agent_id" => "31f1412b-3e3b-4e56-bd92-4439ebfff6b2"
}
Meta
%{
"deps" => [],
"name" => "execute",
"on_hold" => false,
"partition" => true,
"partition_key" => "P58VDIieu+BurReYw7eavymsEOSpAKCb7bD3Dq+5g4Y",
"recorded" => true,
"return" => "g1AAAA3AeJy9V12P20QU3dKWj0WIH8DLaJ/A5MNxNlmSF4RaVVoJUFVtX0Aomtg39nSdGWtmnDT8LcQLv4KfxLljJ3FpWi0V7Uscz+e959x77rU/Ozv7aPuF0k7lhXeLTHpZYuyex8/na/6RqVdGL6pSarzf+/4ZbRRtBcm0EErz7IYEvazIKtIpCW9EavRK2bXYFuQLskJ5oZxwXpWl0EQZZQNxvRKY46WedDNP0hkty56whNtSynrCWKGNKI3OcYylkjYSi/mK2lreVzuyridqXdXLUrmC78L0LVEldqa2ovyXeUpvsM/YnUhLkjoYQiqY2VnlClOXWWvykkTjJlsWnFfeCVlnzVqpM+GtytlER76usGFlLAUjlM7ZpNY6OM6YftJg6hjpjxjpBzx6P/WSn5893zvDbx9X1qwrz9A/fe4ogIahrE79wtVVZawXMmco2A427IDF4hVWTMnAHIEKB+3NEltailVptkLLNV4vfqL1EsgWqhI3u4rEIwO+4cyF2AKsLlTXj8XFVK5Wyexq0h/FNOlf0nLWn8k47c+yqzhZpjMaUXYxEDcFaA634NkyWO4CRT2xla5jj/QiiZNpPx71k/FNHM8vv5tfTgaTeDy7Gv/SC84WMhMxICfdwzMFTCV5jhqexMStqiocFUIEvAePS+m8GMcikzsXuHjolS+J/337/BhE+7heH2FIWwSCAyEzap2ZxYGesz/uRs9byEHcd8j5EJTcPfjWHzD4HlMafBXX2K0DEUgocS1uNRbx3oy8VCXANFssCwyfhuFqkkl5KdM+jSVgWC3HQGA67U+n6SiOR5ck48m7RCZwTfrx+CZJ5sl0nlwNkllyNbl8P5EZnYjMA0bqiNEbAvPv9xyYH5yuF+zVp4jYhaeXwcWv2qp0oiC5ENZsl98tVLa9r1UZUGqHPHLpMPgl70tB1UKtKxzFY38+M7VXmpqCAXm3BBTJNfWrkAGoAmGBZaifQATOpxL7Va77DueplUoPlc55ENyUpVprQOectArBFgKHyso1hcuTXAPHtHbC6K4/zWXS7qsStmZWbViaSOfgdI1rmjqzUjrDOP4/MD8AfgnSzUrYvUOtScUux9GI9GtciOARUZR0Ir5zdxQ1t4PGbgKvudxhQosxpugW1TE3h0yIItTwYCvwPhXuUTQ4P++LX9+kcL99XXhfuflw6DyqrhnIqkprcgNk1pAj0Q3vIndDVGf4nbtvzoXohyvm4gm2h9ene2/m7P6h9kRRmP2xYy4vaLI7inrh/yHD9wNthrebHxPaKw2ckErMcJv4aWFMm5mW269utWkaiZAikrsREAcaSgnabAA2Q1g5NBEhEweNQ9LmxA7O2wswG0WlXA4quUPsZpYBA4UgMIqGm9HweCE4CBS8Uy7fgZ+7JPZ/46dV4P+bH5ZN45FbJxXWsMecaYE0dLLtxhtL0nPeiafok8WyVmVG9jVapFipl1xDSngFb0I2doBsGcNVpynLpCuWRtoMzFmWHs+0/fx6/1qgZOVGgibpPZJoX3uWhgMKrkvLzqKzzY3JoFbQCdYuF1zcd7mhRd8FqTl24XsRgZut1u61jnVva+xtiMgg0dAZmE+h0b3HI+dHhWpEvLLKWMhC6DZQTVS9frX2PXqDEsHFDQV56YoLW98Ro041fcA6H45WztX0YvtQg+ZQHP56xOzh+NFeCUX7QYTA2eBC8H3aBsMsvyp8IWV/J/t2xRuIJ0Fok2PFCnnSFGOdljU+kkSmLIpRp21qvxuCm/wBNvgHSXGbqA",
"structured" => true,
"uniq" => true,
"uniq_bmp" => [1, 0, 2, 3],
"uniq_conflict" => true,
"uniq_key" => "Ro4z1AftiqRk8CxA8ocrgdPZrjvTbPB9mLsBDwKGHDA",
"workflow" => true,
"workflow_id" => "019ddeb5-1288-7f9c-a3ef-bae373e936e9"
}
Recorded Output
%{
insights_data: [
%{
"action_plan" => "Review each inactive experience to confirm whether it is still needed. If the content is seasonal, replaced, or no longer relevant to current users, unpublish it to keep your live experience inventory clean. If either experience should still be active, review its audience and trigger setup before keeping it published.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow named \"Membership Type Coaching\" with experience ID \"6aff2975-10e5-4eb9-9a0c-9d702bc9e1ed\". This flow is currently live, was published at 2026-01-23T00:48:45.503973Z, and had 0 seen, 0 completed, and 0 skipped users in the last 30 days.",
"title" => "Unpublish inactive membership coaching flow",
"undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow named \"Membership Type Coaching\" with experience ID \"6aff2975-10e5-4eb9-9a0c-9d702bc9e1ed\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow named \"December Incentive for I know the details power users\" with experience ID \"75daa4ac-e3a5-4fb3-9d66-66c10014ea05\". This flow is currently live, was published at 2025-12-03T22:26:27.292754Z, and had 0 seen, 0 completed, and 0 skipped users in the last 30 days.",
"title" => "Unpublish inactive December incentive flow",
"undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow named \"December Incentive for I know the details power users\" with experience ID \"75daa4ac-e3a5-4fb3-9d66-66c10014ea05\"."
}
],
"cta_text" => "Review inactive experiences",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Routine cleanup reduces the chance that outdated or campaign-specific content stays live unnecessarily and helps your team focus on experiences that are actively driving engagement.",
"finding" => "As part of routine content hygiene, I found **2 published experiences** that were published more than 3 weeks ago and had **no activity in the last 30 days**.\n\n- [Membership Type Coaching](https://studio.appcues.com/flows/6aff2975-10e5-4eb9-9a0c-9d702bc9e1ed/settings)\n - Type: Flow\n - Published: **2026-01-23**\n - Last 30 days: **0 seen**, **0 completed**, **0 skipped**\n - Designed to help users choose the right membership setup with a short explainer and decision flow.\n - Targeting: users on **lab.payleadr.com** at **/v1/memberships**\n\n- [December Incentive for I know the details power users](https://studio.appcues.com/flows/75daa4ac-e3a5-4fb3-9d66-66c10014ea05/settings)\n - Type: Flow\n - Published: **2025-12-03**\n - Last 30 days: **0 seen**, **0 completed**, **0 skipped**\n - Designed to promote a December incentive for using the redesigned Treatment Plan builder.\n - Targeting: a fixed allowlist of power users on **live.payleadr.com** at **/dashboard/merchant**\n\nNeither experience has goals attached, and both appear to be good candidates for review if they are no longer part of an active campaign or workflow.",
"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 published experiences older than 3 weeks with zero activity in the last 30 days. Found 2 inactive flows and included direct unpublish actions for each."
}
Errors
No Errors