19944825 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:00.014
Run Time 00:49.906
Inserted 19h ago
Scheduled 19h ago
Completed 19h ago (00:50)
Cancelled
Discarded

Args

%{
  "account_id" => "101559",
  "account_insight_agent_id" => "7e56e99d-cf2e-4d15-b358-98de402fada8"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "6fzDoobyBtaaCRnUmr8iLrMuztK96P6zjH7bjkxP7og",
  "recorded" => true,
  "return" => "g1AAABObeJyVmMGOG8cRhuVYThwJQV6hDzGgJZZckruWJRlwIBiQE0SWBMmBEwjCumemyWnvzPS4u4fU2AigQ/IECQIESG655V1yjq9CHiT/Xz3D5XqlWL5I5HCqu7rqr6+qN165cuWt7c9sE+y6jOG00FFXeHY14p9rNf65rvNoXXPaVrrB97f+uZipx6bocqPM89aFzhuV9apyW+Nts1aTSdB1W+HjZKJuhKh9VFsbS7WYv3zx5+P5ewdKN8WR88o2uTc6DEal2yq91rZRehWNp3Hu6to1Va+OaXp7rgrdB7WC6YNHTw5m15YzdbcosBzsdVdY08CptY4GxsHxJSXm8GFtYlBdMD6obemUhtOhW61sDqOIV16++DvPuYFx8fLFP9QNM1vPDlWpN4ZmhTozvVoZHXHcoOABPM9LI5vrPHddE+G9UbHE76WrCrh3PFO/Mabl2nfDmaqNqrC85/Km0VllikOVdRFfJIixNMptjNdVpXJdyGFCtPjWerOBmzi6N191+ITdp613dYtnEi0VGue+loxYODBj4t7Noz6N5nncvt3Yik9+ClMb+1Nb8NsvtJlnq8VyOZ0v53p6kmfzqX6/OJneym/PdV7o5fKWvHh9MIt9a/j97aYN/P/n2M3kCNiprVtEj8+296kDxNZvGDAd7bozTLgqITDjp191usJiiKUpMp2ffahg7HHuAhJq1lMcpsbxQuuaYJRHwIKY144piwybJDZ6g6fRYwkISA78k5VtCnyhSj9B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aFNVmzQQ2qHPLaYCo8y3WCVcEQjTI2RWBwubl3Dv5rM1GelDQK7wHSWEC67nVM8pXBUpjkUS3U4/j1oaH9srGmCHOCzG4tl/mXKU1cJ3B2T6raRu7DOnN+7CVzCzLu6cO0bQebHtSlsV1/EzMOPIchG4VIzBIQuDNUtN1cZXJAzW2BRtI5Kdw2Uml4MrWH+W7rvd6h75RT25f8AK0vNtg",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "IwhZ413a6/WogeKGiCu55fss4vru2lrtAY3Ua9BAIWY",
  "workflow" => true,
  "workflow_id" => "019cc493-1a47-7951-850a-c8602e3fe3f1"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "1. Reduce exposure by lowering **sampling** (start with 10–30%) and/or increasing **show again after** (commonly 30–90 days for NPS).\n2. Add an **audience gate** so NPS only targets users who are sufficiently “activated” (e.g., have used key features or reached an account age threshold).\n3. Keep “Ask me later” enabled, but ensure the overall cadence still prevents frequent re-prompts after snooze expires.",
      "cta_text" => nil,
      "entity_id" => "ae0bf122-020a-4cb0-a5d4-8c90acda228d",
      "entity_type" => "nps",
      "expected_impact" => "Lower survey fatigue and higher-quality feedback; improved long-term response rates and more stable NPS trend tracking.",
      "finding" => "“My new NPS” is set to **frequency: every** with **show again after: 1 day** and **100% user sampling**. It will show to any user with **_sessionPageviews > 0** and whose last NPS collection was **more than 1 day ago** (or never collected).\n\nThat combination can create survey fatigue and reduce response quality over time.",
      "outcomes" => ["retention", "engagement"],
      "priority" => "high",
      "title" => "Your NPS survey is configured to reappear as often as daily for 100% of users",
      "type" => "risk"
    },
    %{
      "action_plan" => "1. Limit targeting to **true onboarding entry pages** (e.g., first login / first key page) instead of all URLs.\n2. Replace the “recent content in last 24h” gate with a clearer onboarding signal (e.g., “new users”, “has not completed Goal X”, or “first session”).\n3. Add (or confirm) 1–2 **activation goals** tied to the flow’s intent (e.g., complete setup step / reach an “Aha” action) so you can measure whether the welcome message actually drives activation.",
      "cta_text" => nil,
      "entity_id" => "eea5a128-ba32-42ac-aedb-bcb6c97d9a22",
      "entity_type" => "flow",
      "expected_impact" => "Higher onboarding relevance and better activation lift (fewer users seeing the welcome message at the wrong time).",
      "finding" => "“Welcome on my Netfly site” targets **url regex: .* ** (all URLs) on **two domains** and can trigger for users who’ve seen another piece of content within the last **24 hours** (a “recent content” condition). While it’s capped to **once**, it may still feel random if users first land deep in the product rather than at a true onboarding moment.",
      "outcomes" => ["activation", "conversion"],
      "priority" => "high",
      "title" => "Your welcome flow is effectively eligible on every page of your site—tighten entry points to improve relevance",
      "type" => "opportunity"
    },
    %{
      "action_plan" => "1. Fix/remove the incomplete personalization token and verify any dynamic variables render correctly.\n2. Reduce frequency (e.g., “once” or a longer re-show window) and add an audience rule so it targets only true new users / first-time viewers.\n3. Publish the draft goal changes (or add goals to the published flow) so you can track whether the flow drives the intended action.",
      "cta_text" => nil,
      "entity_id" => "2236b83b-41bf-4fd1-a784-e6b5c64b2eb2",
      "entity_type" => "flow",
      "expected_impact" => "Less mobile experience fatigue, fewer confusing/buggy impressions, and clearer measurement of activation impact.",
      "finding" => "“first mobile flow” is set to **frequency: every_time** for the entire app (no additional audience gating). Also, the modal text includes what looks like an incomplete personalization token: **“Ready to make your workflow simpler, {{ user_alias ?”** which risks showing raw template text to end users.\n\nAdditionally, the **draft** version has a **goal** configured, but the **published** version has **no goals**—so success may not be measurable today.",
      "outcomes" => ["activation", "engagement"],
      "priority" => "high",
      "title" => "Your mobile onboarding flow may show every time—and may display broken personalization text",
      "type" => "alert"
    },
    %{
      "action_plan" => "1. Create a simple naming convention (e.g., `[Stage] [Persona] [Goal] - [Surface]` مثل “Onboarding New users - Welcome modal”).\n2. Archive or delete stale tests/duplicates; keep 1–2 “sandbox” items explicitly labeled as such.\n3. For key drafts you intend to ship (e.g., the “Primeiros passos” checklist), give it a clear title and align each checklist item to a measurable activation step.",
      "cta_text" => nil,
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Faster content operations and lower risk of unintended user-facing experiences.",
      "finding" => "Your account has **14 draft experiences** including duplicates like **“test123”** and generic names like **“flow-123”**, plus older drafts (e.g., pins/banners/flows) that appear unused. This makes it harder to find what’s real, increases the chance of publishing the wrong item, and slows down collaboration.",
      "outcomes" => ["adoption", "engagement"],
      "priority" => "medium",
      "title" => "Clean up drafts and naming to reduce accidental launches and speed up iteration",
      "type" => "opportunity"
    }
  ]
}

Errors

No Errors