25364889 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 10:59.895
Run Time 01:37.829
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (01:38)
Cancelled
Discarded

Args

%{
  "account_id" => "209292",
  "account_insight_agent_id" => "00ec9035-9d04-4bde-8213-c68431a875e7"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "wyVUPGqUBIS2oidUaP3rXIUzooAXmdAfWTF7Yw2tlgw",
  "recorded" => true,
  "return" => "g1AAABQseJzNWMtu3DYUdV59OCj6Ad0waAEnA2s8modnJkW7sREkQFAEgbMKigElURJjiVRJypPJr/QLuu+q2/xC/6A/0nMpeSwX43ZSJE429oiiyHvOPZf3XrqdnZ2byztKO2FL/P71yAjuRMJClq8yKZRgUlmZ5Y7F+kwYqTI2ZlUdFdLmmFbqSBaCpYVeWqaLRBjmcq7YiC2FOLVsKV3O3gijGY+dPJNuhfUwRbCCW8dGA5bwle2znzQzIhbKsaSuChnDhvXG4rW0MKm//KodsYuEO17A3BsOf+6S4Xdpfa0WVcEVnm+8PSEg2Elaxi0zunYSYGKtHO3Sguuz5+JMiqW3KNW1wWYVUAoVC3wXATLjKmGnQlRMq2LlJ2qFl4DpmHWyKJitq0ob10AUrLZg4RUWUwLQdnfDPnuhWsqw2qqzB3MSJDqwA/hOGjzEvKy4zNQ+g8mJ9wWvKgbuLfBh1NB+eBIJXmkVaW4SckvFXd7fHfbZkxS7dDcBBa2hzmDBDPQWgCJLsport4/NPQvSARc3GUzBggTcGZllgGPqgjBrIjCVpsRUWKradX+peSHTlUcOxCOiNc5FfHrhdZ66dhlWVwTLskik2gjPLW2HFQuir9AqCzC57JNfP2/8asnbt8nbt2n0Vuw4/f9yTSw9fVYZXVaO3P/yhRXeVxhK6tgt1j7KyP0eGt7W558vuj7RuiCo65fNQps0zxQvMbJ3xA0E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8+OH/l+OtLUORMH/y8/bs/RNjnzHTgyNaQNVsq6cDKwTlSs8ggA4E0DgESQQlQBOnle4FyyoihAEdmzj3hy/khvNcbOpHHo5VkkdWZ4lcMDtAC3pzRjSVce+JXQedQQ7jMy3XcsOUUsXRD4C6RuTG4+1bcnbZuT/h1IszmlnX8EIrHYzYV0agEnTjCYjTRHQMuLuOSeU+Y5bTO+z2aU9gur19c6TXAfi1K3LOga8nFYPdP40icnHOyALPwNx00a2RUqw5YlQtsnJCMoacCZTTLz4Yt05MsnJE9Zl5fz/NEVJzGKC+rNkWJUp75AmHSrh/ZCrvTXLWDRLy2trcWrvwHm1ddF",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "146Xy3CoJRg8nhke+oKQdqGHLl74fy/QslVnLqs9np0",
  "workflow" => true,
  "workflow_id" => "019ddeb9-a593-7016-a0a8-95590867252d"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight covering 4 published mobile flows older than 3 weeks with zero activity in the last 30 days. No recent duplicate insight existed.",
  insights_data: [
    %{
      "action_plan" => "Treat this as routine content hygiene. Review the four experiences above and keep only the ones that still support active user journeys.\n\n1. Unpublish any experience tied to a retired campaign, outdated app version, or superseded onboarding path.\n2. If an experience is still strategically important, review its targeting and trigger rules to confirm it can still qualify users.\n3. Recheck activity after rule updates before keeping it live long-term.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published mobile flow named 'Carte Retracer Histoire (non abonné)' with experience ID '0c21aff8-7099-4c4c-8886-5e21e13f9a14'. This is a routine hygiene cleanup because the experience has had zero activity in the last 30 days and was published more than 3 weeks ago.",
          "title" => "Unpublish inactive history card flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the mobile flow named 'Carte Retracer Histoire (non abonné)' with experience ID '0c21aff8-7099-4c4c-8886-5e21e13f9a14'."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published mobile flow named 'Livre Famille (v.1.31)' with experience ID '32f0f814-00e1-4976-9201-974015a16e79'. This is a routine hygiene cleanup because the experience has had zero activity in the last 30 days and was published more than 3 weeks ago.",
          "title" => "Unpublish inactive family book flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the mobile flow named 'Livre Famille (v.1.31)' with experience ID '32f0f814-00e1-4976-9201-974015a16e79'."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published mobile flow named 'Personnalisation Parcours Payant 4 (version >= 1.28.5)' with experience ID '953325b6-ef4b-4b26-a795-f51f7055150a'. This is a routine hygiene cleanup because the experience has had zero activity in the last 30 days and was published more than 3 weeks ago.",
          "title" => "Unpublish inactive paid path flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the mobile flow named 'Personnalisation Parcours Payant 4 (version >= 1.28.5)' with experience ID '953325b6-ef4b-4b26-a795-f51f7055150a'."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published mobile flow named 'Carte Livre pour non abonné' with experience ID 'be75c9c0-1180-4fc7-b5e9-7ebe0893a1da'. This is a routine hygiene cleanup because the experience has had zero activity in the last 30 days and was published more than 3 weeks ago.",
          "title" => "Unpublish inactive book preview flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the mobile flow named 'Carte Livre pour non abonné' with experience ID 'be75c9c0-1180-4fc7-b5e9-7ebe0893a1da'."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Cleaning up inactive published content reduces maintenance overhead and lowers the risk of outdated experiences resurfacing if targeting changes, while keeping your live experience inventory focused on active adoption journeys.",
      "finding" => "These **4 published experiences** are all older than 3 weeks and recorded **0 seen events and 0 completions in the last 30 days**.\n\n- [Carte Retracer Histoire (non abonné)](https://studio.appcues.com/mobile/flows/0c21aff8-7099-4c4c-8886-5e21e13f9a14/settings)\n  - Type: Flow\n  - Designed to: prompt non-subscribers on the **Home** screen to start tracing their family story, after entering a related journey and before completing a prior guided tour.\n\n- [Livre Famille (v.1.31)](https://studio.appcues.com/mobile/flows/32f0f814-00e1-4976-9201-974015a16e79/settings)\n  - Type: Flow\n  - Designed to: offer users ways to **print or export a family story book** with format choices like printed book, PDF, or both.\n\n- [Personnalisation Parcours Payant 4 (version >= 1.28.5)](https://studio.appcues.com/mobile/flows/953325b6-ef4b-4b26-a795-f51f7055150a/settings)\n  - Type: Flow\n  - Designed to: run a **multi-step personalization and free-trial upsell** flow, introducing the virtual biographer and asking what kind of story the user wants to create.\n\n- [Carte Livre pour non abonné](https://studio.appcues.com/mobile/flows/be75c9c0-1180-4fc7-b5e9-7ebe0893a1da/settings)\n  - Type: Flow\n  - Designed to: show non-subscribers a **book preview** and encourage them to start a free trial. This flow is also tied to the **Demo Livre ouvert** goal.",
      "outcomes" => ["engagement", "retention"],
      "priority" => "medium",
      "title" => "4 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors