25354103 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:01.453
Run Time 00:50.437
Inserted 3h ago
Scheduled 3h ago
Completed 3h ago (00:51)
Cancelled
Discarded

Args

%{
  "account_id" => "215549",
  "account_insight_agent_id" => "db41de5a-9340-492f-be3e-fa242627391c"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "2O7mRH2ipTdRSQjtyggUoFQYHkUqwp5Gup0dS3KvaDY",
  "recorded" => true,
  "return" => "g1AAABBmeJzNV92OWzUQ3v5B2QrxANxYrUAQJdkkm/1J77atihYqhFB7gRAKjj0ncdexj2yfTcO78A7cwStwzQvxjc9JNot2l0igtje75zj2eOabb2a+k3Z2dm4v7jmfKM7x/OfTQDKRFn0xW04NORLGRTOdJSGLREEEOje0MG4qympiTZxhL70pKWCvoii81diVZtKJQV9ouYxd8dxXTot9WJIqmXPaODr3E2NJFNYvoliYNBO/UPAi7zNpiSOwRcLKmMR+L9sTEsZkSlKxAW0CqSQq19jMR72L3cXHjeNxrGWSFsHdSvjzgMN8UO8al1Y6vN/6+fsclljMCNex/xRXXsVkrBWxKksfgIKwHIF3Ey+DzjjINOuK04IPLYUMJJwX1rsp7JQSR3z+CaEkcvoSXO0Nv7FlLpIXZ0SlWPoqbKBk3Dm55MNSKEtAlhEIpCtF2bIC2njEPb5KOqdvWhmdF2VZkgzwM7so3VLEma8sn59LoMvRtIUCYoYTdw7PiiWHBcMGQAQz5UCwQZsMbL4cOAWqAy5MWmVJVSHAz01wXiMQR8sug/5hkxpOxR1OxV1evaOS5P8fvVpBwW8flMHPy8S5+eZVrMPEEkJO43UqpnwZu8O/rpEcX+ALPL1lUC/BfDX9avZtnD19JkgfjlT/eNJRRY86w4EadOSBok5PHw3oWA5GVBwIJ+ew9PDUAR9pxQs/Na4jTrQWP3AW8e4fdsXLmYmb1mdS11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an55Xj7dv6YLzuR5PdE3GxzX7dzn70AE3LS47NpdHiHZNOZ8Ra//BvlAlWQ",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "S44vT1aM9Vd7DPCSHT4R6WnRwz9/1AyKKQYgZYzLStQ",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a7-77e8-abe8-166b589a3357"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight after reviewing published experiences older than 21 days. Found 3 inactive published mobile flows with zero activity in the last 30 days and attached direct unpublish actions.",
  insights_data: [
    %{
      "action_plan" => "Review whether these flows still support a live onboarding path. If they are no longer part of the intended experience, unpublish them to keep your published inventory clean and reduce the chance of outdated guidance appearing. If any should remain live, consider verifying their trigger conditions and where they fit in the current onboarding journey.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published mobile flow with experience ID ed69c18b-cf0e-42c2-a5ce-0d72e8a29ef5 named \"Initial Login- Add Your Logo\". This experience had zero seen, completed, dismissed, and error events in the last 30 days and is part of an inactivity hygiene review.",
          "title" => "Unpublish inactive logo setup flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the mobile flow with experience ID ed69c18b-cf0e-42c2-a5ce-0d72e8a29ef5 named \"Initial Login- Add Your Logo\"."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published mobile flow with experience ID cd218b81-9d08-4aa3-8019-c40cefb7b499 named \"Initial Login- Lic #  & Ins\". This experience had zero seen, completed, dismissed, and error events in the last 30 days and is part of an inactivity hygiene review.",
          "title" => "Unpublish inactive license setup flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the mobile flow with experience ID cd218b81-9d08-4aa3-8019-c40cefb7b499 named \"Initial Login- Lic #  & Ins\"."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published mobile flow with experience ID f41026f6-8dbc-4603-897b-e547ca15010c named \"Go Back Add New User\". This experience had zero seen, completed, dismissed, and error events in the last 30 days and is part of an inactivity hygiene review.",
          "title" => "Unpublish inactive user invite flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the mobile flow with experience ID f41026f6-8dbc-4603-897b-e547ca15010c named \"Go Back Add New User\"."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing unused experiences can reduce content clutter, simplify maintenance, and keep onboarding focused on the experiences that still drive activation.",
      "finding" => "As part of routine cleanup, I reviewed published experiences older than **3 weeks** and found **3** with **no activity in the last 30 days**.\n\n- [Initial Login- Add Your Logo](https://studio.appcues.com/mobile/flows/ed69c18b-cf0e-42c2-a5ce-0d72e8a29ef5/settings)\n  - Type: Flow\n  - Designed to guide new users through adding a company logo in the mobile app. It targets the **Agilio Prolink** app and includes steps for opening the menu, navigating to **Business Profile**, replacing the logo, and saving it.\n- [Initial Login- Lic #  & Ins](https://studio.appcues.com/mobile/flows/cd218b81-9d08-4aa3-8019-c40cefb7b499/settings)\n  - Type: Flow\n  - Designed to help users add license and insurance details. It is triggered after the onboarding click event and walks users through adding license info, insurance documents, and saving the record.\n- [Go Back Add New User](https://studio.appcues.com/mobile/flows/f41026f6-8dbc-4603-897b-e547ca15010c/settings)\n  - Type: Flow\n  - Designed to coach admins through inviting additional users from the mobile app, including opening the menu, navigating to **Users**, entering an email, and sending an invite.\n\nA fourth older published flow still had activity, so it was excluded from this alert.",
      "outcomes" => ["activation", "engagement"],
      "priority" => "medium",
      "title" => "3 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors