25355570 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 01:24.070
Run Time 01:26.600
Inserted 2h ago
Scheduled 2h ago
Completed 1h ago (01:27)
Cancelled
Discarded

Args

%{
  "account_id" => "94648",
  "account_insight_agent_id" => "f4d39e91-1d6b-4831-80be-9ee433752926"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "8ej5gHrx9LPuYW3g3uPD9ldWMi0rNNUkJ3g+RiHg4rA",
  "recorded" => true,
  "return" => "g1AAABzjeJzVWd+P28YRdhI7sVUU7Wuapl3kKRGOOlKkKPHeCjsuDkUTIE2AFkVxWO4OxfVRXIG7lKz8PX3uW/+L/lGdWf4QpZwNGrj4EOCgE5fk7sw33858s7KPHj36cP9rVRq1zq25kdzyAsc+sPjxqw19cGGVLm+2BS/x+oP/fAc7BXtmczDAlIWNYRz/WK5rA7cAW1Wu2ZYbczUJZuyHclunhTI54+WBwestVApKAcwqkMxqZsDWW3ze5oYddF0xC3zDSs0KXa6hYjipYboajOx5aQ3bKaPSAmaT+Yz9BVdlhdoB02VxINNaw2zOLTNWFQUz9XarK4tmMPLIPZtqXkky9xUuXMJhNgln7DpzpuqsdTEr9B79q6CbyFbcwloJXuBaakOzokUXrIKsAnSUlre8WoOlqXkpmdClhdKyFDKN83Qg4YMb1sIDcjaZ/EPXTKCB6LObRaoKhGX1EUMXC7Qm1egATuZMJV8JO4cMYVrh0rhOqfczCuEn7WsU2AkF9jGNfiQsp//P+hDR1cfbSm+2liL95IfWDByStbA3PYRrcoYco7u9dTfD6GpdkCVH091Ena9sD6kDlu2VzYe0uH7BpFzIMImkN8+SuRfF/sJLwlR6wYpHyygKfQk+K/kGp/niT1Ii9YxFWL+Yse9zZZppc6RkziXzkV9QMtgBcUaVzoyCG8tCn0l+MM6NPT59tE2XbO7P554feUHiAHxilS2Avv3uyOfB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dg1Lpszq7WtZKY0lVlrGcVKhkuNwq3Et4SFVC6RzhU1TzRHRUg8R1KzaXbolvMImyfg4PvgMDuoDnvatoAc+meNewAdnb0uW2Fx3g9oscf7/WGzp5KZJVjb+OQc7c90+od7jpHhXsEoWno33fwFOV+Aw3cat8a4daYRnq8WzkUW5ZWaJZHznEhcNNQppTyTq/6QHYDfSgHznQhHOHNmCb1XanZHK42R5mt+X1vSfhXULj81A9KsFwVxnkw7IxG2D+m4XvHaDQEg9YOeI0AE4d61rSCtgtEx6zGiWMozvqNEb6MaabG+4Ipq+BNbtwAlYq1vsBaU2jK/RnWHPyXA5dQNaUg05qqThO8Nqc2nRLHbXZk1+jQjOlS3pVaTWyajX2e5sRtExm6e7LfqchRjeM7DBBPi+YMm2rbSQI41cwjHBzTGIx3cM+L286/vNL1Oj/mt3PjGo2Elc5LOSkJ8oUX3WMDrzo1OsabEUL7HXfSMV23halLWq1ZqnWkSwi9djb1eg3GVSHnzF2a860u9drPXN6lZS9pdw996Gf9iSNCa1qYrL/FKtlsD8vNrblyJDxm2wu6iXq1EwbNtUTOHVxkgDTXsNhcdAp+06h8bIPciyg8vtEDMZTysiQQkbRbKvQbnNZJvgr5jjRHPSM4/XpT6tLt1k660cL9LG5Lo0ZvS4xTcU9RuCFc4H6k+ZBGJke15y6hXGNCI+HUCGZ0BONmD3TxOFfr/FSJv3iT1mvkBYm3oXSjfTiQeo14c5Y9Jknt5lbG1PBq/6TE9OR0+L+fOzJJFvSCc8+rssnR7hdFDNoOnNp9ozm6kCR3hwrT9UE/QvV2aTlj39BPXYKUsay3hSLSdgubplyAnP0fJUqPog",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "WHM2W+JBSMKXcztu/y4z1PH40xmUie6kgx8GLZYndfg",
  "workflow" => true,
  "workflow_id" => "019ddeab-ea25-7a82-b7b7-8ce0b4c09a77"
}

Recorded Output

%{
  notes: "Created 1 hygiene warning insight covering 10 published experiences older than 3 weeks with zero activity in the last 30 days. No recent duplicate insights existed.",
  insights_data: [
    %{
      "action_plan" => "Review these items as a housekeeping pass:\n1. Unpublish any experience tied to setup paths your team no longer uses or no longer wants visible.\n2. Keep live only the items that still support an active onboarding journey.\n3. If any of these flows are still strategically important, refresh the targeting and content before keeping them published.\n\nYou can use the direct unpublish actions above for any item you want to retire now.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID dd5d394d-2f92-4605-93bd-18a474430de0 named \"Add a store\". This flow has had 0 seen events in the last 30 days and was published on 2022-04-19.",
          "title" => "Unpublish Add a store 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 dc419154-c97a-4a99-81f9-d92669023afa named \"Add a variant\". This flow has had 0 seen events in the last 30 days and was published on 2022-02-17.",
          "title" => "Unpublish Add a variant 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 754eeb82-4096-421a-a870-e735086a11a3 named \"Add a product\". This flow has had 0 seen events in the last 30 days and was published on 2022-02-17.",
          "title" => "Unpublish Add a product 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 3b305cb3-6863-496e-9cf1-60ef48a82da8 named \"Add a location\". This flow has had 0 seen events in the last 30 days and was published on 2022-03-29.",
          "title" => "Unpublish Add a location 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 857e6b0c-42b4-4dd9-986b-4ab16edd77ac named \"Edit an item\". This flow has had 0 seen events in the last 30 days and was published on 2022-02-17.",
          "title" => "Unpublish Edit an item 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 c5846a7a-a9c9-4f11-a834-a41106478450 named \"Configure theme\". This flow has had 0 seen events in the last 30 days and was published on 2022-02-17.",
          "title" => "Unpublish Configure theme 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 3c6dfcfd-da10-4f19-b64f-176dc260983a named \"Add an item\". This flow has had 0 seen events in the last 30 days and was published on 2022-02-17.",
          "title" => "Unpublish Add an item 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 bc823f68-b0fb-497c-9111-79aaa901fd75 named \"Add a pricing template\". This flow has had 0 seen events in the last 30 days and was published on 2022-02-17.",
          "title" => "Unpublish pricing template 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 b8690128-99f1-4d92-a529-b3aa17e3c912 named \"Add a category\". This flow has had 0 seen events in the last 30 days and was published on 2022-02-17.",
          "title" => "Unpublish Add a category flow",
          "undo_prompt" => nil
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published checklist with experience ID -MnOvl1SvGIFE36XId8F named \"Onboarding Checklist\". This checklist has had 0 seen events and 0 completions in the last 30 days and was last updated on 2022-01-06.",
          "title" => "Unpublish onboarding checklist",
          "undo_prompt" => nil
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing unused legacy content reduces clutter in your live experience inventory, lowers the chance of outdated onboarding appearing to users, and makes it easier to focus on current activation paths.",
      "finding" => "Routine hygiene review found **10 published experiences** that were all published more than 3 weeks ago and had **no activity in the last 30 days** (**0 seen / 0 enrollments** between **2026-04-01 and 2026-04-30**).\n\nInactive experiences:\n- [Add a store](https://studio.appcues.com/flows/dd5d394d-2f92-4605-93bd-18a474430de0/settings)\n  - Type: Flow\n  - Designed to guide first-time admins to create their first store from the store list page when they have no locations/stores yet.\n- [Add a variant](https://studio.appcues.com/flows/dc419154-c97a-4a99-81f9-d92669023afa/settings)\n  - Type: Flow\n  - Designed to move new users from creating their first product into adding a variant and inventory.\n- [Add a product](https://studio.appcues.com/flows/754eeb82-4096-421a-a870-e735086a11a3/settings)\n  - Type: Flow\n  - Designed to help brand-new accounts add their first product from the product list page.\n- [Add a location](https://studio.appcues.com/flows/3b305cb3-6863-496e-9cf1-60ef48a82da8/settings)\n  - Type: Flow\n  - Designed to guide setup of the first location and related location details.\n- [Edit an item](https://studio.appcues.com/flows/857e6b0c-42b4-4dd9-986b-4ab16edd77ac/settings)\n  - Type: Flow\n  - Designed to help users edit an existing inventory item from the variant detail page.\n- [Configure theme](https://studio.appcues.com/flows/c5846a7a-a9c9-4f11-a834-a41106478450/settings)\n  - Type: Flow\n  - Designed to explain theme, logo, colors, fonts, header, and footer setup in the theme area.\n- [Add an item](https://studio.appcues.com/flows/3c6dfcfd-da10-4f19-b64f-176dc260983a/settings)\n  - Type: Flow\n  - Designed to guide users to add their first stock item to a variant and make it available for rent.\n- [Add a pricing template](https://studio.appcues.com/flows/bc823f68-b0fb-497c-9111-79aaa901fd75/settings)\n  - Type: Flow\n  - Designed to walk users through creating pricing templates and day-based rental pricing.\n- [Add a category](https://studio.appcues.com/flows/b8690128-99f1-4d92-a529-b3aa17e3c912/settings)\n  - Type: Flow\n  - Designed to help new users create product categories and related category suggestions.\n- [Onboarding Checklist](https://studio.appcues.com/checklists/-MnOvl1SvGIFE36XId8F/edit)\n  - Type: Checklist\n  - Designed to coordinate key setup tasks: add a location, set up a store, set daily prices, add a product, and theme the webstore.\n\nNo published banners or pins met the criteria because none are currently published in this account.",
      "outcomes" => ["activation", "engagement"],
      "priority" => "high",
      "title" => "10 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors