25352583
CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue
insight_agents
Attempt
1 of 2
Priority
0
Tags
...
Node
customer_api@10.10.1.109
Queue Time
03:43.098
Run Time
02:34.776
Inserted
2h ago
Scheduled
2h ago
Completed
1h ago (02:35)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "41271",
"account_insight_agent_id" => "452d4cc5-a60c-4adf-9b03-8603a32ed5c4"
}
Meta
%{
"deps" => [],
"name" => "execute",
"on_hold" => false,
"partition" => true,
"partition_key" => "BNw82MD2Bk0XIeiOIpQeNHgCyN6djqfwOL0ecEmO0sk",
"recorded" => true,
"return" => "g1AAAGk9eJzNXUlzI0kVnhUYTxBcgIHZIqOHAzgsWbJky9M3WV7a+952myA0qaqUlHapslyVJVm+s0OwBGtw4MYf4MQvYYdgCYYlOPAPeJm1aSnZWWqr7IiObi2lfO9938t8ubx8zV944YWXOq+ajBOnBa9/UbEJ5kRHedTsNigxCaKmQxtNjjTWJjY1G6iwgCy3ZlCnCc/VDdZxEDN0YiPexCYqoA4hFw7qUN5E18RmCGuctinvQkvwCEEGdjgq5JCOu04W7TBkE42YHOmuZVANpIciyRV1hDJ1JhqnDjSlMdfk2c7H/Uecqo45NkDzFzn89bqw4XUhkJlVy8AmvH/p0ZGwyW8A/oC8hmtgG2kGwaZrIQs7TnZqKp9Fx6ZvmVSU1dqUuY7RRQ7IIGh62rJJm5LO9PQMvGnnxL/Y1JEDsBgk4zoAAjU5sU1szAKi3IenTm2HZ6fmsmhVWkKQZTPdlWpmOLYbhAdQzqALQixk0DbIN0G0VMQkjkCXgyLUMJDjWhazOZiiubYtsGNmjWFbF/SABKwzS7QNlvFmdqqQRet1eFgIQACC3wi3AesGIG6AGNoSLWKTzyDPRtRpEpANBnGQbdNGA15buEH8nwvSQEnxHa7XqSaBCH4jlCZXFvgLMTX4RZO5ho5qBH5Vt4l0HFDTJqHtQCcnGD6tI9cMvSs7VQROHCLbcwjnYJ8D2JjgX7gG/og4A780Ad8W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zkDx4wR2hcfPil47eOv5jsaklsxdjE7tY00Lv01gn3+NV8m64cvAitZtkQbWxOwHBiRv8mCJzN3AYHjJZGAyiZgSRve6Yq2Uv0nomOoWDt6TnYiFUZmFu3BR7/qnYt8bvEOaPJZ4HU/0t76OB1MG1pYF6KQ6" <> ...,
"structured" => true,
"uniq" => true,
"uniq_bmp" => [1, 0, 2, 3],
"uniq_conflict" => true,
"uniq_key" => "KvldZFEzlJWmKPePfuqKbLcmYtCaA0LWzuPbOo5DSPU",
"workflow" => true,
"workflow_id" => "019ddea7-577c-728b-90af-a0e4a82428f6"
}
Recorded Output
%{
notes: "Created 1 hygiene insight covering 36 published flows older than 3 weeks with zero activity in the last 30 days. No recent duplicate insight existed for this account.",
insights_data: [
%{
"action_plan" => "Treat this as a regular cleanup pass.\n\n1. Unpublish the obviously stale **preview**, **v0**, and single-user internal/test flows first.\n2. For the production-targeted flows, keep live only the ones that still support a current onboarding or adoption path.\n3. If a flow is still strategically important, review whether its trigger page still receives traffic and whether the experience should be refreshed or retargeted instead of unpublished.\n4. Use the settings links above to confirm ownership, audience, and goals before keeping anything live.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L_Ayc8ClplGyFApZJbo named \"Settings\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Settings flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -L_Ayc8ClplGyFApZJbo named \"Settings\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L_AsZKaB41emKVOADdG named \"Configuration\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Configuration flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -L_AsZKaB41emKVOADdG named \"Configuration\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L_AI-DMLuqUWhgjEuQK named \"Create Trip Templates\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Trip Templates flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -L_AI-DMLuqUWhgjEuQK named \"Create Trip Templates\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L_AEk1ErLkWC1HPLFcZ named \"Analytics\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Analytics flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -L_AEk1ErLkWC1HPLFcZ named \"Analytics\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L_Akcqqnx81hBI2-7Dl named \"Laboratories\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Laboratories flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -L_Akcqqnx81hBI2-7Dl named \"Laboratories\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L_FDS83CiA_JiOUOc-D named \"Approval Groups\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Approval Groups flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -L_FDS83CiA_JiOUOc-D named \"Approval Groups\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L_F2FFPhDfvKIUxZ_bu named \"Teams\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Teams flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -L_F2FFPhDfvKIUxZ_bu named \"Teams\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L_Ap5t89lXREiALXdQb named \"Equipment\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Equipment flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -L_Ap5t89lXREiALXdQb named \"Equipment\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -LbauZ0B7t7powafOTBz named \"User v0\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish User v0 flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LbauZ0B7t7powafOTBz named \"User v0\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -LbatKMgeaZ41N0q7xcI named \"Teams v0\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Teams v0 flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LbatKMgeaZ41N0q7xcI named \"Teams v0\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L_FB53vyhUzwAQWtJBB named \"Alerts\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Alerts flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -L_FB53vyhUzwAQWtJBB named \"Alerts\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L_6ImoZDOFrscSZecv4 named \"Create Trips\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Create Trips flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -L_6ImoZDOFrscSZecv4 named \"Create Trips\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L_F0UJqvf4RnJ2CAYr_ named \"Users\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Users flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -L_F0UJqvf4RnJ2CAYr_ named \"Users\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L_ANDNcAAD0NRYLPzWS named \"Work Setup\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Work Setup flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -L_ANDNcAAD0NRYLPzWS named \"Work Setup\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -LbaezozLuK4KebZRIqS named \"Approval Groups v0\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Approval v0 flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LbaezozLuK4KebZRIqS named \"Approval Groups v0\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -Lbax6RocBuBBY7vyYSC named \"Settings v0\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Settings v0 flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -Lbax6RocBuBBY7vyYSC named \"Settings v0\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -L_AX8ZhpBWdmSesXio0 named \"Locations\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish Locations flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -L_AX8ZhpBWdmSesXio0 named \"Locations\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 6ff3377f-5d7c-4d47-a8b1-3d3abdf10022 named \"Assignment Point Type Restriction tooltip\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish restriction tooltip flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 6ff3377f-5d7c-4d47-a8b1-3d3abdf10022 named \"Assignment Point Type Restriction tooltip\"."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 235dd832-755a-41fa-b2e3-6e33c611dd88 named \"Copy of Exception Management Survey\". This flow is currently published and had zero activity in the last 30 days.",
"title" => "Unpublish survey copy flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 235dd832-755a-41fa-b2e3-6e33c611dd88 named \"Copy of Exception Management Survey\"."
},
...
],
...
}
]
}
Errors
No Errors