25360587
CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue
insight_agents
Attempt
1 of 2
Priority
0
Tags
...
Node
customer_api@10.10.0.170
Queue Time
16:05.138
Run Time
01:40.393
Inserted
10h ago
Scheduled
10h ago
Completed
10h ago (01:41)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "87532",
"account_insight_agent_id" => "5d8da654-e978-4641-92d8-74021c8fc112"
}
Meta
%{
"deps" => [],
"name" => "execute",
"on_hold" => false,
"partition" => true,
"partition_key" => "gojDMHcEDPS9oY6qdQ/UHIaYIBYFWtGGsrc2VgKObx4",
"recorded" => true,
"return" => "g1AAAB9ZeJy9WV9z3LYRd+K4TdXpdPqcmQ4e5ash8T+PzpNrJx133FZjx0+ZVAMCiztaPIJDkJLV136+fo1+ju6CPN6dfGqgJtMX6Y4HLPa3f367WPaPHj36/OY3VWOr1bq3l0r0osZnn/X459cb+iNkX5nmsq1Fg98/+/tbuK7ghvXryrK6sj0TlnVm6KsGmKxBNEN7xl5rXAAWmK7NjWWiA9YYVptmBR1rRdcz41YwOXQdND1K0iBvcf8zNjTtUKLkNS3YsN6wDtQgSfrQ97hfNIqJa1PhXykrhdtFjWtI0WtByrrzRXPL7NoMtcLfNqJq8IxrFH8F0LqjTQOW9RUoOsL2VV1zJwJYiZ+rZsVuTHc1AjDdrGnfVaI+N01pRKdoVSv6tXVKIXrcTbI7QMNMMPAA09S3rNLs1gwMPrYgSYzQupIjvH7oGmYNak4m/+Vocjs74gt6+lj2gv7//v1sn6qZFCaZXQWNBEtLftF2ZtP2+PHJP9/bUSN8hEbsL+3QtgbtL1YEhrSmX2ebX+5EoWqmJv0OHGJnnyGkHcI9DVgJUgzjsbfO9aZW6LZ+LRoWhUyJ29Fca7LWWigKDQvQMIem6tFUjdOqFmjFOHA7nrMkUyIqw5SXoSh4kkcJLyETPI5ABjrIIqVTdvpdJyrnvLfQwA0GBmcXI3Q0KXtX9ajg99/89Yenz1gqpIpVlvAiF8ATASEvojzkeRClA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nZz5I/B/XraM3aSxt7b6XyBuYzNHwgMPvT69bJi7qeXoTtZh14k9xMd/oOpBvfbmnQTUXgo6wHIlyNN7jxlauo8Vrvpi9fmqGniuPeE35OT06gWeFhpIMbVnVAtR91GAddbVcZuhC5V4QbtDYm+cFo+tV9o5qDV3WziuTd3bRmGrg41b6gYZiTXVk7wIebJ43pxwnav0fKVyycJ0XT22cn7/jxR14gOqP5TIDO2LdmwMzZH7bvyUa+q6l4l+ME7Nl04ZzsLlg51Fd7b0DHpnE8He/MV5YSmIZmd5r9/wBitDmt",
"structured" => true,
"uniq" => true,
"uniq_bmp" => [1, 0, 2, 3],
"uniq_conflict" => true,
"uniq_key" => "JLMaFacSZrblXkPPwvh/5YD9i9IA/CyapcZe8dglSQ0",
"workflow" => true,
"workflow_id" => "019ddeb0-7e16-7c0d-8853-8727880e24d5"
}
Recorded Output
%{
notes: "Created 1 hygiene insight for published experiences older than 21 days with no seen activity in the last 30 days. Found 19 inactive experiences, all web flows, and included a bulk unpublish action with links to each settings page.",
insights_data: [
%{
"action_plan" => "Review this list as routine cleanup. If these flows are no longer part of the current lifecycle, unpublish them to reduce clutter and avoid accidental reactivation. If any should remain live, keep the ones tied to still-active billing workflows or current trial/onboarding paths and leave the rest published only if you expect traffic to return soon.",
"actions" => [
%{
"cta" => "Unpublish inactive experiences",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish these currently published experiences because they are older than 21 days and have had no seen activity in the last 30 days: 46da2b15-b1a9-4724-be6a-32ec0f062df5 (Trailing Renewal - Production Sites [EN]), 5acd3d64-97ae-4ae1-9271-70250e7bae4f (Upcoming or Active Renewal - Production Sites [EN]), 0b7495e0-3ad3-4063-9a7b-a41f272d626d (Overdue Payment - Production Sites [EN]), 63ef5fcd-25f5-4f04-ad95-a0b6a6337755 (Enrolment key config [ESP]), 7b817e0d-ef62-4000-ae28-b9cb9d2ec4db (Enrol your learners [ESP]), 0c3e4365-c7cc-48e1-8d01-f0301b7e9579 (Create an activity [ESP]), 1d1cbd0f-6ba8-4a42-9d69-e228c86f90ac (Course settings [ESP]), 4a92807a-5366-4c75-a021-6b225c9ae90d (Before you start (C) [ESP]), d342ba14-b7fa-4d45-8365-002531dd2515 (Course menu [ESP]), 407f574f-c7ea-47b4-99c5-bce91dead3ab (PLD overview [ESP]), f741e118-772a-40bc-bd8b-c0308e4e3aa2 (Course intro [ESP]), cb9c2c30-18d1-4f5f-8508-7039e3de26f8 (Before you start (A)), af57a8b7-f467-43f9-bdf4-7ecff2b00349 (Course intro), 64cbfde4-743b-47dc-93a2-fcd1cbef4710 (Create an activity), b0427737-2617-441a-b5da-0a27c45d40f2 (Course settings), 6f4afed4-0e48-4812-b5b4-27cd6fa2ab8f (PLD overview), 63309ebc-ef7a-4c13-9b4f-abe32538aeaf (Enrol your learners), 7ae7c754-47d6-4d28-b083-3236589e0e6f (Enrolment key config), 521c66df-cb10-45c8-b948-56bddbdc4aa5 (Course menu).",
"title" => "Unpublish 19 inactive published experiences",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to republish these experiences that were just unpublished: 46da2b15-b1a9-4724-be6a-32ec0f062df5, 5acd3d64-97ae-4ae1-9271-70250e7bae4f, 0b7495e0-3ad3-4063-9a7b-a41f272d626d, 63ef5fcd-25f5-4f04-ad95-a0b6a6337755, 7b817e0d-ef62-4000-ae28-b9cb9d2ec4db, 0c3e4365-c7cc-48e1-8d01-f0301b7e9579, 1d1cbd0f-6ba8-4a42-9d69-e228c86f90ac, 4a92807a-5366-4c75-a021-6b225c9ae90d, d342ba14-b7fa-4d45-8365-002531dd2515, 407f574f-c7ea-47b4-99c5-bce91dead3ab, f741e118-772a-40bc-bd8b-c0308e4e3aa2, cb9c2c30-18d1-4f5f-8508-7039e3de26f8, af57a8b7-f467-43f9-bdf4-7ecff2b00349, 64cbfde4-743b-47dc-93a2-fcd1cbef4710, b0427737-2617-441a-b5da-0a27c45d40f2, 6f4afed4-0e48-4812-b5b4-27cd6fa2ab8f, 63309ebc-ef7a-4c13-9b4f-abe32538aeaf, 7ae7c754-47d6-4d28-b083-3236589e0e6f, 521c66df-cb10-45c8-b948-56bddbdc4aa5."
}
],
"cta_text" => "Review inactive experiences",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Cleaning up inactive published content should reduce operational noise, make your live experience inventory easier to manage, and lower the risk of outdated flows reaching users if targeting changes later.",
"finding" => "Routine hygiene check: **19 published experiences** that were published more than **3 weeks ago** have recorded **no seen activity in the last 30 days**.\n\nInactive experiences:\n- [Trailing Renewal - Production Sites [EN]](https://studio.appcues.com/flows/46da2b15-b1a9-4724-be6a-32ec0f062df5/settings)\n - Type: Flow\n - Purpose: Renewal reminder for admins with the **Trailing Renewal** targeting property; prompts them to resolve a missed renewal.\n- [Upcoming or Active Renewal - Production Sites [EN]](https://studio.appcues.com/flows/5acd3d64-97ae-4ae1-9271-70250e7bae4f/settings)\n - Type: Flow\n - Purpose: Renewal reminder for admins tagged **Upcoming or Active Renewal**; prompts them to confirm renewal.\n- [Overdue Payment - Production Sites [EN]](https://studio.appcues.com/flows/0b7495e0-3ad3-4063-9a7b-a41f272d626d/settings)\n - Type: Flow\n - Purpose: Payment escalation for admins tagged **Overdue Payment**; prompts them to resolve overdue billing.\n- [Before you start (A)](https://studio.appcues.com/flows/cb9c2c30-18d1-4f5f-8508-7039e3de26f8/settings)\n - Type: Flow\n - Purpose: Trial welcome and intake survey for a homepage segment; collects LMS familiarity and trial goals.\n- [Course intro](https://studio.appcues.com/flows/af57a8b7-f467-43f9-bdf4-7ecff2b00349/settings)\n - Type: Flow\n - Purpose: Guided introduction to creating a trial course, targeted to trial-course viewers.\n- [Create an activity](https://studio.appcues.com/flows/64cbfde4-743b-47dc-93a2-fcd1cbef4710/settings)\n - Type: Flow\n - Purpose: Tooltip guidance for creating learning activities after entering course edit mode.\n- [Course settings](https://studio.appcues.com/flows/b0427737-2617-441a-b5da-0a27c45d40f2/settings)\n - Type: Flow\n - Purpose: Tips for configuring course name, image, and summary on the course settings page.\n- [Course menu](https://studio.appcues.com/flows/521c66df-cb10-45c8-b948-56bddbdc4aa5/settings)\n - Type: Flow\n - Purpose: Guidance for using the course menu to navigate courses and content.\n- [PLD overview](https://studio.appcues.com/flows/6f4afed4-0e48-4812-b5b4-27cd6fa2ab8f/settings)\n - Type: Flow\n - Purpose: Intro to Personalized Learning Designer (PLD) and how its events, conditions, and actions work.\n- [Enrol your learners](https://studio.appcues.com/flows/63309ebc-ef7a-4c13-9b4f-abe32538aeaf/settings)\n - Type: Flow\n - Purpose: Tooltip guidance for configuring and sharing an enrolment key after editing course content.\n- [Enrolment key config](https://studio.appcues.com/flows/7ae7c754-47d6-4d28-b083-3236589e0e6f/settings)\n - Type: Flow\n - Purpose: Self-enrolment setup guidance on the enrolment configuration page.\n- [Before you start (C) [ESP]](https://studio.appcues.com/flows/4a92807a-5366-4c75-a021-6b225c9ae90d/settings)\n - Type: Flow\n - Purpose: Spanish trial welcome flow for homepage/activation pages introducing demo courses and the trial course.\n- [Course intro [ESP]](https://studio.appcues.com/flows/f741e118-772a-40bc-bd8b-c0308e4e3aa2/settings)\n - Type: Flow\n - Purpose: Spanish guided intro to creating a course, targeted to Spanish trial-course viewers.\n- [Create an activity [ESP]](https://studio.appcues.com/flows/0c3e4365-c7cc-48e1-8d01-f0301b7e9579/settings)\n - Type: Flow\n - Purpose: Spanish tooltip guidance for creating learning activities after entering course edit mode.\n- [Course settings [ESP]](https://studio.appcues.com/flows/1d1cbd0f-6ba8-4a42-9d69-e228c86f90ac/settings)\n - Type: Flow\n - Purpose: Spanish tips for editing course name, image, and summary.\n- [Course menu [ESP]](https://studio.appcues.com/flows/d342ba14-b7fa-4d45-8365-002531dd2515/settings)\n - Type: Flow\n - Purpose: Spanish guidance for navigating the course menu and pedagogical tools.\n- [PLD overview [ESP]](https://studio.appcues.com/flows/407f574f-c7ea-47b4-99c5-bce91dead3ab/settings)\n - Type: Flow\n - Purpose: Spanish introduction to Personalized Learning Designer concepts and use cases.\n- [Enrol your learners [ESP]](https://studio.appcues.com/flows/7b817e0d-ef62-4000-ae28-b9cb9d2ec4db/settings)\n - Type: Flow\n - Purpose: Spani" <> ...,
"outcomes" => ["engagement", "retention"],
"priority" => "medium",
"title" => "19 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
}
Errors
No Errors