25353391 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 05:40.393
Run Time 01:04.209
Inserted 1h ago
Scheduled 1h ago
Completed 1h ago (01:05)
Cancelled
Discarded

Args

%{
  "account_id" => "109151",
  "account_insight_agent_id" => "f52a71ac-bc87-4f84-a83c-4f4347b67fcb"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "eYL6eKNz7Lws6UyyRxr481nVrM1NhJANzb6nX1FFnAE",
  "recorded" => true,
  "return" => "g1AAAA2IeJzNV9tuGzcQdRKnTRwUfSj61BfCT41qybIiX+LHOEkRIGiBInkqCoHmzu4y5pILkquN/qYfUPQX+jv9jJ7hri5JnFpAgLSAYO1S5MyZM4cz47izs3O7vWtdpFDh+fcLTzJSJo5EuSg0WRLaBl2UUSg3J69tISaibi6NDiW2tXQpcuPaIJzJyItYSiseYZmuwkg8e6tMk2FbLElYarFhfZSPiUtSsglwEkUrw6ZhHUtt00EjQ1zZbL/q8YRZJqM0wHwr4s8DRv9AqqidndVGWrzf+vkXmmtqRVsSDDE6gi9prWusoops7MGHqI0Roalr5yM2CDY0J+GdMa6JwuGsl9py+JYoG4kXuQBpB6KxPWY2XonohKesUSQQeYzwiSAWrvHCsD16W4NDgnOsz+Hf+QXcZeKKqBbOmoVQjff44QBc+NoFyhsD6m1ksB2q5Jx0iqgDXkl2FQ54Y9CcB0+5p1AyXh2DiNIXFPkNkcgs4ycpCicRtBN5ExtPAtBy5yuZ0AVBMmjmzAmaS9NAFSPm+MuO48DM32bmd3n1joqSv++/XvLBb1/U3lV15FR88xrMczaxBH7ibEn2isDZBjnROcOe32H3GtkJKyu87v+EJL907koMxbNQI3JEdSHrEd5fkgUh+0lQm/y/eCoUySPK1WR4lMvpcEoTOZQTmQ9PJyenY3WsTuTj05F4VYIMfCTU0IBDWt0MZUjaphY5k2qR0V41a5wb/q65H0zR3aijIX56uKJOGCqkWuCLoX+o1yT1xmZutuJ354+P8fsv7HraZPczcrq9bL79r2TzxHnv2o8EeUxTdTY9ORo+OssyBHk8Hj4+OZoOT7Px+OxEnk2n2dnnE84PHwjnsge/nXT+/JzS+XRe3zDmexDOLNLbFMB3fZlf8bi2mprafUSv42Kms/aO1SZx0C/FRU2rxa/5nEL3m+mqhile++uCc8X1EvlaObiuhZSuMRlK8RV1BX+dTCYzd0a7jZqKMisLSrW/bxhMpCpT9XW5gGKy1IgrsCcLBgAeG59LheeDZa/i9UtKjYZsAYsJUcGt2rKprmTn2nLJx/Pu369SD+xEdZ3eoFf0gsK5TCig04wiJKUuVdyr93xvbyh+vbFK/PZ9GWMdzg8PQ2wy7UayrlVDYaRcdZioO9ymZhwGRIkYwsM9AduvkLdz8RzH0+tTwkxgedBwq9zwveu6INb7UrohtyS/NblGI2+Dwf5zPsCzijCICjxD0WiQNjU9aaCZ/cEgpU2myxB1zalv2QbGDFDHSIagCh3c6zlfxxq5V4uDdAqZqgJGhzYNBKMumGV3Pk+mMEslEVjgOeyAwyVnYDAIMcEdUc+1krXGFDRiImunbRwpDCzZYHCAzRnNt9nIsAaD5Vj1wQnkaTDogP6IgSGcAz2rwNlcF5gbstFNQlje+S2ksE0F+EQprIrj+2LgC5jSvbUMOvnQe3JI9KaKETCUMY5+/F1JA0aVZEs353+J9v+ugCcODLas/3VRSRFMxpPpcPxoOJmwp5DIWIA5iokWpi/XJqZmlYlSorpeEtluXjYONBKSWJRd10l1nv9RkOhPjmdwDKxmM5V9j02F7x64BnjqhlVe2VtXydQZPPFgjUx0XQU31nkkN00haGW6qd7ttReTjxTNBLyUGRB1YzqspIxVzlPfvccik4uue+9y40mmdQgNvfkHp2agIw",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "QVEZP3WpraEtK1lnfEvRlFVA9+8K68ykBtGXgiHadpo",
  "workflow" => true,
  "workflow_id" => "019ddea7-5791-7fa1-ab90-bfd045c27c57"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight covering 2 published web flows older than 3 weeks. Excluded the newer published flow because it was published within the last 3 weeks.",
  insights_data: [
    %{
      "action_plan" => "Review whether these announcement flows still support an active rollout or training need. If not, unpublish them to reduce clutter in your live experience inventory and keep only current, purposeful content active. If either still matters, consider refreshing its targeting or adding a goal so future performance is easier to evaluate.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"New Look - Espresso Cap. - Lender\" with experience ID cea1efc2-1fa4-4e2a-a2af-72670c5c6a97. This is a routine hygiene cleanup for an inactive published experience older than 3 weeks.",
          "title" => "Unpublish legacy lender announcement flow",
          "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"New Look - Espresso Cap. - Lender\" with experience ID cea1efc2-1fa4-4e2a-a2af-72670c5c6a97."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published web flow named \"New Look - Espresso Cap. - Borrower\" with experience ID 5e4c8461-38dd-4e50-9614-7d0086a844d8. This is a routine hygiene cleanup for an inactive published experience older than 3 weeks.",
          "title" => "Unpublish legacy borrower announcement flow",
          "undo_prompt" => "Use the product_support publish_experience tool to republish the web flow named \"New Look - Espresso Cap. - Borrower\" with experience ID 5e4c8461-38dd-4e50-9614-7d0086a844d8."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Cleaning up inactive announcement flows should make your published portfolio easier to manage and reduce the chance of outdated messaging resurfacing, supporting better engagement governance.",
      "finding" => "These older published experiences are good candidates for routine cleanup:\n\n- [New Look - Espresso Cap. - Lender](https://studio.appcues.com/flows/cea1efc2-1fa4-4e2a-a2af-72670c5c6a97/settings)\n  - Type: Flow\n  - Designed to announce a refreshed lender experience with messaging like **\"Fresh new look, same functionality\"** and a tooltip showing where sign-out, privacy policy, and terms now live.\n  - Targeting: shows once on **/lender** for **staging.espressocapital.flowpoint.cloud**, **dev.espressocapital.flowpoint.cloud**, and **insights.espressocapital.com**.\n  - Goals: none configured.\n\n- [New Look - Espresso Cap. - Borrower](https://studio.appcues.com/flows/5e4c8461-38dd-4e50-9614-7d0086a844d8/settings)\n  - Type: Flow\n  - Designed to announce a refreshed borrower experience with the same **\"Fresh new look, same functionality\"** message and a tooltip pointing users to the new sign-out location.\n  - Targeting: shows once on **/borrower** for **staging.espressocapital.flowpoint.cloud**, **dev.espressocapital.flowpoint.cloud**, and **insights.espressocapital.com**.\n  - Goals: none configured.\n\nBoth were published on **2024-03-22**, so they meet the age filter and have been live long enough to review as part of normal experience hygiene.",
      "outcomes" => ["engagement", "retention"],
      "priority" => "medium",
      "title" => "2 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors