25355914
CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue
insight_agents
Attempt
1 of 2
Priority
0
Tags
...
Node
customer_api@10.10.0.170
Queue Time
00:40.116
Run Time
01:09.298
Inserted
1h ago
Scheduled
1h ago
Completed
1h ago (01:10)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "126116",
"account_insight_agent_id" => "0de2bc8e-db7b-4778-b79b-e6409c1eeb5a"
}
Meta
%{
"deps" => [],
"name" => "execute",
"on_hold" => false,
"partition" => true,
"partition_key" => "6neCve+NiN7+TfVDUIzDhvG0PmVnRaDhoi1+Y9KMlKA",
"recorded" => true,
"return" => "g1AAABf1eJzNWE1vJLcRXX+s15ER5OiDL8ReshbUo5HmW8glkGNk4YMN79qAYQQSm109Q6ubbJPs0U7+VH5Fzjnlkn/gf+CjX7G7RyNrJMwaO+sAu5ppNoesevVY9Yrh0aNH717/URuv54vgLzIZZIGxdwL+fFTyH6mCtuaiKqTB8zuPv6alpmsRFtqLQvsgpMnEFVElrClWgl5V5DQZRR5zJF47EtoEMryMLDAls66UJojcOiGFJ+n5xZHwQc4pOxIYLnSpA2WJrLO4lqg9CSU99cTzHDuu4rLGisKaOTlhiDL+aW2qOoVVC+xNJSbAUCscZTXWUEUdAiazwXJpdSZKCcvwX5u5KGgu1UooG21tbIeLxgaY6JY8hfBDGOJ8j5F50iDjGa/HjNf7PPqeCpI///BNZwo/fVA5W1aBAXz6DVyBdQJDMCtc+LqqrANQc96XjeO3a08ubhCFL7Zgh265KdrvlIlrSkVewGkjSzw+/dKkVroMtj8V1zosNqIjnn8m6JQG08msn8z6s9NkOBoPEznNh8lkOh0Ph/l4dNo/7YmXHGn8k8LZOmhDYrGaYw0GlKSpK5GSknXrVdwes33QRbFhWloHsZCZ6ANNMoKxW+qwAjXizwoJJg36IpOrBt3HQYeC+NvTNZKYHH9H4saxuGEkam0ye7HG+dF/dsP5AZQ3Md4DsjAE1DsCO32wjl3RgbeVYP9yM6o4F4F6uzMseYsM++v5S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s51v827vW9Rb2FLamm3HU/m75qSrwH1b1AwOyC/i575LchX0gUD2xYtQSLqazsBpnZra73lgRUXKmAT+WtFZhVSf5NLUVucXXb4d3G5S+AW1Kupv3vE7xTeB8HBRGCzQxXeis1X2tyGRrL4gYwgl8gMURMLKvCwtgcV2UnRvMpJhhpF/S61WF74B7nVEgjzi+a61SGPNTziKtPIsNxFKQKbfiXHzjgMnm5d3nKFa6RYrM6w70VE6ygKshi25g4Wcamdw3EvVgI6CRFqsjaLNeI67vl0kXG2KDgrNCrtQ1gAyylen77LIwdk5m3iiELEUVurGwFTOQ2xE1ZRGcMNXZe31d75PSW7qeisII29qcgMWGkdtfV7Qz++zzonLq29r+mH68fwkTyP/PvcUVQZJ3cEbXuFHte9z5AtgiFKwH+Ssw/rWmRwrp5YL9PI6Xwl3ZAPwTGt7rjR9+3FdEMwqTbUrw5U9n4BkX004w",
"structured" => true,
"uniq" => true,
"uniq_bmp" => [1, 0, 2, 3],
"uniq_key" => "UU3geml820DSUBopdplDP4OrOEvzQPNSMcdZ3KLa6+k",
"workflow" => true,
"workflow_id" => "019ddeab-ea32-7893-a6ca-aabf2e3a1134"
}
Recorded Output
%{
notes: "Created 1 routine hygiene insight for 5 published experiences older than 3 weeks with zero activity in the last 30 days. Included direct settings links and unpublish actions for each inactive item.",
insights_data: [
%{
"action_plan" => "Review this list and keep only experiences that are intentionally dormant for a seasonal, staged, or limited-audience use case. If any are no longer needed, unpublish them now to reduce clutter and avoid maintaining legacy content that is not serving end users.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Onboarding\" with experience ID e2e38790-9092-4564-a8f4-788644f65202. This is a routine hygiene cleanup because the flow is still published but had 0 seen activity in the last 30 days.",
"title" => "Unpublish inactive Onboarding flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow named \"Onboarding\" with experience ID e2e38790-9092-4564-a8f4-788644f65202 again, restoring it to a live published state."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"ACT Survey Flow Final\" with experience ID b4b33313-c67e-4088-b124-1bba3e95495d. This is a routine hygiene cleanup because the flow is still published but had 0 seen activity in the last 30 days.",
"title" => "Unpublish inactive ACT survey flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow named \"ACT Survey Flow Final\" with experience ID b4b33313-c67e-4088-b124-1bba3e95495d again, restoring it to a live published state."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Hospital surgery shift encouragement\" with experience ID e7673e9a-350c-4e91-bcc2-608bfc03d93f. This is a routine hygiene cleanup because the flow is still published but had 0 seen activity in the last 30 days.",
"title" => "Unpublish inactive surgery encouragement flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow named \"Hospital surgery shift encouragement\" with experience ID e7673e9a-350c-4e91-bcc2-608bfc03d93f again, restoring it to a live published state."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Complete Profile Reminder (complete profile button)\" with experience ID 8b9cfeec-ed3d-469c-bbc6-985a24012ce7. This is a routine hygiene cleanup because the flow is still published but had 0 seen activity in the last 30 days.",
"title" => "Unpublish inactive profile reminder flow",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web flow named \"Complete Profile Reminder (complete profile button)\" with experience ID 8b9cfeec-ed3d-469c-bbc6-985a24012ce7 again, restoring it to a live published state."
},
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web pin named \"test pin for prod\" with experience ID 81b0655d-e6d7-477d-acdb-16a63eef653e. This is a routine hygiene cleanup because the pin is still published but had 0 seen activity in the last 30 days.",
"title" => "Unpublish inactive test pin",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the web pin named \"test pin for prod\" with experience ID 81b0655d-e6d7-477d-acdb-16a63eef653e again, restoring it to a live published state."
}
],
"cta_text" => "Review inactive content",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Cleaning up inactive published content should make your live experience inventory easier to manage and reduce the risk of outdated messaging being left active unintentionally.",
"finding" => "You have **5 published experiences** that are older than 3 weeks and showed **0 activity in the last 30 days**.\n\nThese look like good candidates for routine cleanup review:\n- [Onboarding](https://studio.appcues.com/flows/e2e38790-9092-4564-a8f4-788644f65202/settings)\n - Type: Flow\n - Designed to guide users through the new scheduling calendar, including viewing the calendar, filtering shifts, posting shifts, and changing views\n - Targeting: `/calendar` on `staging.staffing.indevets.com`\n- [ACT Survey Flow Final](https://studio.appcues.com/flows/b4b33313-c67e-4088-b124-1bba3e95495d/settings)\n - Type: Flow\n - Designed to prompt a selected list of clinic contacts to open a feedback survey about the value of a recent IndeVets shift\n - Targeting: `schedule.indevets.com` for a specific email list\n- [Hospital surgery shift encouragement](https://studio.appcues.com/flows/e7673e9a-350c-4e91-bcc2-608bfc03d93f/settings)\n - Type: Flow\n - Designed to encourage targeted clinic users to request `Exam/Surgery` or `Surgery` coverage from the shift request flow\n - Targeting: `/home` on `schedule.indevets.com` and `staging.indevets.com` for a specific email list\n- [Complete Profile Reminder (complete profile button)](https://studio.appcues.com/flows/8b9cfeec-ed3d-469c-bbc6-985a24012ce7/settings)\n - Type: Flow\n - Designed to encourage partner hospitals to complete their profile so they stand out to doctors and improve shift coverage\n - Targeting: `staging.k8s.indevets.com`\n- [test pin for prod](https://studio.appcues.com/pins/81b0655d-e6d7-477d-acdb-16a63eef653e/settings)\n - Type: Pin\n - Designed as a super-admin helper pin for extra admin features\n - Targeting: `/tools` on `schedule.indevets.com` for a single internal email\n\nThis is framed as routine hygiene: these experiences are still live in Studio, but they are not currently generating seen events or enrollments.",
"outcomes" => ["engagement", "retention"],
"priority" => "medium",
"title" => "5 published experiences have had no activity for more than 30 days.",
"type" => "issue"
}
]
}
Errors
No Errors