25363938 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 08:39.228
Run Time 01:26.544
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (01:27)
Cancelled
Discarded

Args

%{
  "account_id" => "33333",
  "account_insight_agent_id" => "f387f8cd-d952-43fd-ab92-98e2ddcd42a3"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "pmKP5V5JX1uTWZxm9QYZG76AIVJrS+l+g5MNyXCYaLI",
  "recorded" => true,
  "return" => "g1AAACWkeJzVWt1y47YV9iabNHUm08vONNMMclO3GlE//t04V7t27HHXdlz/7MTb6cgQCZKwQIIBQMvci06n7bRP0D5E36pP0Yve9ByAkrWSbFNrNfHO7NoiBQLnfN93DnAObRYWFj7of8ZTzaPY6E5ADRVw74mBH58m+IP6hsu0kwmawvWTv5wqRg0xMdeEaqJkbnjKiC9Tw1JD4iLiLGUNcsyuOOuTfsxMzBSMZ5qRUMi+JtpwIYjOs0wqQ2haEMGvGJFpV1IV8DQiEh5QlKf4OaMmbpC9EKcoSCqJkGkEMyY0I0bC4wQthOf7UvVwgTrJ0yzvCq5jfCbBUT3GMlLIXJHyGxYQzcANHhQwRUAUC3Kf4XjixzSFjzIkUgQkynlgrxXTuQqpDzZZc9BuHctc4MMJGGu9qCMSmgdgIA2sL5GkQts1DGLMrFOGqogZ/KSlc8wHR7qMJIzCMmAdPoCzGvgPl4lUYJlgVImigbz8xPGika1FZOsp3v3QNxR///RsAAFefZwpmWQG6fvF2Sg2I2j0WdfSQ1KawOXSAU1jKRjZ4cIwpckhkLkDzINxS6TPTUzYdcYUkA3Y7G2TpfX19Y317kbLa1P4sbqyFnh0PQy9sLXmr7ZWnjG21l1qkFMUDmrnNukQ5xgJQQSACU9Lem9MtWaaGFQYgwJjGqAqNGOlErgp4CnrnqDakJUWCWjhKOjDAzcTwSrLreV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ulh6AbZypVCqrAMxPG28hz5ayEo7HPXuRg0IwCMr22R6a20bAVbTo6+WOig3pSJU6erbSEzD8vd4RplvUsFOBJAQYWdBSzAoU4FNIrG/wB1T7Nt",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "czmg/qR/2M22lhFE/8ggW9Uqh6Zq7UU/LtokWDbyQ10",
  "workflow" => true,
  "workflow_id" => "019ddeb9-a57c-7fc5-81f4-f2d2ced0465c"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Treat this as routine content hygiene. Review whether these flows still support any live onboarding or training path. If they no longer map to an active workflow, unpublish them to keep your published set tidy and reduce the chance of old guidance resurfacing. If any should remain live, consider adding goals and tightening targeting so they can be measured and maintained more clearly.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Unpublish the published web flow named 'Manhole Filters New Feature' with experience ID '66676b70-1a70-435d-a6ff-f05c4038ee5b'. This is a routine content hygiene action for an inactive published flow that has had no seen activity in the last 30 days and was published on 2022-03-24.",
          "title" => "Unpublish Manhole Filters feature tour",
          "undo_prompt" => "Publish the web flow named 'Manhole Filters New Feature' with experience ID '66676b70-1a70-435d-a6ff-f05c4038ee5b' to restore its previous live state."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Unpublish the published web flow named 'Manhole Tabs' with experience ID '-LZ0yml9bxY7ZYActSVy'. This is a routine content hygiene action for an inactive published flow that has had no seen activity in the last 30 days and was published on 2022-03-04.",
          "title" => "Unpublish Manhole Tabs flow",
          "undo_prompt" => "Publish the web flow named 'Manhole Tabs' with experience ID '-LZ0yml9bxY7ZYActSVy' to restore its previous live state."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Unpublish the published web flow named 'Manhole PDF Creation Slidout' with experience ID '-LYx4wBSG3dXvmIRNpy2'. This is a routine content hygiene action for an inactive published flow that has had no seen activity in the last 30 days and was published on 2022-03-04.",
          "title" => "Unpublish Manhole PDF guide",
          "undo_prompt" => "Publish the web flow named 'Manhole PDF Creation Slidout' with experience ID '-LYx4wBSG3dXvmIRNpy2' to restore its previous live state."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Unpublish the published web flow named 'PGM Tabs' with experience ID '-LZzmGerO0l6__egDNjY'. This is a routine content hygiene action for an inactive published flow that has had no seen activity in the last 30 days and was published on 2020-05-05.",
          "title" => "Unpublish PGM Tabs flow",
          "undo_prompt" => "Publish the web flow named 'PGM Tabs' with experience ID '-LZzmGerO0l6__egDNjY' to restore its previous live state."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Unpublish the published web flow named 'Manhole Navigation Tooltips' with experience ID '-LZV18LRlKh8lal83-u-'. This is a routine content hygiene action for an inactive published flow that has had no seen activity in the last 30 days and was published on 2020-04-12.",
          "title" => "Unpublish Manhole nav walkthrough",
          "undo_prompt" => "Publish the web flow named 'Manhole Navigation Tooltips' with experience ID '-LZV18LRlKh8lal83-u-' to restore its previous live state."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Unpublish the published web flow named 'PGM Dummy Data Confirmation' with experience ID '-LVw1AaXE79MqxdKruua'. This is a routine content hygiene action for an inactive published flow that has had no seen activity in the last 30 days and was published on 2020-01-26.",
          "title" => "Unpublish PGM dummy data modal",
          "undo_prompt" => "Publish the web flow named 'PGM Dummy Data Confirmation' with experience ID '-LVw1AaXE79MqxdKruua' to restore its previous live state."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Unpublish the published web flow named 'PGM PDF Creation Slideout' with experience ID '-LZzg-jccl5G7YRFpR_h'. This is a routine content hygiene action for an inactive published flow that has had no seen activity in the last 30 days and was published on 2020-01-26.",
          "title" => "Unpublish PGM PDF guide",
          "undo_prompt" => "Publish the web flow named 'PGM PDF Creation Slideout' with experience ID '-LZzg-jccl5G7YRFpR_h' to restore its previous live state."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Unpublish the published web flow named 'PGM Detail First Show' with experience ID '-LZzbcTNDwf5vZm_KyIi'. This is a routine content hygiene action for an inactive published flow that has had no seen activity in the last 30 days and was published on 2020-01-26.",
          "title" => "Unpublish PGM detail walkthrough",
          "undo_prompt" => "Publish the web flow named 'PGM Detail First Show' with experience ID '-LZzbcTNDwf5vZm_KyIi' to restore its previous live state."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Unpublish the published web flow named 'PGM Navigation Tooltips' with experience ID '-LZzqY1L1RomsyuQfctj'. This is a routine content hygiene action for an inactive published flow that has had no seen activity in the last 30 days and was published on 2020-01-26.",
          "title" => "Unpublish PGM nav walkthrough",
          "undo_prompt" => "Publish the web flow named 'PGM Navigation Tooltips' with experience ID '-LZzqY1L1RomsyuQfctj' to restore its previous live state."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Unpublish the published web flow named 'PGM List First Show' with experience ID '-LZzawGbpPlzp3TO4M_U'. This is a routine content hygiene action for an inactive published flow that has had no seen activity in the last 30 days and was published on 2020-01-17.",
          "title" => "Unpublish PGM list walkthrough",
          "undo_prompt" => "Publish the web flow named 'PGM List First Show' with experience ID '-LZzawGbpPlzp3TO4M_U' to restore its previous live state."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing unused legacy flows should reduce content clutter, make the published inventory easier to manage, and lower the risk of outdated guidance appearing to users.",
      "finding" => "A same-day account review identified **10 published experiences with 0 seen activity in the last 30 days**. A fresh metadata check in this run confirmed that all of them are still **published** and were all published **more than 3 weeks ago**.\n\nInactive experiences:\n- [Manhole Filters New Feature](https://studio.appcues.com/flows/66676b70-1a70-435d-a6ff-f05c4038ee5b/settings)\n  - Type: Flow\n  - Designed to introduce the updated **manhole survey screen** with tooltip guidance for filters, map/list switching, and batch export on the manhole dashboard.\n  - Targeting: `/dashboard/surveyData/manhole`, once per user, limited to a specific segment.\n  - Goals: none configured\n- [Manhole Tabs](https://studio.appcues.com/flows/-LZ0yml9bxY7ZYActSVy/settings)\n  - Type: Flow\n  - Designed to tour the **Manhole** data tabs like Data, CSV Import, Batch Update, and map-related actions.\n  - Targeting: broad URL match across the app; chains into follow-up navigation guidance.\n  - Goals: none configured\n- [Manhole PDF Creation Slidout](https://studio.appcues.com/flows/-LYx4wBSG3dXvmIRNpy2/settings)\n  - Type: Flow\n  - Designed to celebrate a user's first **manhole card export** and guide them to editing, audit trail, and returning to the list.\n  - Targeting: broad URL match across the app.\n  - Goals: none configured\n- [PGM Tabs](https://studio.appcues.com/flows/-LZzmGerO0l6__egDNjY/settings)\n  - Type: Flow\n  - Designed to tour **PGM** tabs such as Data, Map, Batch Update, Batch Export, and CSV Import.\n  - Targeting: broad URL match across the app; chains into follow-up navigation guidance.\n  - Goals: none configured\n- [Manhole Navigation Tooltips](https://studio.appcues.com/flows/-LZV18LRlKh8lal83-u-/settings)\n  - Type: Flow\n  - Designed to walk users through left-hand **product navigation** like Jobs, Map, Users, Company Details, Data Transfer, Billing, and Profile.\n  - Targeting: broad URL match across the app.\n  - Goals: none configured\n- [PGM Dummy Data Confirmation](https://studio.appcues.com/flows/-LVw1AaXE79MqxdKruua/settings)\n  - Type: Flow\n  - Designed to confirm adding **dummy PGM data** so users can explore exports, edits, and witness diagrams.\n  - Targeting: broad URL match across the app.\n  - Goals: none configured\n- [PGM PDF Creation Slideout](https://studio.appcues.com/flows/-LZzg-jccl5G7YRFpR_h/settings)\n  - Type: Flow\n  - Designed to celebrate a user's first **witness diagram export** and guide them to edit, audit trail, and list-return actions.\n  - Targeting: broad URL match across the app.\n  - Goals: none configured\n- [PGM Detail First Show](https://studio.appcues.com/flows/-LZzbcTNDwf5vZm_KyIi/settings)\n  - Type: Flow\n  - Designed to orient users on the **PGM detail page**, especially viewing data and exporting witness diagrams.\n  - Targeting: broad URL match across the app.\n  - Goals: none configured\n- [PGM Navigation Tooltips](https://studio.appcues.com/flows/-LZzqY1L1RomsyuQfctj/settings)\n  - Type: Flow\n  - Designed to walk users through **PGM-related navigation** including Jobs, Map, Users, Company Details, Data Transfer, Billing, and Profile.\n  - Targeting: broad URL match across the app.\n  - Goals: none configured\n- [PGM List First Show](https://studio.appcues.com/flows/-LZzawGbpPlzp3TO4M_U/settings)\n  - Type: Flow\n  - Designed to orient users on the **PGM list view** and prompt them to click into a record.\n  - Targeting: broad URL match on `localhost` and `kullatest.herokuapp.com`.\n  - Goals: none configured",
      "outcomes" => ["engagement"],
      "priority" => "medium",
      "title" => "10 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Created 1 hygiene warning insight covering 10 inactive published flows. Current run verified published status and publish age; last-30-day inactivity comes from the account's same-day verified review already stored in memory."
}

Errors

No Errors