25364993 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 09:53.192
Run Time 02:37.274
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (02:38)
Cancelled
Discarded

Args

%{
  "account_id" => "212378",
  "account_insight_agent_id" => "6e148493-5432-4640-9ae3-a81c4f048e42"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "sYQ2cPDqHrxFijrgcK6GYvGrXS5kgTrwyW9+/3EG5XQ",
  "recorded" => true,
  "return" => "g1AAABy4eJzdWc2OI7cR3o1/4owR5AECBAU7B1sQpdZ/z+Rk7CKB4QQIjN1TEGioZrVED5vsNNkjy6cAvvoFfDb8BAZy8smAn8AvlCq2pNHsambb8Ows1sBg1E2JLNZXXxWrvw4PHjz4zfot6wL6gq6/f1ShDKhgAKvNUqNF0Nbr5SpA5i6x0nYJUyjrhdF+RT/Dz0saRJuhB2cUVhBW0sII1ogXHtY6rOALrBx4RNtHWzljCrQBZBb0pQ4bWp6mIBjpA4wSUHLje/CxzUytaH2lK8wC1HZrMs5z1kPuKkCZrQ520Fv/frtXP1cySEP+PAz071327N1m5rw00tL9w68+xUuNazbu8Zofkv7AuqqQBjKD0tYllNL7s5NBDz5BLEHaDcFhAztC/gbwdVm6KvBEj9I7S1Npg8atxaUzdYGwdtVFTvewcTX4oI2JNsm34KD22DsZ9uDp3s3D/QRNQNCvXB1UjE0pl+i7tIpcUjyEs2YDTz/9Ow2xTVzKbAMrNOXVHh1UqOoMyZ86BIqStAoKqflrSUaAY7tCqXonI0I/p+8PtgDab7fsQ0U7WOpMGrKpC3Za2tAFpkZOIwRBkNUSAxOFjfBeybjBy2hngRQ4hAtCkX+hAxh9iT0O0G+3oeWwvc1he5NH38iC5M/f7bHhu7fLyhVl4Dj+9ymFjxlEQ+RimG9jAWSYeUZ74G/3DJof+BWcMxH/Pe5xoT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ZW2fe0Tfb/Pg3fcYWD3yH54AH8TEkzP4K02Pt4+RTTZ6GEFhJNcJaj+5TJWsjm3FBt+ITzHDYLvbJk/inokYRmcafWNjp1idwXmfa4y0m/52nXOO7zlLbdiL50khLV1XPe3O4+S/OWn8GRWIJna5XhKl1PPQveD5qwV6bR79fj56Hq3XMXlZMz146IWMOET5EIslAZDnsPUBDnzghEJ/M47nZIi1XKbbed+4pba3QRrDdl5srn9Ba/08sJ99gmiDbounlfboKioWjc6920nzeAZc9xpyci5x1m1AUsJSGMLNZGy8eDnAPdP13goVHSyUxS1a6qNI/VPb54Ba1lSOm3OUwKAiuFw1R+VugS74jMpabagU5rgrz7LKVsTZvkLuB2JVpiS6GcBGlff8Oe/chmOX+kV/EVwJLKu3xO6mTu3FWLZpC1tjuUtptd3Ftf63C5S8vAwBqGI6GspbwmR33tlassBfq0hbpZ5DU4KnU1rnOru2Mr96uBXQc4WXR4Z/KWGvWpMXw9ym82kNc1lt3xwd0jS6swtAA8/uVZXR1Eow+F3ypNx0d+RtIGgYfCfMvUOgY6tHHQn9DOMbmYc8cnLVyzTNYFlpV1EDEZ86+HSoi+vN8KObXhauJJ043JRQS7JvQ/ikOWhftm8DeZ03uW7GpelwqvGz/wOGwcWB",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "X00BaRDriuOoTHToyTPyjLypL5qpGohCIUxdpqK33wQ",
  "workflow" => true,
  "workflow_id" => "019ddeb9-a59a-7df9-b7b5-e29498bc6438"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Review these experiences as a normal cleanup pass:\n1. Keep any content that supports a seasonal or low-volume workflow you still expect to use.\n2. Unpublish experiences tied to outdated pages, staging-only URLs, or legacy help content to reduce clutter and maintenance overhead.\n3. If an experience is still strategically important, verify its targeting and page relevance 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 662df478-7b1a-4692-a670-6a33d37d19ab named \"help-article-when-do-members-sign-waivers\". This flow has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days is not required for this unpublish action; unpublish it so it is no longer shown to end users.",
          "title" => "Unpublish inactive waiver help flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID 662df478-7b1a-4692-a670-6a33d37d19ab named \"help-article-when-do-members-sign-waivers\"."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID c5eab00d-8b04-412f-9529-60c196e40a53 named \"help-article-medical-information-permissions\". This flow has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days is not required for this unpublish action; unpublish it so it is no longer shown to end users.",
          "title" => "Unpublish inactive permissions help flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID c5eab00d-8b04-412f-9529-60c196e40a53 named \"help-article-medical-information-permissions\"."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with experience ID cf5a8a81-8823-4bab-b3e3-583014425c75 named \"help-article-automated-emails\". This flow has had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days is not required for this unpublish action; unpublish it so it is no longer shown to end users.",
          "title" => "Unpublish inactive emails help flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with experience ID cf5a8a81-8823-4bab-b3e3-583014425c75 named \"help-article-automated-emails\"."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin with experience ID 61704f07-7861-4f4f-83a2-8a34456e07ef named \"Tooltips - Term\". This pin has had 0 seen, 0 completed, 0 dismissed, and 0 errors in the last 30 days is not required for this unpublish action; unpublish it so it is no longer shown to end users.",
          "title" => "Unpublish inactive term tooltip pin",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the pin with experience ID 61704f07-7861-4f4f-83a2-8a34456e07ef named \"Tooltips - Term\"."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin with experience ID bdaea0e7-87ad-4e28-818e-750d0003cf9e named \"Tooltip - Class Drop-in Details\". This pin has had 0 seen, 0 completed, 0 dismissed, and 0 errors in the last 30 days is not required for this unpublish action; unpublish it so it is no longer shown to end users.",
          "title" => "Unpublish inactive class details pin",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the pin with experience ID bdaea0e7-87ad-4e28-818e-750d0003cf9e named \"Tooltip - Class Drop-in Details\"."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published pin with experience ID 3ac48ddf-0205-4182-a48c-661b14923838 named \"Tooltip - My Term\". This pin has had 0 seen, 0 completed, 0 dismissed, and 0 errors in the last 30 days is not required for this unpublish action; unpublish it so it is no longer shown to end users.",
          "title" => "Unpublish inactive my term pin",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the pin with experience ID 3ac48ddf-0205-4182-a48c-661b14923838 named \"Tooltip - My Term\"."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing genuinely unused experiences should simplify your live portfolio, reduce accidental exposure on stale pages, and make it easier to focus optimization work on experiences that still drive engagement.",
      "finding" => "As part of routine content hygiene, **6 published experiences** that were published more than 3 weeks ago had **no user-facing activity in the last 30 days**.\n\n- [help-article-when-do-members-sign-waivers](https://studio.appcues.com/flows/662df478-7b1a-4692-a670-6a33d37d19ab/settings)\n  - Type: Flow\n  - Designed to explain how to update waivers and prompt members to re-sign policies\n  - Targeting: `/company/waivers` on `stage.classmanager.io`\n  - Goals: none configured\n\n- [help-article-medical-information-permissions](https://studio.appcues.com/flows/c5eab00d-8b04-412f-9529-60c196e40a53/settings)\n  - Type: Flow\n  - Designed to explain sensitive data permission changes for staff medical information access\n  - Targeting: `/company` excluding `/login` on `stage.classmanager.io` and `my.classmanager.com`\n  - Goals: none configured\n\n- [help-article-automated-emails](https://studio.appcues.com/flows/cf5a8a81-8823-4bab-b3e3-583014425c75/settings)\n  - Type: Flow\n  - Designed to document automated email types and when they are sent\n  - Targeting: `/company/emails` on `stage.classmanager.io` and `my.classmanager.com`\n  - Goals: none configured\n\n- [Tooltips - Term](https://studio.appcues.com/pins/61704f07-7861-4f4f-83a2-8a34456e07ef/settings)\n  - Type: Pin\n  - Designed to guide users through term settings, schedule, fees, and archive/delete options\n  - Targeting: `/company/seasons/sea_*` on `stage.classmanager.io`, desktop only\n  - Goals: none configured\n\n- [Tooltip - Class Drop-in Details](https://studio.appcues.com/pins/bdaea0e7-87ad-4e28-818e-750d0003cf9e/settings)\n  - Type: Pin\n  - Designed to explain drop-in class details, editing, adding lessons, and manual student adds\n  - Targeting: a specific class detail URL on `stage.classmanager.io`, `dev.classmanager.io`, and `my.classmanager.com`\n  - Goals: none configured\n\n- [Tooltip - My Term](https://studio.appcues.com/pins/3ac48ddf-0205-4182-a48c-661b14923838/settings)\n  - Type: Pin\n  - Designed to preview term settings and explain class actions like edit, copy, archive, and delete\n  - Targeting: `/company/seasons/sea_*` on `stage.classmanager.io`, `dev.classmanager.io`, and `my.classmanager.com`\n  - Goals: none configured",
      "outcomes" => ["engagement"],
      "priority" => "medium",
      "title" => "6 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Created 1 hygiene insight covering 6 published experiences older than 3 weeks with zero seen/enrollment activity in the last 30 days. Included direct unpublish actions for each experience."
}

Errors

No Errors