25353495
CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue
insight_agents
Attempt
1 of 2
Priority
0
Tags
...
Node
customer_api@10.10.0.159
Queue Time
12:17.880
Run Time
00:43.092
Inserted
2h ago
Scheduled
2h ago
Completed
1h ago (00:44)
Cancelled
—
Discarded
—
Args
%{
"account_id" => "124661",
"account_insight_agent_id" => "5bebcf9d-eeea-4d59-a9a0-15214d075b13"
}
Meta
%{
"deps" => [],
"name" => "execute",
"on_hold" => false,
"partition" => true,
"partition_key" => "njBwJJ6wCdP4VsTFSHsnV3+Nrl4MZlwcCZ32XMt1UZA",
"recorded" => true,
"return" => "g1AAAAjUeJydVs1yHDUQdkjCjwPFjQOnvgWmdsf7Y8f2ckoBB1elqJQrvkBRW/KoZ0axRpqSWrtZnoJ34C14E96G7tnd2UnFhMDFliV1q/v7vv7GdHR09NH6sfOEseH1X98HVIQaplBvKoMOwbhoqpqg9AEUtOnWmljzDXzTYuAbBYK3GgNQrRzMYY14F2FtqIbfMHhQBZmVoQ0n4isIVkWC+QS02sQcfvKDlKX16ziCW+UcBl7wi0WNxR0fE6fEgFxFcvo78FzYIa7l1I2iQtbyhHH9o0UwxGWqfP3FrpG41IqU5WYfEP94Im0/kfveLVurHP/9YHKNK4NrWNfI+aQ1E4cNRzLWQsSwwgjcdfecVBRaHzGHqxIMwVpFaFUg8KVcYpSAYaYRFKpplalc12EkVRlXcTZK7QiS2/UlGThB8IkMd7ungzzcIbaw8SmAlVcHdRm3Qkc+cN8WldsXEmuf+PFt1bfYhY1gxVHlZtAjJ1ehQpJqtG8Uo6qchpAsd7kN7lAG1oiFFCUoqLI0RS4gfrIFMfbQPpLdhwUp+f3Zzb4x+evjNvimJcH695uI3eO8pVNBy5ja1jNqquJeugrktMdlOeiXvLeCyAG0LtF9Gu0EefUDnN7OytnZGY7nz8qz8enp+en4cnp5OS71s/l5cX6mL+aXOfx4CNRIyti4AKcahKfC4NMR0KZF0R2TmULgQu3m8K7waphUZYe7oAhmk9lsPJ2MZ9NX0/lidraYnOYXk9nPObwSiYliSquqim/rFIQI9Y4Cwlabt1go5kD4rTmsVno7bxFRqmJ4LZLUok1sTIyyFDAxBFYdilDivTMp/DwmQxZl9dXNQZBur3PjuqnhUfTLA5OffxiT7+FxyOL/5u6aGfKhA4aG7sKDRgiqZD/YT2evmwHe7i37kDFK7Q7z/6CL/LUg9CmLf0n4RuA5+npnKj2Mhw67AWGM+Mml0euHztgO4N2WJO03v5SwgpldGnaRokv9R0+StJAc60KzBBwJ7gGZDJ7gwibqenf/Zh7CVI22jduLhKph4y1SZN+Fd4qP4vxsMjuy0VXMd7NnXGnfii1sLaI0TnOJopY/n/fK3im683bIsum9E5xl//idyTL3/u9MluXHx2P4RUj69ZuaqI2Lk5NISRufq7YtEsacR+aEmYsnHyKzE7ZrMcr47THAGF4xQwuu46VxWdbtvNy3INuHsd+dvhgUJxcm3dhm2ahb98O73+hHeBd+JcxqhoeJXuxcW759nm9r24wjVXkR8IKwqDWupDWBz/ExexLcXL+Ikpp7kBj+PKz5hC2BuSfToJwdgK28slHUVJoqBamhkzZzx2lxa/eyc3xgfiv+Nhj2Qdp0ht+gNql521ue389072dDVuXfj0bGekv/wKseyXh0iRmihK//BlKU9o0",
"structured" => true,
"uniq" => true,
"uniq_bmp" => [1, 0, 2, 3],
"uniq_conflict" => true,
"uniq_key" => "MsiElbQjrUUYdeeuteJ8tcUGZRdZMcQkr5niGSqxFTo",
"workflow" => true,
"workflow_id" => "019ddea7-5798-79ae-82d3-6d80cae771d0"
}
Recorded Output
%{
notes: "Created 1 hygiene insight for a published experience older than 3 weeks with zero activity in the last 30 days. No published flows, banners, or checklists were found; one published pin matched the inactivity criteria.",
insights_data: [
%{
"action_plan" => "Review whether this experience still serves an active purpose. If it was part of an old test, campaign, or staging setup, unpublish it as routine hygiene to keep your live experience inventory clean. If it should still be live, verify whether the targeting domain and rules still match real user traffic.",
"actions" => [
%{
"cta" => "Unpublish",
"prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published experience with ID 4b2f255e-36f5-4474-9199-fd637c75d839. Experience details: name 'test', type pin, currently published, originally published at 2022-10-21T13:25:04.802Z. This was flagged during a routine hygiene review because it has had zero seen, completed, dismissed, and error events in the last 30 days.",
"title" => "Unpublish inactive pin",
"undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the experience with ID 4b2f255e-36f5-4474-9199-fd637c75d839. Restore it to published state after it was unpublished during an inactivity cleanup review. Experience details: name 'test', type pin."
}
],
"cta_text" => "Review inactive experience",
"entity_id" => nil,
"entity_type" => nil,
"expected_impact" => "Unpublishing unused content reduces clutter in your live experience inventory and helps your team focus on active experiences that support engagement and adoption.",
"finding" => "A routine review found **1 published experience** older than 3 weeks with **no activity in the last 30 days**.\n\n- [test](https://studio.appcues.com/pins/4b2f255e-36f5-4474-9199-fd637c75d839/settings)\n - Type: **Pin**\n - Published: **2022-10-21**\n - Last 30 days: **0 seen**, **0 completed**, **0 dismissed**\n - Intended use: targeted to **dlm-stg.cre8techdev.com** on **all URLs**, set to show **every time**, with **no goals configured**",
"outcomes" => ["engagement"],
"priority" => "medium",
"title" => "1 published experience has had no activity for more than 30 days.",
"type" => "issue"
}
]
}
Errors
No Errors