25353511 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 11:35.994
Run Time 01:14.061
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (01:15)
Cancelled
Discarded

Args

%{
  "account_id" => "126068",
  "account_insight_agent_id" => "e11d963e-0f0a-41ac-8c9d-9ecc249fd346"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "mQe87Kk31WTrVE3E4QPP94AFEmfYm9evZL2fpX/yy08",
  "recorded" => true,
  "return" => "g1AAAArHeJy1Vl1v3EQUTZsWShDinRdGFVLByjq72SRq9wWhFNSIPqAqeQGh1ax9bU/XnjEz42zM7+Pv8B84d8br3dCAeOEhG3s89879OOfc8QcHB483nyntVFl5t8yllzXWHnn8fNrwj8y8MnrZ1lLj/ZF+R7eKNmJTka/ICl8pJ4rabITzqq6FI3tLTkgt2PCWhOva1lgvjBUFUb6S2Vp0jkQmHaXiqhDKC7jQRtRGl/DYSt5diN50VmSdtaSxQ09k247OnLfSU9kfi0633apWrmI/3ghLeZfBe915D2dS52JN1EZvNQdEdy1ZRRq7lL6Fc2N77CepQzjIKuaDoGJKSnvSOeXBfaePcUYogfLIs8ujK0dlw4Hyga0sSXhpS/JKl2yWGV0o23CM0WcjfVahTiijJa6HxWmV6epcwJ3pNAevfMot+Di2wI2NecKrh5mX/P+Tm20F+O2j1pqm9dyp/gZV5mywhJr45bZ4Y8mWe6XwxtQc6a6ewTQ+I/cNrWJZNspX+zW8eo1On+U0ncoJTef55OzsbDWRq3kxKWavzi8on87PpyS0bODmxRuq25zcWvwAZy9ScWmQ6p1fRCDt+d1It3e80eJ0eno+mZ5NZi+vZxeL+flifpFezF5evJr9HKpeyVxM0QfSsZ7HeMtQjJo8HIxLbq3adrfAllNB1hp0QOmQdS2dF/OpyGWPHY1ccxfROgnQ6lyBJIAI8GxNhwaTqPoSMVM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0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "2dB0kSTzoDoUYJLbBWrOV5cz2hTmV6Tj0vQ8Mzckymk",
  "workflow" => true,
  "workflow_id" => "019ddea7-5799-739d-8dcf-6b34c188df1e"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for a published experience older than 21 days with zero recent activity. Excluded experiences that still had recent seen events, and excluded one zero-seen flow from this alert because it still logged errors and needs diagnosis rather than routine unpublishing.",
  insights_data: [
    %{
      "action_plan" => "Review whether this flow still serves an active support or feedback use case. If it is no longer part of your current in-app support strategy, unpublish it to reduce clutter and keep your live experience inventory clean. If the flow is still intended to run, review its audience segment and page targeting to confirm it still matches where users should encounter it.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow with experience ID ac4de00a-e03d-444b-ab3f-f1956ed0350e named 'Helpdesk Flow'. Context: this experience was published on 2025-04-18T16:35:36.618691Z and had 0 seen users, 0 completed users, 0 skipped users, and 0 errors in the last 30 days, making it a candidate for routine hygiene cleanup.",
          "title" => "Unpublish inactive Helpdesk Flow",
          "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow with experience ID ac4de00a-e03d-444b-ab3f-f1956ed0350e named 'Helpdesk Flow' if the team decides it should go live again."
        }
      ],
      "cta_text" => "Review inactive experience",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Keeps your published experience list easier to manage and reduces the chance of outdated or unused content remaining live. This supports cleaner lifecycle management and can improve engagement by focusing attention on active experiences.",
      "finding" => "As part of routine experience hygiene, I found **1 published experience** that was published more than 3 weeks ago and has had **no activity in the last 30 days**.\n\n- [Helpdesk Flow](https://studio.appcues.com/flows/ac4de00a-e03d-444b-ab3f-f1956ed0350e/settings)\n  - Type: Flow\n  - Published: **2025-04-18**\n  - Last 30 days: **0 seen**, **0 completed**, **0 skipped**, **0 errors**\n  - Designed to: collect helpdesk or bug-report feedback in a modal flow. The content asks **\"How can we help?\"**, includes a required **\"Describe the issue\"** field, and routes users through a feedback submission flow with a thank-you step.\n  - Targeting summary: shown on **app.vibrantplanet.net** across all URLs for a specific audience segment, with **no goals attached** and frequency set to **never** after display.",
      "outcomes" => ["engagement", "retention"],
      "priority" => "medium",
      "title" => "1 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors