25360277 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 00:57.176
Run Time 01:05.436
Inserted 7h ago
Scheduled 7h ago
Completed 7h ago (01:06)
Cancelled
Discarded

Args

%{
  "account_id" => "55501",
  "account_insight_agent_id" => "c05b4571-6437-4f06-8683-a2194fb22200"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "fs+j3xctOFfAZGBWeRqbxpWyPu4kLojjJRY1s9+ehho",
  "recorded" => true,
  "return" => "g1AAAAxBeJzFVsmO3DYQHW+JM0GQD8il4EtsodWjXjyLcxrYMGLACIJgghwMo8GmShLdFKmQ1Mj6tfxF/ihVVC+yMQOMESC5dEskVct7Va8Yjo6O7nffKeNVWQW/ykUQmtbuBfr5tuYfIYOyZtVoYej9XvYbXivsoKswVOiAfjxCoW3nwQelNfi2aawLIEC2zqEJ8MG2zmA/hTcFnwfR5gqNxAk0okQ/AeugcIhpcEpoqC17BOEQjAVtTUl+HGq8FiZMoDVNu9bKV2yrhmBpL28lgtRtCHRUmBw2iA305Be0ukZQ5poCsa4HFF5x2BZqYch7DApVzIWzALXLQ5lA31AkQk8GeyoM1tiBtLRnWqRojSLLypRQWI7TYIc5MGzXKvRTBvHrAUTP0N5naB/y6gMZBP9/8/suI377qnG2bgJjffU7QcuA0RJlGFZ7aEuGlcPg3T0gK/zYoIvQUoJWc5afoAXbZ4qvw/WQb0e5w+jDN69gdpFn8uxUpmdytk6XZ2KRniNm6XJ5Ks+XmM/k/AKMqMnMk9fEG1xF3ihaByn8gVraGp9M4aoiMHegRuTWbYBK5JCBRzTQ0hc+5pERoHWjMZDNYVWZGLEWPsAig1z0VCh8lFjohB+lQrUyz+anaTZL5xdT2KNJG7onI+T8kF/k41FQQSM/JYfTykTOMJYiDKXYDbnEJGI3tCa3q4Gh7oFR+u5kvv+fyERcn8vs9DQtxOJ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cjOhXY0QkpohLPtQypMGPBHaMq5ldcruTC/3X7Kc",
  "workflow" => true,
  "workflow_id" => "019ddeb0-7e10-7196-a90a-e2a64033254f"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for inactive published experiences older than 21 days. Found 2 inactive flows with 0 seen and 0 completed in the last 30 days; no eligible pins, banners, or checklists were published.",
  insights_data: [
    %{
      "action_plan" => "Review whether these flows still support a current journey. If the audience, pages, or free-trial motion are no longer relevant, unpublish them to reduce clutter and keep your live inventory easier to manage. If either flow is still intentional, keep it live and continue monitoring for renewed activity.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID 19d0c76c-7c1b-47a3-8ee0-446c84ed1c29 named \"Free Trial User - Welcome\". This flow is live but had 0 seen users and 0 completed users in the last 30 days, and it was published on 2026-01-29. Unpublish only this experience.",
          "title" => "Unpublish inactive free trial welcome flow",
          "undo_prompt" => nil
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID eeb8c066-fa35-417c-920a-404ac9ee900c named \"Free Trial User - Toggle To Legacy\". This flow is live but had 0 seen users and 0 completed users in the last 30 days, and it was published on 2023-10-30. Unpublish only this experience.",
          "title" => "Unpublish inactive legacy redirect flow",
          "undo_prompt" => nil
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing truly inactive experiences keeps your production inventory cleaner, reduces maintenance overhead, and helps your team focus on experiences that are still driving activation.",
      "finding" => "As part of routine experience hygiene, **2 published experiences** that were published more than 3 weeks ago have had **no activity in the last 30 days**.\n\n- [Free Trial User - Welcome](https://studio.appcues.com/flows/19d0c76c-7c1b-47a3-8ee0-446c84ed1c29/settings)\n  - Type: Flow\n  - Published: **2026-01-29**\n  - Last 30 days: **0 seen, 0 completed**\n  - Designed to welcome a specific free-trial customer on **Analytics/Home** and guide them toward key onboarding tasks like uploading contacts, creating a campaign, building a workflow, and using the quickstart checklist.\n\n- [Free Trial User - Toggle To Legacy](https://studio.appcues.com/flows/eeb8c066-fa35-417c-920a-404ac9ee900c/settings)\n  - Type: Flow\n  - Published: **2023-10-30**\n  - Last 30 days: **0 seen, 0 completed**\n  - Designed to intercept free-trial users who land in legacy pages and redirect them back to the Air experience.\n\nA third eligible published flow, [Welcome (New Customers on Air)](https://studio.appcues.com/flows/fe72ea4f-548f-41d3-bb2d-fc618e04e82f/settings), was **active** in the last 30 days (**1 seen, 1 completed**) and was not included.",
      "outcomes" => ["activation", "engagement"],
      "priority" => "medium",
      "title" => "2 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors