25352663
CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue
insight_agents
Attempt
2 of 2
Priority
0
Tags
...
Node
customer_api@10.10.0.170
Queue Time
03:26.516
Run Time
02:36.544
Inserted
5h ago
Scheduled
4h ago
Completed
4h ago (02:37)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "46248",
"account_insight_agent_id" => "28ba9cf3-c25e-4118-9b89-868b02485ff7"
}
Meta
%{
"deps" => [],
"name" => "execute",
"on_hold" => false,
"orig_scheduled_at" => 1777557002159418,
"partition" => true,
"partition_key" => "NBTJ4CIEKTQhD281xn7hNpHtYk82cxWXY28c2Oc475E",
"recorded" => true,
"return" => "g1AAACRieJzVWm1v5EgRXvbu4JgD8QNAqNgPCIZ5SQjshv0WNrlNLjkuu9m9fUFo0mP32J2xu013O7OzfwbBLwABAiH4xidAwE+iqu0Zezwv9o4gEVKUeJx+qXqep9pV5bF37ty5O/mqkEYEoTUDn1kW4b0vWPz1UUy/mGeFkoMkYhI/3/3oKb8WfAI25IaDkPTvaw78TcK14NLjBpgBrVIrJAcv4kymCWiG4zVOYhIY4NCR0jHD0ZBoNYx43Gu1dntwynkCTE5Ly9EcCyZNEqUtrg3Giijq5tsmLOAdYKnvxnZAaVByqJj2hQzwvzaEqUrdcp4FqyBFo1nAhASjlOy1vt+D5zJJh5Ew4YITVnCfJqAjCApe01amAxEPmDet7mLc1n6aRMLD0cD9FP8ibuApabm0vdZeD05GzhqmOaTSpPiHDXF99BiE5TGukXC6NGC4RfwCA5GQYxgJbZz1uBhexwT+3GmcjYZqEQQIsE4jtH3IEV4OmsfqmiwUuH3rFe7s4U6EAM1P525nDNO0SE0Ap1YpIKOlgkhJ2kNyRCNC9Hukjy/ls0k1LVLN+3T3Pc8y+vvlObj06YtIdpxYuvz789wMvIVY2UHOMJKDaGU+lY0clBWhVOS4nHvgFsqu0bYJH8KIXJkIWyYVTg6he8ZeHt3/9Hjv6cvPTs/H4fGZGvTgWSgM4A+tUxovWYzL3TvPV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/gxmk1g",
"structured" => true,
"uniq" => true,
"uniq_bmp" => [1, 0, 2, 3],
"uniq_conflict" => true,
"uniq_key" => "eVi8Dzd0+yWI4l8etABjvXoWg+b/Hxmq7J6d4BZ5KMc",
"workflow" => true,
"workflow_id" => "019ddea7-577e-7143-8169-e6558ef53930"
}
Recorded Output
%{
notes: "Created 1 hygiene insight covering 10 published flows/checklists older than 3 weeks with zero activity in the last 30 days. Added direct unpublish actions for each inactive experience.",
insights_data: [
%{
"action_plan" => "Review these inactive experiences as routine cleanup rather than a performance problem.\n\n1. Keep any experience that supports a still-active page, audience, or onboarding path you expect to use again soon.\n2. Unpublish experiences tied to outdated pages, legacy onboarding paths, or duplicate education content.\n3. If you are unsure about an item, open its settings link first to confirm the audience and trigger rules before removing it.\n\nYou can use the unpublish actions below for any experience you no longer need live.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LaXE6MH3RXOKPkhHLo_. This is the experience named \"Publisher Profile - Enterprise\".",
"title" => "Unpublish Publisher Profile Enterprise flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LaXE6MH3RXOKPkhHLo_. This is the flow named \"Publisher Profile - Enterprise\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LaWQwolu9DYDQAoE5-Z. This is the experience named \"Movers & Shakers\".",
"title" => "Unpublish Movers and Shakers flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LaWQwolu9DYDQAoE5-Z. This is the flow named \"Movers & Shakers\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LaWKe_4LnzbsSFLrUn8. This is the experience named \"Top Advertisers\".",
"title" => "Unpublish Top Advertisers flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LaWKe_4LnzbsSFLrUn8. This is the flow named \"Top Advertisers\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LaWs7R1QSvtS78L0euW. This is the experience named \"Brand Profile\".",
"title" => "Unpublish Brand Profile flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LaWs7R1QSvtS78L0euW. This is the flow named \"Brand Profile\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LZfkHoJGpgncVo_unhH. This is the experience named \"Advertiser Profile - Enterprise\".",
"title" => "Unpublish Advertiser Profile Enterprise flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LZfkHoJGpgncVo_unhH. This is the flow named \"Advertiser Profile - Enterprise\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LYDnmfzidLxaxcrh36D. This is the experience named \"Adbeat Search\".",
"title" => "Unpublish Adbeat Search flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LYDnmfzidLxaxcrh36D. This is the flow named \"Adbeat Search\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LcCS8dsEUHtKEirAoGh. This is the experience named \"Advertiser Profile - Non-Enterprise\".",
"title" => "Unpublish Advertiser Profile Non Enterprise flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LcCS8dsEUHtKEirAoGh. This is the flow named \"Advertiser Profile - Non-Enterprise\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID -LcCT8lPcVc7K0skXaQk. This is the experience named \"Publisher Profile - Non-Enterprise\".",
"title" => "Unpublish Publisher Profile Non Enterprise flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LcCT8lPcVc7K0skXaQk. This is the flow named \"Publisher Profile - Non-Enterprise\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published checklist with experience ID -Lcbr8mInj06l10gqsDe. This is the experience named \"Getting Started - Non-Enterprise\".",
"title" => "Unpublish Non Enterprise checklist",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -Lcbr8mInj06l10gqsDe. This is the checklist named \"Getting Started - Non-Enterprise\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published checklist with experience ID -LaWSpOwi8JYpZj7aIPl. This is the experience named \"Getting Started - Enterprise\".",
"title" => "Unpublish Enterprise checklist",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LaWSpOwi8JYpZj7aIPl. This is the checklist named \"Getting Started - Enterprise\"."
}
],
"cta_text" => "Review inactive experiences",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Cleaning up these inactive published experiences should reduce content sprawl, lower the chance of outdated guidance resurfacing, and make your live Appcues inventory easier to maintain and audit.",
"finding" => "As part of routine content hygiene, I found **10 published experiences** that were published **more than 3 weeks ago** and had **0 activity in the last 30 days**.\n\n- [Publisher Profile - Enterprise](https://studio.appcues.com/flows/-LaXE6MH3RXOKPkhHLo_/settings)\n - Type: Flow\n - Designed to introduce the **Publisher Profile** page, including ad spend, filters, ads, and similar profiles\n - Targeting: users on `app.adbeat.com` publisher pages in an enterprise audience segment\n- [Movers & Shakers](https://studio.appcues.com/flows/-LaWQwolu9DYDQAoE5-Z/settings)\n - Type: Flow\n - Designed to explain the **Movers & Shakers** report and how to spot advertisers changing strategy\n - Targeting: users on the `/movers-and-shakers` page in the same audience segment\n- [Top Advertisers](https://studio.appcues.com/flows/-LaWKe_4LnzbsSFLrUn8/settings)\n - Type: Flow\n - Designed to guide users through the **Top Advertisers** view, including category and ad network filters\n - Targeting: users on `/top-advertisers/`, after a prior onboarding experience\n- [Brand Profile](https://studio.appcues.com/flows/-LaWs7R1QSvtS78L0euW/settings)\n - Type: Flow\n - Designed to explain the **Brand Profile** view for a single brand or product line\n - Targeting: users on `/brand/` pages in the same audience segment\n- [Advertiser Profile - Enterprise](https://studio.appcues.com/flows/-LZfkHoJGpgncVo_unhH/settings)\n - Type: Flow\n - Designed to teach the **Advertiser Profile** page, including follow/alerts, ad spend, filters, campaigns, landing pages, and publishers\n - Targeting: users on advertiser pages with enterprise plan criteria\n- [Adbeat Search](https://studio.appcues.com/flows/-LYDnmfzidLxaxcrh36D/settings)\n - Type: Flow\n - Designed as a **welcome walkthrough** for search, filters, reports, and the next checklist step\n - Targeting: users on `top-advertisers` in the same audience segment\n- [Advertiser Profile - Non-Enterprise](https://studio.appcues.com/flows/-LcCS8dsEUHtKEirAoGh/settings)\n - Type: Flow\n - Designed to teach the **Advertiser Profile** for non-enterprise users, including alerts, ad impact, ads, campaigns, and publishers\n - Targeting: users on advertiser pages outside the enterprise plan condition\n- [Publisher Profile - Non-Enterprise](https://studio.appcues.com/flows/-LcCT8lPcVc7K0skXaQk/settings)\n - Type: Flow\n - Designed to teach the **Publisher Profile** for non-enterprise users, including ad impact, filters, advertisers, and similar profiles\n - Targeting: users on publisher pages outside the enterprise plan condition\n- [Getting Started - Non-Enterprise](https://studio.appcues.com/checklists/-Lcbr8mInj06l10gqsDe/edit)\n - Type: Checklist\n - Designed as a getting-started checklist with items for search, advertiser profile, publisher profile, and workflows\n- [Getting Started - Enterprise](https://studio.appcues.com/checklists/-LaWSpOwi8JYpZj7aIPl/edit)\n - Type: Checklist\n - Designed as the enterprise version of the same getting-started checklist\n\nNone of these experiences have recorded **seen events or checklist activity** in the last 30 days, which makes them strong candidates for review and possible unpublishing.",
"outcomes" => ["engagement", "adoption"],
"priority" => "medium",
"title" => "10 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
}
Errors
Attempt 1—4h ago
** (Oban.CrashError) ** (exit) exited in: Task.Supervised.stream(120000)
** (EXIT) time out
(elixir 1.19.5) lib/task/supervised.ex:349: Task.Supervised.stream_reduce/7
(elixir 1.19.5) lib/stream/reducers.ex:104: Stream.Reducers.do_zip_next/6
(elixir 1.19.5) lib/stream/reducers.ex:75: Stream.Reducers.do_zip_enum/4
(elixir 1.19.5) lib/enum.ex:4175: Enum.zip_reduce/3
(elixir 1.19.5) lib/enum.ex:4023: Enum.zip/1
(customer_api 1.21.0+dd24b211) lib/customer_api/ai/agents/executor.ex:244: CustomerApi.AI.Agents.Executor.execute_tools_parallel_with_handoff/3
(customer_api 1.21.0+dd24b211) lib/customer_api/ai/agents/executor.ex:191: CustomerApi.AI.Agents.Executor.handle_tool_calls/4
(customer_api 1.21.0+dd24b211) lib/customer_api/ai/agents/manager.ex:127: CustomerApi.AI.Agents.Manager.execute/3