25362058 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 12:18.049
Run Time 01:32.592
Inserted 6h ago
Scheduled 6h ago
Completed 6h ago (01:33)
Cancelled
Discarded

Args

%{
  "account_id" => "30666",
  "account_insight_agent_id" => "270bf66e-2a82-4605-bce9-c866ba5f6bf8"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "mbR64QkkZBbfjVOdC2UHvF6SISaPYrVts72jOrGu5Pc",
  "recorded" => true,
  "return" => "g1AAACKteJzNWk9z27gV926y7cbbnZ566bYdTHtoq7Eky5ISOzeP7eym62yyG3vd2U5HA4GPJFYkwACgZPkbtKf21D/HfpCe+i36VdqZvgdSFGPLCZ1t5FwsEyKB358H8OFBbmNj4/3ZB0o7sCn+/+8DA9xBwHosnkcSFLRDLXKLLdLaHJhUVkaxY0JPwUgVsd42y/JxIm2M98B5hq2gBFjmYu7YDAzUvk81XuIXivXxK5hYxiPNuApYzAN2AQYvhJNT6eY4Et4JLOHWsf42C/jcdth+EGA3gTQgHMtV2bN/SCvLQm0YcBEzSGQkxwnUEHVmH5fg7SjgjidI9z2Hfz4i4h8VXYyyhCu8fu+vJyQEIpCI0TKjcycVLETpsK9gKmHmEdZJ8zHq4glNADKmVTL392i1UISjAtbJJGEKgMgQZiUF3hTolCPELaTuwCiesABSjdd4RwIRF3PsZ6y5CUj4jLsYFXkc4nA1DOgTU5olWkVgfE+KiPFkq6aXdHgPotfMQJDjQyLJHY7pkfOplvhXCBngs4gCO9c2N1AONmc21nkSIA0+Z4mcwhaGA0obYAcGFE8JHmIOMHJSGh4vUQRpMBIMdoUCaGqYezGAW4kPIpZAWro39wgVC3OHgyI04CrPkK+1YDtk1vdLv8nCTbLwLrXeEY7T573TBU+6+l5mdJo58vQHpxa8G9iErN3I5lmmDXoSIUrPnb6tZBrVVHVaJ4RxqaHv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BisiwmSQH/4Wab/a5WQPz9r2LnMvuw27UuD6Tu8GL0jtBpl5Zz221SmexacFTLtr/eZJiUnmB0PPTFJ395CFZGCtVAE7z2AZ0ZIFvu9zMvcikmLMqxGYXQ9EVXmLQb65Qa/OxmFiNMhlIwCxEV2bcKxWJIsrYAOkBgiVSkL5X0GY2hO0R2VUmsAesmRbcbsU61o9AIcdeGlwWmak0IPX6eKxFfJ4GL6clKhvLwxFOsbQsbMFtVR2rOxNtUTCWCpPMoRrnLybdwNPE7VJqZCzbOzJWedVK/W+nfH3o8/uauv5kCGpnUCxsNqVwukfzfqBRYGRmEq1FDSjbmdEyowM20mbzE7ermvRnDK8WAhgy5LSYZTGltMxDhS6BYXNmMJ5OSccGG1pdq41uzkA7dPPhXbTib0biylW1uFMG94lNlUG2jXvOntmIssBf321hmjPr2Z2wReHq1DVUjNld3ZjcwBUdPs4QWAwLkT3iL8bs4z1MPAjk4biJwhQAYbAl/OdLKoFrxom9E4Orm4iYE0jxxsm0dZNWUX57UUkeo7WI9p7VrBf7a8uaJXJvHNqNzJT2+4STR9eGzcviCiEMQizlPa24ngOkKLviZcTUvn/VWvqFHVV5ZGHU5xetCIF2dVdXrCqdaraAavXaYXg3Ram2xce4uJe0pOE6/GaC0G82VKS6A9F6lVMoftxugdy4DZXSS0OvYUgoGKsIJRZeYnXyhMfnARM35LKWeKcV8SikLTxCgc1zQiGWOs4Rg8gRstwJSZFfFMXweRVSaqU7Ui58XFMleCpyO7gv2Rc4pOBqDkhTZ/YeYFqHI4A/T36eWzSVsn/QaKH9DUCTMmZHaYBrm90yYW+N7++VdwuG1PwnxROmXHvVtB82HWlZY23jcpaTa9+1/e/Lt/wDGHvC+",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "t3QtBnsLOsS6KCk2fqZ9qR6/3MIcFwTnZ58r3oRbzYs",
  "workflow" => true,
  "workflow_id" => "019ddeb5-1269-7729-8f78-bf6b17982ea7"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Treat this as routine hygiene. Review the experiences above and keep only the ones that are still needed for niche domains, internal demos, or legacy onboarding paths. If an experience is no longer intentional, unpublish it now to reduce clutter and avoid accidental exposure. If any should stay live, consider renaming or documenting their purpose so they are easier to distinguish in future cleanup passes.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 4ecf0821-3e8e-4823-bcc2-24c5b9ceda03 named HELP Slider. This is a routine hygiene cleanup for an inactive published experience with no activity in the last 30 days.",
          "title" => "Unpublish HELP Slider flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 4ecf0821-3e8e-4823-bcc2-24c5b9ceda03 named HELP Slider."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID 14eb1485-fd1d-496d-ae72-84f962057235 named Premium Support Flow. This is a routine hygiene cleanup for an inactive published experience with no activity in the last 30 days.",
          "title" => "Unpublish Premium Support Flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID 14eb1485-fd1d-496d-ae72-84f962057235 named Premium Support Flow."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -Lk9gwEQUvo81LAaAeUP named Admin Login. This is a routine hygiene cleanup for an inactive published experience with no activity in the last 30 days.",
          "title" => "Unpublish Admin Login flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -Lk9gwEQUvo81LAaAeUP named Admin Login."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -Lk9lv1t-QnId9OFz5xC named Member Login. This is a routine hygiene cleanup for an inactive published experience with no activity in the last 30 days.",
          "title" => "Unpublish Member Login flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -Lk9lv1t-QnId9OFz5xC named Member Login."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -Lk-Wn7An04zfWOxMlro named Admin Login Screen. This is a routine hygiene cleanup for an inactive published experience with no activity in the last 30 days.",
          "title" => "Unpublish Admin Login Screen",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -Lk-Wn7An04zfWOxMlro named Admin Login Screen."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -Lk54KCbG5WvrU9xdcT7 named Try Now - Member Application. This is a routine hygiene cleanup for an inactive published experience with no activity in the last 30 days.",
          "title" => "Unpublish Try Now application",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -Lk54KCbG5WvrU9xdcT7 named Try Now - Member Application."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -LcXvWwDV3cuyESV8p_w named iframe test. This is a routine hygiene cleanup for an inactive published experience with no activity in the last 30 days.",
          "title" => "Unpublish iframe test flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LcXvWwDV3cuyESV8p_w named iframe test."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -LbdW3GPKoqE5r2Z_tAM named Dashboard Checklist. This is a routine hygiene cleanup for an inactive published experience with no activity in the last 30 days.",
          "title" => "Unpublish Dashboard Checklist flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LbdW3GPKoqE5r2Z_tAM named Dashboard Checklist."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with ID -Lb93afb_Fq_u5HJcka- named Organization Profile Tour. This is a routine hygiene cleanup for an inactive published experience with no activity in the last 30 days.",
          "title" => "Unpublish Organization Profile Tour",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -Lb93afb_Fq_u5HJcka- named Organization Profile Tour."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published checklist with ID -LbdZhzRELAOE-dc4r0g named Dashboard Checklist. This is a routine hygiene cleanup for an inactive published experience with no activity in the last 30 days.",
          "title" => "Unpublish Dashboard Checklist checklist",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the experience with ID -LbdZhzRELAOE-dc4r0g named Dashboard Checklist."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Cleaning up inactive published content should reduce operational clutter and lower the risk of outdated demo or legacy experiences being shown to users, improving ongoing content governance.",
      "finding" => "I reviewed published experiences that were **published more than 3 weeks ago** and found **10** with **no Appcues activity in the last 30 days**.\n\nThese are good candidates for routine cleanup review:\n- [HELP Slider](https://studio.appcues.com/flows/4ecf0821-3e8e-4823-bcc2-24c5b9ceda03/settings)\n  - Type: Flow\n  - Designed to provide an **admin quick guide** on **/crm/home** for a specific segment, with help-center links and a video.\n- [Premium Support Flow](https://studio.appcues.com/flows/14eb1485-fd1d-496d-ae72-84f962057235/settings)\n  - Type: Flow\n  - Designed to promote **free premium support after launch** on **/crm/home** for three specific domains.\n- [Admin Login](https://studio.appcues.com/flows/-Lk9gwEQUvo81LAaAeUP/settings)\n  - Type: Flow\n  - Designed to guide users through a legacy **admin login demo** on **trynow.member365.com/admin/login**.\n- [Member Login](https://studio.appcues.com/flows/-Lk9lv1t-QnId9OFz5xC/settings)\n  - Type: Flow\n  - Designed to guide users through a legacy **member portal login demo** on **trynow.member365.com/sharingnetwork/login**.\n- [Admin Login Screen](https://studio.appcues.com/flows/-Lk-Wn7An04zfWOxMlro/settings)\n  - Type: Flow\n  - Designed as an **event registration walkthrough** on the Try Now admin login path.\n- [Try Now - Member Application](https://studio.appcues.com/flows/-Lk54KCbG5WvrU9xdcT7/settings)\n  - Type: Flow\n  - Designed to walk users through a **member application demo** on a specific Try Now membership signup page.\n- [iframe test](https://studio.appcues.com/flows/-LcXvWwDV3cuyESV8p_w/settings)\n  - Type: Flow\n  - Designed as a simple **embedded iframe/form test** targeted to **tla.member365.com**.\n- [Dashboard Checklist](https://studio.appcues.com/flows/-LbdW3GPKoqE5r2Z_tAM/settings)\n  - Type: Flow\n  - Designed as a multi-step **admin onboarding/setup guide** for **tla.member365.com/crm/home**.\n- [Organization Profile Tour](https://studio.appcues.com/flows/-Lb93afb_Fq_u5HJcka-/settings)\n  - Type: Flow\n  - Designed as an **organization profile setup tour** on **main.dev.member365.com/crm/companyprofile/form**.\n- [Dashboard Checklist](https://studio.appcues.com/checklists/-LbdZhzRELAOE-dc4r0g/edit)\n  - Type: Checklist\n  - Designed as a **dashboard onboarding checklist**, but the published metadata is minimal and shows no recent enrollments or engagement.\n\nNone of these experiences have goals attached in the published rules/metadata that would suggest they are still being measured as active campaigns.",
      "outcomes" => ["engagement", "retention"],
      "priority" => "medium",
      "title" => "10 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Created 1 hygiene-focused issue insight covering 10 published experiences that were published more than 3 weeks ago and had zero activity in the last 30 days. Added direct unpublish actions for each eligible experience."
}

Errors

No Errors