25352903 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:01.405
Run Time 01:03.865
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (01:04)
Cancelled
Discarded

Args

%{
  "account_id" => "69101",
  "account_insight_agent_id" => "50be5729-e280-4c6c-ad62-b9ee4395fc83"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "4940OQWCd5jI3JCYfln7h6hRbw8Nx7X1yUPLE7GuAag",
  "recorded" => true,
  "return" => "g1AAAA5geJzVV11v3EQUTb8opEL8AF6uioTAyn4moUl4a6qiSDxUpREPFdrM2nftaewZa2ac7fLXeOJ38QDnjr0bL7QlFSqIl6w9M75z7znnfiTs7OzcXt4zNrCv8PzLqWMVOKMJFatcs2HSxuu8CJTaK3ba5FQ381L7Aof4dY0lNil7smXGjkKhDO3TkvnS01KHgn5mZ0mlQV/psIIxHGEqlQ+0P6ZMrfyQntrGZDTFZjzHvRsWpV16UtjWJi2bDEuZdpwGakx3Khq3xg+Xn3au+lmmgioRzq2APw8ksAftqVldKlPJxgsJFM5omPfkbBM0gr2OaB3/kJ7zleYlLQuG6xIie0TAuUpXnX8+6LIk39S1dYEUlTEIZ7MGjipcRNZR2jjHJpA1c6tcFpFUoRjS2UJsrshYKq3JcYVnBwNAssOjwYWp8rzXixqfVBQsXTLXtLKN66GmzRVusm5FacnKxCtYR+8tgvSFbcoMXqtVdHUP3JqFdlXkJiiXc4BvOXeB8WvtQ8sC+A3xVA+o9lClQgpk4uY61POz+JFqsnhyKETc7+gSem4LPXdl9U4alPx+cr4OUN4+AoZVHYSvH8+BgdjuYJ1t0M7lpqgQ+LjBZ9ZzMFhbClRb4PXgWvI8EtkKtvfh2RM6OJpzpsbTweF0cTw4UONsoI4PFoPDo/H+sZrOOV0cklEVzDx8ztGjHwpQTtOHQ3oh6oqW8duBUq56N4v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
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "qfPZRXfQHM3QAOs9OduIUwSSJpetCSclGefqU6w9AbY",
  "workflow" => true,
  "workflow_id" => "019ddea7-5782-7640-87b3-e53d99ce1737"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight covering published experiences older than 3 weeks with zero activity in the last 30 days. Found 2 inactive published flows and included direct unpublish actions.",
  insights_data: [
    %{
      "action_plan" => "Treat this as routine experience hygiene. Review whether these legacy flows still support a live product area or current onboarding path. If they no longer serve an active use case, unpublish them to keep your published inventory clean. If either one should stay live, confirm the target page still exists and that the experience still matches the current UI and audience.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID 48beda02-52f9-4a0d-a94f-58039a2becf5 named \"Report Share 2\". This flow is currently published and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only; do not edit content.",
          "title" => "Unpublish inactive report sharing flow",
          "undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID 48beda02-52f9-4a0d-a94f-58039a2becf5 named \"Report Share 2\". Publish the existing draft/live content without making any content or rule changes."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID 412b5ed6-2bc1-435d-8e37-971deb97fe1b named \"Brand Conversation\". This flow is currently published and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days. Unpublish the live experience only; do not edit content.",
          "title" => "Unpublish inactive brand conversation flow",
          "undo_prompt" => "Use the product_support agent and its publish_experience tool to republish the web flow with experience ID 412b5ed6-2bc1-435d-8e37-971deb97fe1b named \"Brand Conversation\". Publish the existing draft/live content without making any content or rule changes."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing unused legacy experiences reduces maintenance overhead, keeps your published experience list cleaner, and helps your team focus on experiences that are actively driving engagement.",
      "finding" => "I reviewed published **Flows, Pins, Banners, and Checklists** that were published more than **3 weeks ago** and found **2 experiences** with **no activity in the last 30 days**.\n\n- [**Report Share 2**](https://studio.appcues.com/flows/48beda02-52f9-4a0d-a94f-58039a2becf5/settings)\n  - Type: Flow\n  - Published: **2022-11-08**\n  - Last 30 days: **0 seen**, **0 completed**, **0 skipped**, **0 errors**\n  - Designed to announce the **report sharing** feature on the reporting library page and encourage users to learn more via embedded walkthrough content.\n  - Targeting: `app.listenfirstmedia.com` on `/ #explore/reporting/library`\n  - Goals: **none configured**\n\n- [**Brand Conversation**](https://studio.appcues.com/flows/412b5ed6-2bc1-435d-8e37-971deb97fe1b/settings)\n  - Type: Flow\n  - Published: **2022-04-15**\n  - Last 30 days: **0 seen**, **0 completed**, **0 skipped**, **0 errors**\n  - Designed as a guided introduction to the **Brand Conversation** area, explaining conversation analysis tiles and navigation.\n  - Targeting: `app.listenfirstmedia.com` on `/#explore/brand/conversation`\n  - Goals: **none configured**",
      "outcomes" => ["engagement"],
      "priority" => "medium",
      "title" => "2 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors