25352447 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 04:29.509
Run Time 01:09.680
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (01:10)
Cancelled
Discarded

Args

%{
  "account_id" => "32473",
  "account_insight_agent_id" => "0f9ec293-ada2-4d08-8150-010b842905e1"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "COKP0nn0HCMy9U6dwrGs3IbUuN6D9bFNkxfQoF7xOJk",
  "recorded" => true,
  "return" => "g1AAABOreJzNWOmO2zYQ3lw9tij6AP3RaYoCrWDZ8rFr7xYtEORo90eKIMefFIVBSSOJsUwKJGXHfYu+R5+hD9BfRftCnaF8JfEunOb8YVsmxTm++TgzpDs4OLg8/1QqK/PC2XEqnChp7JKjr0+m/CUSJ7UaV6VQ9P/S7fs4kziHeYGuQAP0ZRGyUs8tWCfLEmxdVdo4EFDKGcITXRuFC1jQL9QWjQUSWYuyXIBBkRRtOMtYzAKEQVAaSq1ykqwQU0xbUKuqjktpC35pCk7DBLFq5C1nMAWpZqicNgtIShQKhEpJfFonCFMhlUMlFD3rGZoCReqVCtXo9NPspTdqgpWDTBswPLfyJhEWbQsSTVClZB0pmUmVNzZ5R+PaQaqTesqymhnJFppKM0Ik0JvsUEzbjOyHDbKW8b7KeF/l0SuJE/z78aOV2/zvg8roaeU4AN89ImkkG2iI3HPjNd45KfZ+S2c3qI3xaYVGInvvtC4ZwGcg3QJxjrEPJcylK2Br4dkt6GcChcBReBJH/XCAx6NwlGEcDpIkPY6ORdSPBSgxJTHXb6c5wk/CpHAfSy1opA0PC2kb4YWw9EkhAouoWvSbkHMlOo42DU5kVfEjuxIBGqOJM1J5W0thHfQjSMXCNr5aiJHhNugkBRwEv8vQUkiKRU72Y0OJuvKwX3PSlchPX6whhhcMZkM9/WuV6vEa/YO/90P/Auy3kX9zeLcID0vb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WWU+f7RRuDrbS8Ha5KgR3GdTLbKdXvl7Z5OplgvWWXeUC6UVLa2t8Mr+mtGuq6h83CVUqltBdF5HlTRi5RwWIgT7PCl2m/vaLtPW6TWvks/5vaC7O+m24kaYkLKUtkbithnB5HeRd4XuxTTPAdGz/BwbnluI",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "sU/oDUq2/bZiHo+r0xfXWP4/wuaDlGJ4uBtoeZe2ju4",
  "workflow" => true,
  "workflow_id" => "019ddea7-5779-7881-adc4-69bd802b5373"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Review whether these flows still support a live journey your users actually reach. If they are no longer needed, unpublish them to keep your published inventory clean and reduce maintenance overhead. If any are intentionally kept for rare support cases, consider leaving them live but documenting their purpose for your team.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID 3faeaae8-9b03-4e68-8feb-4ccd606a03ba named \"Edge Hard Reload \". This flow has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days and is being retired as inactive hygiene cleanup.",
          "title" => "Unpublish Edge Hard Reload flow",
          "undo_prompt" => "Use the product_support agent and its publish_experience tool to publish the web flow with experience ID 3faeaae8-9b03-4e68-8feb-4ccd606a03ba named \"Edge Hard Reload \", restoring it to a live published state."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID 7bc86caa-5284-47a0-9af5-019f432db1dc named \"Safari Hard Reload \". This flow has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days and is being retired as inactive hygiene cleanup.",
          "title" => "Unpublish Safari Hard Reload flow",
          "undo_prompt" => "Use the product_support agent and its publish_experience tool to publish the web flow with experience ID 7bc86caa-5284-47a0-9af5-019f432db1dc named \"Safari Hard Reload \", restoring it to a live published state."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID af2028b1-841a-4578-bf72-743bab034763 named \"Firefox Hard Reload \". This flow has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days and is being retired as inactive hygiene cleanup.",
          "title" => "Unpublish Firefox Hard Reload flow",
          "undo_prompt" => "Use the product_support agent and its publish_experience tool to publish the web flow with experience ID af2028b1-841a-4578-bf72-743bab034763 named \"Firefox Hard Reload \", restoring it to a live published state."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID -M8yuPvAg2ItZ12Z78fb named \"EE - Self Service Providers\". This flow has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days and is being retired as inactive hygiene cleanup.",
          "title" => "Unpublish Self Service Providers flow",
          "undo_prompt" => "Use the product_support agent and its publish_experience tool to publish the web flow with experience ID -M8yuPvAg2ItZ12Z78fb named \"EE - Self Service Providers\", restoring it to a live published state."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing unused experiences will simplify content maintenance and make it easier to focus on active onboarding and employee guidance experiences, improving overall experience governance.",
      "finding" => "Routine content hygiene check: I reviewed published flows, pins, banners, and checklists that were published more than **3 weeks ago** and found **4 experiences** with **no activity in the last 30 days**.\n\n- [Edge Hard Reload](https://studio.appcues.com/flows/3faeaae8-9b03-4e68-8feb-4ccd606a03ba/settings)\n  - Type: Flow\n  - Published: **2023-02-21**\n  - Designed to help users clear cache and cookies in **Microsoft Edge** on pages matching **/gms/#/app/**.\n  - Goals: None configured.\n- [Safari Hard Reload](https://studio.appcues.com/flows/7bc86caa-5284-47a0-9af5-019f432db1dc/settings)\n  - Type: Flow\n  - Published: **2023-02-21**\n  - Designed to guide users through clearing cache and cookies in **Safari** on pages matching **/gms/#/app/**.\n  - Goals: None configured.\n- [Firefox Hard Reload](https://studio.appcues.com/flows/af2028b1-841a-4578-bf72-743bab034763/settings)\n  - Type: Flow\n  - Published: **2022-11-09**\n  - Designed to show **Firefox hard refresh / cache-clearing instructions** on pages matching **/gms/#/app/**.\n  - Goals: None configured.\n- [EE - Self Service Providers](https://studio.appcues.com/flows/-M8yuPvAg2ItZ12Z78fb/settings)\n  - Type: Flow\n  - Published: **2020-06-04**\n  - Designed as a walkthrough of the **Self Service Providers** area, including how to view provider details from the employee experience.\n  - Triggered on the self-service provider list page.\n  - Goals: None configured.",
      "outcomes" => ["engagement", "retention"],
      "priority" => "medium",
      "title" => "4 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Created 1 hygiene insight covering 4 published experiences older than 21 days with zero activity in the last 30 days. Added direct unpublish actions for each inactive flow."
}

Errors

No Errors