25355754 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:11.877
Run Time 00:54.478
Inserted 10h ago
Scheduled 10h ago
Completed 10h ago (00:55)
Cancelled
Discarded

Args

%{
  "account_id" => "107777",
  "account_insight_agent_id" => "2804edd1-5177-4506-8e75-22a204daa2f4"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "/9gGnb/NkGizJp+LkMbnfoV6JAMPulRlglXnM382P3Y",
  "recorded" => true,
  "return" => "g1AAABcMeJzFWN+PGzUQvtKWQirEM0UF0woJTrd7+XWX5N5QK1BVykOvfUIo8a5ns24ce7X2Js2/xJ8BEoIX/iZmvJtk75o7Ane9qNJ17XjHM9984/G3bm9v74P5XW0c2Ck+//okB+5AsBZLF2MJGpjUVo5TxxKTsyOWFZGSNsUVc4hYoszcMqME5MylXLMOTsPEsrl0KdOG8djJmXQLtIILgCluHes0meALe4CTsSqE1GMmZA6xY4Wu7PsXjbaMa8FOHS4yzIJzuNYyJfXEhvNPKs/sUHDHFXp/y+Gf+xTH/fL9Yaa4xvGt05cwkzAnHywweJtBjsHFgBtYlpsCDQOLFXBdZCeNVsieA2S1YLleuJQctU4qxTSAwFmChLO4yHPQjhkdGZ77cDKO4eOPAqaGgZ7J3Ogprgkb7ZC9XgVZ9wPhc8wWWWZyNFU44dOQ8TEgUArGPF54czjyhjMEzC95Y4pcw8KGjU7IniXoas0uk7Zy2bocl49lzJXCdExpH67dAcshyQGdkQ6d4PkYCGSPe2y0o8AiwECBTRAS+kk6zMAMQsL5XpUnQv8uoX+HZm/HjtP/H69CpdGHWW6mmaN0fPYas0B8wClRxG64DBzDxQ1pc/p1RYdhLSJnjMI/Na54Q+/wsuRg7cVnT1mUNIU44jyIm4Mk6A6iZsBbcStIjgb8qNVr8jhpMs2naObRC46cfcpt6rP6KGSvUgSztIykkQI9lYkk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gLdbW4p/4+RLs1NMU7po1cFXw3bVI5TRR/kfE0DVy49YHgEJiaf0tFbhj03+UQZ/i5TN1z5bgLhi1vqFkhv07u3R3rO1eQc0NhoEjku8uUnOampAapyWN1GsO9O8IksTKuDgmPP9CcpPleH6qUHwxI9YeIJ5OEaN4S3Gfp/22LqrxrYJhEk8J8Fb9NMY91i/YJli/W/gR6j/9TTyotKlktsIG5BgzvEqrN3uScXNNl146x/eKZvtLU+W7ZJ39nv0E3Gm5bWFvDmH56w1Tw",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "8SmnEXU3UkcsPVu8SEXxZbopK3bwtxaHk5kyzNDcj3U",
  "workflow" => true,
  "workflow_id" => "019ddeab-ea2d-7ab2-92b7-60d4a6ef8275"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for 5 published web flows older than 3 weeks with no activity in the last 30 days, including direct unpublish actions and Studio settings links.",
  insights_data: [
    %{
      "action_plan" => "Review these experiences as routine cleanup:\n1. Keep published anything still needed for a current onboarding path or demo environment.\n2. Unpublish experiences that support outdated pages, legacy demos, or deprecated journeys.\n3. If an experience is still strategically important, refresh its targeting and content before keeping it live.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID bf0dd5aa-c09f-49b0-a1c1-f59a5170acf0 named \"Main Dashboard\". This flow was identified as inactive with 0 seen users in the last 30 days and is older than 3 weeks.",
          "title" => "Unpublish Main Dashboard flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID bf0dd5aa-c09f-49b0-a1c1-f59a5170acf0 named \"Main Dashboard\" if it needs to be restored."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID a197daf4-72dc-43b0-b0d2-3d2ff2d1d688 named \"Kubernetes tour\". This flow was identified as inactive with 0 seen users in the last 30 days and is older than 3 weeks.",
          "title" => "Unpublish Kubernetes tour flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID a197daf4-72dc-43b0-b0d2-3d2ff2d1d688 named \"Kubernetes tour\" if it needs to be restored."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 437dac23-8916-4364-bf97-f4bd07c700ee named \"Kubernetes dashboard\". This flow was identified as inactive with 0 seen users in the last 30 days and is older than 3 weeks.",
          "title" => "Unpublish Kubernetes dashboard flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 437dac23-8916-4364-bf97-f4bd07c700ee named \"Kubernetes dashboard\" if it needs to be restored."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 5b20fa72-f487-4418-849e-becb4b8d7025 named \"Kubernetes cluster\". This flow was identified as inactive with 0 seen users in the last 30 days and is older than 3 weeks.",
          "title" => "Unpublish Kubernetes cluster flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 5b20fa72-f487-4418-849e-becb4b8d7025 named \"Kubernetes cluster\" if it needs to be restored."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID ffb9fa7b-ee4c-4386-b1af-3bc78b47a3f9 named \"Checkmk SaaS - Agent Setup\". This flow was identified as inactive with 0 seen users in the last 30 days and is older than 3 weeks.",
          "title" => "Unpublish Agent Setup flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID ffb9fa7b-ee4c-4386-b1af-3bc78b47a3f9 named \"Checkmk SaaS - Agent Setup\" if it needs to be restored."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing unused experiences should reduce account clutter, avoid accidental delivery on stale pages, and make it easier to focus maintenance on guidance that still supports activation and adoption.",
      "finding" => "Routine content hygiene check: **5 published experiences** that were published more than 3 weeks ago have had **no seen events or enrollments in the last 30 days**.\n\n- [Main Dashboard](https://studio.appcues.com/flows/bf0dd5aa-c09f-49b0-a1c1-f59a5170acf0/settings)\n  - Type: Flow\n  - Designed to orient users on the main dashboard, including host and service statistics\n  - Targeting: `dashboard.py` on `play.checkmk.com`, `play.checkmk.local`, and `localhost`\n  - Goal attached\n- [Kubernetes tour](https://studio.appcues.com/flows/a197daf4-72dc-43b0-b0d2-3d2ff2d1d688/settings)\n  - Type: Flow\n  - Designed to guide users from the Monitor menu into the Kubernetes dashboards\n  - Targeting: all URLs on `play.checkmk.com`, `play.checkmk.local`, and `localhost`\n  - No goals attached\n- [Kubernetes dashboard](https://studio.appcues.com/flows/437dac23-8916-4364-bf97-f4bd07c700ee/settings)\n  - Type: Flow\n  - Designed to explain the Kubernetes overview dashboard, including cluster navigation and metrics\n  - Targeting: Kubernetes overview dashboard URL on `play.checkmk.com`, `play.checkmk.local`, and `localhost`\n  - No goals attached\n- [Kubernetes cluster](https://studio.appcues.com/flows/5b20fa72-f487-4418-849e-becb4b8d7025/settings)\n  - Type: Flow\n  - Designed to guide users through a cluster dashboard, highlighting health, performance, and workloads\n  - Targeting: Kubernetes cluster dashboard URL on `play.checkmk.com`, `play.checkmk.local`, and `localhost`\n  - No goals attached\n- [Checkmk SaaS - Agent Setup](https://studio.appcues.com/flows/ffb9fa7b-ee4c-4386-b1af-3bc78b47a3f9/settings)\n  - Type: Flow\n  - Designed to walk users through configuring and installing an agent package to monitor a device or service\n  - Targeting: all URLs on `checkmk.docker.localhost`, `0.0.0.0`, and `localhost`\n  - No goals attached",
      "outcomes" => ["activation", "adoption", "engagement"],
      "priority" => "high",
      "title" => "5 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors