25352727 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 07:04.569
Run Time 01:05.643
Inserted 2h ago
Scheduled 2h ago
Completed 1h ago (01:06)
Cancelled
Discarded

Args

%{
  "account_id" => "52942",
  "account_insight_agent_id" => "3797d4ee-e7fe-4c94-9ce4-8ace4132496d"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "gKD+jaOsOvAZ/WBZrZSrUrVIeDpg+EGMjYtt8jVzCLM",
  "recorded" => true,
  "return" => "g1AAAA2MeJzNV81u20YQduKkaV0UfYBeBj6lrElRkhX/FChgOCiaS2EYzqkohBV3SG1E7hK7S8vqva/Qt+g7dmYpSjQgGw6aALlI4nJ3fr5vvpmV39vbe778Tmmnirl3Uym8KGntmaePbyv+EJlXRk/rUmh6fvbLNd4qXMJyjn6OFujDIeBdjVahztCB86oswTV1bawHAaW6RVgau8hLs0zgXc5nViAsgjZQGl2QGY0oUR5Bo+tmVio3500VeAMLxBpWprGwfoMSlL5F7Y1dQVai0CC0BIuyyRAqobRHLSgUMLdo5yhkcIoqxOvmpil5N28MsR0BbVP5ijwKD8o78MIW6MlPLQpc54N3ytEr9hT2kbFe1qC6vGtBSZuc8s4aaylKaBy5/UAJaFwlDOmrFlLHQD9noF/w6n7mBX9/876DgJ++qq2pas/I//2egGa3tESp+ukG4oLdtJHhFsFpLzxvTMlg3oO3B+gSZ8D0wJJQ6uf17i0ImU2GI/EmPh1jHh9P0mE8y9M8Hs/S0fhMiOFoPAMtKjJzeFFbVcI1EisU7O/GoztM4GZO8LTmhet5NRpG6eg4To/jYRoSmAsJKThEHWBzR/SUEQBloGOz5BaqrrcLfDIFtNZYBzP0Sz5Plt+w5XQY3neP4zSBDcIUQbkKUIQi3eb9M0hD1elBIrsOW6QVuQ8EvvTKl8i/ftqaUpppJSs7MAjJBzU1WprpltPJ0zh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flow" => true,
  "workflow_id" => "019ddea7-577f-7a76-9f42-217cda38e0ec"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Review whether these experiences still support a live workflow. If they are no longer needed, unpublish them to keep your published inventory clean and reduce maintenance overhead. If either should remain live, verify that its targeted page still exists and that the experience is still part of a current user journey.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID adc512a6-83ef-4501-bf0f-3b0239aa123b named \"April Release Notes\". This flow was published on 2024-04-10 and had 0 seen users, 0 completed users, 0 skipped users, and 0 errors between 2026-04-01 and 2026-04-30. Unpublish only the live experience; do not delete the draft.",
          "title" => "Unpublish inactive April Release Notes flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID adc512a6-83ef-4501-bf0f-3b0239aa123b named \"April Release Notes\" after it was previously unpublished as part of an inactive experience cleanup. Publish the current draft so the experience is live again."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin with experience ID 3f157ac3-1892-40ed-9385-fec47d8fd0ba named \"CTR Tooltip\". This pin was published on 2024-03-07 and had 0 seen users, 0 completed users, 0 dismissed users, and 0 errors between 2026-04-01 and 2026-04-30. Unpublish only the live experience; do not delete the draft.",
          "title" => "Unpublish inactive CTR Tooltip pin",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the pin with experience ID 3f157ac3-1892-40ed-9385-fec47d8fd0ba named \"CTR Tooltip\" after it was previously unpublished as part of an inactive experience cleanup. Publish the current draft so the experience is live again."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing stale experiences keeps your account easier to manage and helps your team focus on content that is still driving engagement and adoption.",
      "finding" => "Routine hygiene check: **2 published experiences** that were published more than 3 weeks ago have had **no activity in the last 30 days**.\n\n- [April Release Notes](https://studio.appcues.com/flows/adc512a6-83ef-4501-bf0f-3b0239aa123b/settings)\n  - Type: Flow\n  - Published: **2024-04-10**\n  - Activity in last 30 days: **0 seen**, **0 completed**, **0 skipped**\n  - Designed to: announce April 2024 product updates with a modal on **/clients/575/home** at **kampus-test.kortx.io**. No goals are attached.\n\n- [CTR Tooltip](https://studio.appcues.com/pins/3f157ac3-1892-40ed-9385-fec47d8fd0ba/settings)\n  - Type: Pin\n  - Published: **2024-03-07**\n  - Activity in last 30 days: **0 seen**, **0 completed**, **0 dismissed**\n  - Designed to: explain CTR in a tooltip pinned to a reporting page on **kampus-test.kortx.io**. No goals are attached.",
      "outcomes" => ["engagement", "adoption"],
      "priority" => "medium",
      "title" => "2 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Created 1 hygiene insight covering 2 published experiences older than 3 weeks with zero activity in the last 30 days. Added direct unpublish actions for both inactive items."
}

Errors

No Errors