25363200 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 12:13.790
Run Time 01:09.250
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (01:10)
Cancelled
Discarded

Args

%{
  "account_id" => "206255",
  "account_insight_agent_id" => "308f61aa-62be-40a2-975f-585f3fdcafeb"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "lOpqLUk+qKA2CWcKYHzHOd+CugtK6tyN6EqiZrgGZTE",
  "recorded" => true,
  "return" => "g1AAAAnmeJydVtuO2zYQ3dzaxEHR9z7NQ4G0wvq6N8RvwS5aBGjRot19KgqDlsY2sxQpkNQqzq/0R/rSf+sZSra17SINCiy8FEUOZ845c6h4dHT0uHlmXeRQYvznpWcVuaApbbZrzZZJ26DXmziiN6Wza6rqpdFhgyUr45pwTBUWHNNSWcseA2ULyjec32JVDORMwZ7iRlmaTalQWyxx1mzxw8RGr/XSYPC+Yo/TcqZGBVq5GlEkko60UQV9YO9I5VHf6bhFRgjIZFSIdDJJQUfNF12eYVGoqAxqeRTx81KqeilbnV1URlk8P9r+wneaG2o2jECSng6pHApRG0OhrirnkT2yTqcy5aqslF5bcp4q74o6j1Q6iTqityvJ0zoyAAjhAvs7xmbKa+/ZRmDmKxf4mGrbwScboqNb5oq2rvZk5JAeDNreYafzWzKs9meEjatN0WW55C65Y/JtPRopR+XXHDWYEvxQcc6l5IDTcmdX2pcJPG0j2wIsqrpoT2yDgn6wFyjLxpabsGIuxjUKyrIUD0TGtD/LfnRLDep+NmoL4vE+8DqdBCzbWLLOCyf7Q0bCxuctG2HP0VOZfZJHJf9f3OwwkqfPgHVZRSHtj5vAKWQH/6JjidRaTm3VEg4QL3poRueMIHDAPwXaS7nhZct/o+OmT8PbK5pMTmcnF8XF8PxieTI8PTvLh0uVT4fn+eTk9Rnn0+nkfESXDoC+j/NWS30iA1lV4oxXb6qKrlxjjVPFq5TvBloXeU+AHVtioRz9MQFTZWU4oSSP4VZXXWtNiL13PjzUBNCzMOK5VNrqe70atOQym8xOh5PZcDYZ0U1fisjDuxqqYRFJFDx37R/cfXGrqmKF84EmBESijZBofRZ1NCyjr3uxbdc//eIT1Kkv0eZucaD4xadR/BGCPfcJ7tuKEPs/2cSfRNuL5EE+U2eIeVXSjK4O8LjU1JK1zO+1J02HZQp1uZVYTAeSWFsu3V5Xo3cCz3O0xELykIevOs/aI3ooLrUNAEKAhS6aJ1abhG43FbcV7ye/lG05HH6hYWh5Cv3Xni8RTW3BadHmvhOD+FRojepBj0ppizhQa6lu4R/QDKugxVwd/DyvcRVUUZf6gxJZE69WQqyM9gFDC6LyydhqZQBh4QGMmJkU3W6VQ9iuoQmxm9ZSVtoWWIbx4/waXK2cAVP3e+Afl0yWHV6VznN7SZ2AZr6Fea9dZ3m7Js0y+/E7KMvmg8GQfuvr4vdvNjFWYT4ehwgPdCO0T15zGKHDx+kCHX+KIseBo3h6+HZANKRrMDpHQt8hQJalqR96icir1lKy7DiNOz/hYjchjlIdHltP6UJdMS5SC1Sim1PbnG2bC5XFroel+rK9AlBT219ZhtoxoX/6tQMPM7bwTuMkWtYxwtDaCna31FzutMaKELIMgUbK56pg4POv+weC+Y+rJ4X+3imTILCutbOVXtdeah0MrqWdjXMg2OhbZH6wvbbxcM9DSPiCgI2q7ttAPgJwQsTbEt80kHfS3HPsBK6c7rHHMjM4qDI9HjTbtnPltfMQT7rYYCG6Lu8b5+X0QbmK/tCMIsK+BAWPnnC7DyGJ81RaPoXWIdT87m+3Q1gy",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "u0y4Y3LCw5PtOv86Jlt0l6rqbNOWoU7TGmz9LxJr5CU",
  "workflow" => true,
  "workflow_id" => "019ddeb5-1285-701a-959b-2301e9245ab9"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight. Among published flows, pins, banners, and checklists older than 21 days, only one eligible experience was found and it had zero activity in the last 30 days.",
  insights_data: [
    %{
      "action_plan" => "Review whether this flow still supports an active campaign or product motion. If it no longer serves a current purpose, unpublish it to keep your live experience inventory lean. If it should still be active, review its targeting and placement to confirm the intended audience still reaches **/newsfeed/user** and that the **Mobile Players** segment is still the right audience.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID 004237d7-67b3-455c-bac1-6c0395ec1106. Context: this experience is named 'App Download' and has had 0 seen events, 0 completions, 0 skips, and 0 errors in the last 30 days while remaining published since 2024-02-20. Unpublish it as routine content hygiene so it no longer appears to end users.",
          "title" => "Unpublish inactive App Download flow",
          "undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the experience with ID 004237d7-67b3-455c-bac1-6c0395ec1106. Context: this is the web flow named 'App Download' that was previously live and was unpublished as part of an inactivity cleanup."
        }
      ],
      "cta_text" => "Review inactive experience",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing unused live content keeps your experience inventory cleaner and makes it easier to focus optimization effort on experiences that are actually driving activation and engagement.",
      "finding" => "The following published experience was **published more than 3 weeks ago** and has had **no activity in the last 30 days**:\n\n- [App Download](https://studio.appcues.com/flows/004237d7-67b3-455c-bac1-6c0395ec1106/settings)\n  - Type: **Flow**\n  - Last 30 days: **0 seen**, **0 completed**, **0 skipped**, **0 errors**\n  - Designed to: prompt users to download the mobile app with **Apple iOS** and **Android** buttons\n  - Targeting: shown on **app.arcade.co/newsfeed/user** for the **Mobile Players** segment\n  - Goals: **none configured**\n\nThis looks like a routine cleanup candidate rather than a setup mistake.",
      "outcomes" => ["engagement", "activation"],
      "priority" => "medium",
      "title" => "1 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors