25355944 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 16:23.575
Run Time 01:35.339
Inserted 6h ago
Scheduled 6h ago
Completed 6h ago (01:36)
Cancelled
Discarded

Args

%{
  "account_id" => "131552",
  "account_insight_agent_id" => "4b2bc3eb-9f15-4d06-a7e2-33e84db2c318"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "6GWbDO7mpfvyBIEx6QijoNKTqKbw2+TYNT+uuZG+JQg",
  "recorded" => true,
  "return" => "g1AAAC11eJzdWs2O5EgRntkfWHqFeAAuyQjtzhZtl3+rXHVBPdMzaMTuDtvdK8Ei1Erb4SpP206vM929xYlH4IAQEpwQByQuHEBcOMAz7BvwEJyJSLuq3D3VLVdP94zoUaumys6fiC++iIzITHXv3r23zr6dFjKdzZU8jrniGT67r/Dj/Zw+eKRSURyXGS/w91svjirgiql5KhmXrBK1SgtgkSgUFIrNF7MUCjDZoeKVYuGCVXCawllazLAPsCwtTiBmEhR2m0lW8hngQEWMg51QI4GDfVmDpElZIioGPJqzVEE+ZYMBTqpnxtdZxlI9JzbkWbbAoU/hh4PBzs4BRCLPoYhxIlHFUE13bJN9XpR1mKVyzqIMeIUdClEYZSXiWmuo55AsSSup2H9+9RsmeYaixZCLXZyPz1C6XfbZ3q6WlqaucF4GX5VQocoRSHPHMdnRHIpWZyYynJxlvC6i+VAUoeBVTDouwVJzRDLnCzbnp8BC0D0R6AgFR+QKOMPuszqNOQ5v7rgm+zFAifMvtLBN/0vQiEWVc5wjhIjXErADk3VZikoh3Ig/l9QQNYMZQqUg3kWsmEJ7hqj2XAiyD6OeEZc4+c6zhC1E/WGMOJ/ArjYm2sqIsjQ6YfUK3IYuOEcoTqlvgRLQMLE2JvVqcNayF4JlopihlgVgCyVQ/5ynhbalSfT7ZjsekXKHSPkOPX07Upz+/9bKqPTrG2jMvF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KeM6oLRk5EzxagZKX/LRV0t2mzDPMTBics8VrlAYVcwtHfXCxnUPCPvsaPeHsGXbcjUkkRq/w3cbZDeg4GGGXZd+rEHrem7rmm2cX+GgL0Sdp9ZlW6A9MOizN7qN931Z022fizvCPMR15KJ/tGTBcM9R88/2MGqfppUoiBK0NCRYeFFT0Etg08do+ixXAw3DFRtrPQDos+O2DQDnNhZLgQxtr0k1TNCvl8u5KFrnIunoAd2h08tiBVzrdu3tlR6a99l32UZzuuyl0hzO70JRvijaZYekHpLEqOI5nRJstFXI0OBsW5r3wKRPzb4FJsV6z6JC5hdxm6ORxZs0d9heVWpF7V437LiDbNfeKwu5Hur1qfD6RzzN5ZbZnWuBK/l0qQu6jhkMiBmKIl7j9rTQKn0TEiODLiN0vtrlQNu9Vf2SEuFKpZsiA9fKHtXDRrUf6QE2JxlahEuo3gnXPMKsWHaj+/l8A7PTvebCKUZ2RWRh6TJFx+SiQupgJYD4YLGFYWGZwVy4cbqkmb6jmcGMR4v2Wim60Eu5P90offlmJQ64WN+rfA/tggKCvlh5n57sQDFDsUnVptJCXxMVRmFd92Oqn9b5+bpy/7IqobnPOucxibFK7ckzclFBWyS0FS8N9A5VY3pspFYNL87eLYRqSrivH1fNAmGvipT2sjL6FOJH5rhUjJKqCVFLLJo7BYiOsF3BNhTiLXtpAt0Hf6VVZxaqfWvKC2d0FVZHr1XRVtZVKdCcOup1indyEApi5v8AJI9Tyg",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "c+iZsyRiPUj+Yx1i0mIpvelmtUBo+Msa8+jEROGOPu0",
  "workflow" => true,
  "workflow_id" => "019ddeab-ea33-7851-af88-9535fde0ff93"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Treat this as routine content hygiene. Start by reviewing the linked settings pages and asking one question for each item: **is this still intentionally live?**\n\nRecommended order:\n1. Unpublish clearly non-production items first — sales demo, staging, QA, and internal experiences.\n2. Then review older launch/onboarding content that may have been replaced by newer guidance.\n3. Keep any item that is still intentionally dormant because it supports a seasonal, segmented, or troubleshooting use case.\n\nIf you'd like, the one-click unpublish actions above can be used for the items that no longer need to remain live.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product support publish state tool to unpublish the published web flow named \"Marks book syllabus/curriculum integration SALES DEMO\" with ID dca27ee6-baff-420e-bb31-239dcd3a1324. It is currently published and was published at 2025-08-01T04:55:13.842397Z. This flow was identified in the inactivity review as having no seen events or enrollments in the last 30 days. Unpublish the live experience only and leave any draft content intact.",
          "title" => "Unpublish inactive sales demo flow",
          "undo_prompt" => "Use the product support publish state tool to republish the web flow named \"Marks book syllabus/curriculum integration SALES DEMO\" with ID dca27ee6-baff-420e-bb31-239dcd3a1324."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product support publish state tool to unpublish the published web flow named \"1.1d School app STAFF onboarding SLIDER SALES\" with ID 7f55af35-a629-4508-b398-ba2851cef4ba. It is currently published and was published at 2025-04-10T00:34:10.834243Z. This flow was identified in the inactivity review as having no seen events or enrollments in the last 30 days. Unpublish the live experience only and leave any draft content intact.",
          "title" => "Unpublish inactive staff onboarding flow",
          "undo_prompt" => "Use the product support publish state tool to republish the web flow named \"1.1d School app STAFF onboarding SLIDER SALES\" with ID 7f55af35-a629-4508-b398-ba2851cef4ba."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product support publish state tool to unpublish the published web flow named \"Academic reports uplift Feb 2025 DRAFT (school admin)\" with ID 4ac00f62-54cc-41e0-99d1-b12231384770. It is currently published and was published at 2025-03-06T00:00:00.463797Z. This flow was identified in the inactivity review as having no seen events or enrollments in the last 30 days. Unpublish the live experience only and leave any draft content intact.",
          "title" => "Unpublish inactive reports uplift flow",
          "undo_prompt" => "Use the product support publish state tool to republish the web flow named \"Academic reports uplift Feb 2025 DRAFT (school admin)\" with ID 4ac00f62-54cc-41e0-99d1-b12231384770."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product support publish state tool to unpublish the published web flow named \"Marks book syllabus/curriculum integration PROD-ONBOARDING\" with ID 9e91bd1b-9951-446e-97b1-1868d4fb5114. It is currently published and was published at 2025-02-02T22:45:42.744430Z. This flow was identified in the inactivity review as having no seen events or enrollments in the last 30 days. Unpublish the live experience only and leave any draft content intact.",
          "title" => "Unpublish inactive syllabus onboarding flow",
          "undo_prompt" => "Use the product support publish state tool to republish the web flow named \"Marks book syllabus/curriculum integration PROD-ONBOARDING\" with ID 9e91bd1b-9951-446e-97b1-1868d4fb5114."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product support publish state tool to unpublish the published web flow named \"Academic Report Set up Experience\" with ID 51e35432-9253-4f28-816a-dc36627cfb10. It is currently published and was published at 2023-11-09T01:39:50.852776Z. This flow was identified in the inactivity review as having no seen events or enrollments in the last 30 days. Unpublish the live experience only and leave any draft content intact.",
          "title" => "Unpublish inactive feedback survey flow",
          "undo_prompt" => "Use the product support publish state tool to republish the web flow named \"Academic Report Set up Experience\" with ID 51e35432-9253-4f28-816a-dc36627cfb10."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product support publish state tool to unpublish the published web flow named \"Refer to help.zunia hotspot\" with ID 32a801b3-69b2-4b00-8879-58427273ec63. It is currently published and was published at 2024-05-06T01:03:17.519469Z. This flow was identified in the inactivity review as having no seen events or enrollments in the last 30 days. Unpublish the live experience only and leave any draft content intact.",
          "title" => "Unpublish inactive help hotspot flow",
          "undo_prompt" => "Use the product support publish state tool to republish the web flow named \"Refer to help.zunia hotspot\" with ID 32a801b3-69b2-4b00-8879-58427273ec63."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product support publish state tool to unpublish the published web flow named \"Zunia integrations with MYOB and Xero in-app announcement\" with ID 07679fbb-a9ad-4e1e-bb33-6b4a4b293808. It is currently published and was published at 2024-03-19T01:53:01.540268Z. This flow was identified in the inactivity review as having no seen events or enrollments in the last 30 days. Unpublish the live experience only and leave any draft content intact.",
          "title" => "Unpublish inactive integrations announcement flow",
          "undo_prompt" => "Use the product support publish state tool to republish the web flow named \"Zunia integrations with MYOB and Xero in-app announcement\" with ID 07679fbb-a9ad-4e1e-bb33-6b4a4b293808."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product support publish state tool to unpublish the published web flow named \"Internal: Keep data pristine for content & sales\" with ID 1ab0c5ea-b1be-435a-ac84-9e1b0054b7a2. It is currently published and was published at 2023-05-10T06:16:51.831111Z. This flow was identified in the inactivity review as having no seen events or enrollments in the last 30 days. Unpublish the live experience only and leave any draft content intact.",
          "title" => "Unpublish inactive internal notice flow",
          "undo_prompt" => "Use the product support publish state tool to republish the web flow named \"Internal: Keep data pristine for content & sales\" with ID 1ab0c5ea-b1be-435a-ac84-9e1b0054b7a2."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product support publish state tool to unpublish the published web flow named \"Class missing academic period\" with ID 22c2cfe0-6600-4b88-91cc-426d677d8e22. It is currently published and was published at 2023-05-10T06:00:18.031412Z. This flow was identified in the inactivity review as having no seen events or enrollments in the last 30 days. Unpublish the live experience only and leave any draft content intact.",
          "title" => "Unpublish inactive class guidance flow",
          "undo_prompt" => "Use the product support publish state tool to republish the web flow named \"Class missing academic period\" with ID 22c2cfe0-6600-4b88-91cc-426d677d8e22."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product support publish state tool to unpublish the published banner named \"Marks book staging test\" with ID 430c2d7e-58c8-4f3b-a6d3-418de0304d80. It is currently published and was published at 2023-07-27T00:55:59.426Z. This banner was identified in the inactivity review as having no seen events or enrollments in the last 30 days. Unpublish the live experience only and leave any draft content intact.",
          "title" => "Unpublish inactive staging banner",
          "undo_prompt" => "Use the product support publish state tool to republish the banner named \"Marks book staging test\" with ID 430c2d7e-58c8-4f3b-a6d3-418de0304d80."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Cleaning up inactive published experiences should reduce governance overhead, lower the chance of outdated content resurfacing, and make it easier for your team to focus on experiences that still drive adoption.",
      "finding" => "Routine hygiene check: **10 published experiences** were confirmed to be **older than 3 weeks** and were identified in the last-30-day inactivity review as having **no seen events or enrollments**.\n\nReview list:\n- [Marks book syllabus/curriculum integration SALES DEMO](https://studio.appcues.com/flows/dca27ee6-baff-420e-bb31-239dcd3a1324/settings)\n  - Type: Flow\n  - Designed to introduce syllabus/curriculum grading updates on **sales.zunia.com** for users visiting **/staffapp/subjects** or **/staffapp/marksbook/grades/**.\n- [1.1d School app STAFF onboarding SLIDER SALES](https://studio.appcues.com/flows/7f55af35-a629-4508-b398-ba2851cef4ba/settings)\n  - Type: Flow\n  - Designed as a staff-app onboarding tour on **sales.zunia.com / ehgstage.com**, introducing parent invites, news, messaging, events, and academic reports.\n- [Academic reports uplift Feb 2025 DRAFT (school admin)](https://studio.appcues.com/flows/4ac00f62-54cc-41e0-99d1-b12231384770/settings)\n  - Type: Flow\n  - Designed to guide school admins through the **academic reports / template library** setup on **/staffapp/landing** for a targeted segment, with a goal attached.\n- [Marks book syllabus/curriculum integration PROD-ONBOARDING](https://studio.appcues.com/flows/9e91bd1b-9951-446e-97b1-1868d4fb5114/settings)\n  - Type: Flow\n  - Designed to onboard production users to syllabus/curriculum-enabled grading on **zunia.com** subject and marks book pages.\n- [Academic Report Set up Experience](https://studio.appcues.com/flows/51e35432-9253-4f28-816a-dc36627cfb10/settings)\n  - Type: Flow\n  - Designed as a quick feedback survey about academic report setup in a **QA environment** after repeated report-setup activity.\n- [Refer to help.zunia hotspot](https://studio.appcues.com/flows/32a801b3-69b2-4b00-8879-58427273ec63/settings)\n  - Type: Flow\n  - Designed as a help hotspot pointing users to help content on the **student plans** area.\n- [Zunia integrations with MYOB and Xero in-app announcement](https://studio.appcues.com/flows/07679fbb-a9ad-4e1e-bb33-6b4a4b293808/settings)\n  - Type: Flow\n  - Designed as a one-time announcement promoting **MYOB/Xero** integrations from **/staffapp/landing** for a targeted segment.\n- [Internal: Keep data pristine for content & sales](https://studio.appcues.com/flows/1ab0c5ea-b1be-435a-ac84-9e1b0054b7a2/settings)\n  - Type: Flow\n  - Designed as an internal reminder for **staging / sales content-production environments**.\n- [Class missing academic period](https://studio.appcues.com/flows/22c2cfe0-6600-4b88-91cc-426d677d8e22/settings)\n  - Type: Flow\n  - Designed to help users troubleshoot missing classes in **timetable setup**, then route them to **/staffapp/classes**.\n- [Marks book staging test](https://studio.appcues.com/banners/430c2d7e-58c8-4f3b-a6d3-418de0304d80/settings)\n  - Type: Banner\n  - Designed as a staging announcement promoting marks book access on **zunia.ehgstage.com**.\n\nA clear pattern is that several of these are **sales, staging, QA, internal, or legacy launch** experiences that may no longer need to stay live.",
      "outcomes" => ["engagement"],
      "priority" => "medium",
      "title" => "10 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Created 1 hygiene insight covering 10 published experiences previously identified with no activity in the last 30 days, then verified their published status, age, targeting, and purpose from experience metadata."
}

Errors

No Errors