20742064 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.012
Run Time 00:45.586
Inserted 3h ago
Scheduled 3h ago
Completed 3h ago (00:46)
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" => "g1AAABVleJydWF2PHEcVteOYOFgQIUUKEg8UKxBhtL3anV3ba3hAG0cEh8RYaxvBC6vq7tsz5e2uaqqqZzzJO3+ZFx4491b1zOxXbCNZs+6Z+rr3nnPuqY63bt36YPkTY4OZzWM4q3XULb67G/Fxv+MPXUXj7Fnfaovn2x+dUj1UpMLgF7RSjY5mNpAqV8pq793S2Jlazp0KREHFOalnz1+Mg7Wt1dwtlWsi2T11ombO1crSm6hCpF4ZzHCqdUvyMjXorm9JeR1pV3n612A8Ka06hz8daYu9mqFVQ9AzwgRPYe7aWpXU8Ag8yGlM3JWdja086UCydOUw0i2t6skbHCK4cUfCeuSD0ljCuqh0OKda6Zk2lkfhENV5u9rj3HyUchNe88O9KuqziFj44dNTWhhaSvBR+xlFnIR/+JhsNHF1Zmp++rWm/bI5mE6L/em+Lo6qcr/QD+qj4rh6vK+rWk+nxzLwfp4WVz3x8x3bB/77Cb3pqYpUn5mux2n4u39+IwkcK8OhVy2yhe8CL9PhQ3GhdxUmebfgJCF3PSIhxKdb7CTTWmdnRSTfKbIz5JhnpsAbY+sU0e2f/sMNXvVD2ZowR6a26o16BopcU64F/51MDvb3fzOZAAKKWjMzZTvme2niXDVcZbLVCiNpQX41maTipTGVtqhu5VCk9exUGQ1IefV6CJH3QHiYuadeoqTOtis101GgwJDUkUu9UnO9IIapTYDCDxZz91WPS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H3+1k28nfLrxdoLmElPzrx3gzV5BGhK/kxig9jll0S2R3+2XWluo2dDj3ezAPV2zAqeHH3rV8ANeYJOz1KtNOjtKW6+2bfGIi2vuAq+XdzGFpCX994lchGr1gLnfmNmQGgncbCB+NZfeP2YaeXEJjLaL8p/MJ59MrijQZ3qDI8qbnbzCnnrm+J6CHyFdFVs2XPQqcJy46gtcCTSjJrcR2Js2cA0ArMCcR2Khp7VOWtC4agjycmF8h7e7uZjurg1MbuUJEFsquprh3LT3P7O8QUc",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "IwhZ413a6/WogeKGiCu55fss4vru2lrtAY3Ua9BAIWY",
  "workflow" => true,
  "workflow_id" => "019ce8a4-3247-7ac7-ab3b-c3ccd172572b"
}

Recorded Output

%{
  notes: "Created 5 configuration-based insights after reviewing 17 experiences and checking for existing insights. No performance metrics were available in the tools used, so recommendations focus on targeting, frequency, content quality, and workspace hygiene.",
  insights_data: [
    %{
      "action_plan" => "Reduce survey fatigue by narrowing who sees the NPS survey and how often. A good next step is to lower the sample rate, require a more meaningful usage threshold before showing it, and increase the cooldown period so the same users are not asked again so quickly.",
      "actions" => [],
      "cta_text" => "Review NPS targeting",
      "entity_id" => "ae0bf122-020a-4cb0-a5d4-8c90acda228d",
      "entity_type" => "nps",
      "expected_impact" => "Lower fatigue and cleaner sentiment data, improving response quality and long-term engagement.",
      "finding" => "Your published NPS survey is set to show to **100%** of eligible users with frequency **every**, and users can become eligible again after just **1 day**. The only gating is that they have seen more than **0 pages** in session and have not submitted NPS in the last day.",
      "outcomes" => ["engagement", "retention"],
      "priority" => "high",
      "title" => "Your live NPS survey is likely over-sampling users",
      "type" => "issue"
    },
    %{
      "action_plan" => "Before publishing any draft updates to this mobile flow, audit all personalization tokens and replace or remove any incomplete placeholders. Then tighten delivery rules so the flow appears only on the first-run moment or a specific onboarding screen instead of every app session.",
      "actions" => [],
      "cta_text" => "Review mobile flow draft",
      "entity_id" => "2236b83b-41bf-4fd1-a784-e6b5c64b2eb2",
      "entity_type" => "flow",
      "expected_impact" => "Prevents broken copy from reaching end users and should improve activation by making the flow feel intentional rather than repetitive.",
      "finding" => "Your published mobile flow is eligible across the entire iOS app with frequency **every time**. In the current draft, the copy still includes broken-looking template strings such as **\"{{ user_alias ?\"** and another placeholder token in the second step headline. That creates a risk that draft changes could surface raw token text if published.",
      "outcomes" => ["activation", "engagement"],
      "priority" => "high",
      "title" => "Your mobile onboarding flow may show broken personalization",
      "type" => "issue"
    },
    %{
      "action_plan" => "Turn this into a more contextual welcome experience. Target it to a specific high-intent page or audience segment, tailor the headline to the user's job to be done, and use the CTA to drive one clear next action rather than a generic introduction.",
      "actions" => [],
      "cta_text" => "Refine web welcome flow",
      "entity_id" => "eea5a128-ba32-42ac-aedb-bcb6c97d9a22",
      "entity_type" => "flow",
      "expected_impact" => "More relevant messaging should improve activation and click-through from the first experience users see.",
      "finding" => "Your only published web flow is a **single-step welcome modal** with generic onboarding copy. It targets **all URLs** across **two domains** and is set to show **once**. Because the message is broad and not tied to a page, role, or use case, it is unlikely to feel relevant to different visitors.",
      "outcomes" => ["activation", "conversion", "engagement"],
      "priority" => "medium",
      "title" => "Your web welcome flow is too broad to feel contextual",
      "type" => "opportunity"
    },
    %{
      "action_plan" => "Review draft content and separate true in-progress work from old experiments. Rename anything worth keeping with a clear purpose, archive or delete stale tests, and keep only the experiences that are candidates for future launch. This will make it easier to maintain quality and avoid accidental publishing.",
      "actions" => [],
      "cta_text" => "Clean up drafts",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "A cleaner workspace reduces operational risk and makes it faster to optimize the experiences that matter.",
      "finding" => "You currently have **17 experiences** in the account, but only **3 are published** and **14 remain in draft**. Several drafts appear to be tests or placeholders, including names like **flow-123**, **test123** (twice), **Appcues Flow**, and older unpublished banners, pins, and flows.",
      "outcomes" => ["engagement"],
      "priority" => "medium",
      "title" => "Draft clutter is making your workspace harder to manage",
      "type" => "opportunity"
    },
    %{
      "action_plan" => "Rewrite the checklist around concrete setup milestones that reflect time-to-value in your product. Give the checklist a user-facing title, replace generic navigation tasks with actions tied to real onboarding progress, and publish it only after the steps map to key activation behaviors.",
      "actions" => [],
      "cta_text" => "Improve checklist",
      "entity_id" => "-MoiTe9NUuKsJGkJ4-2D",
      "entity_type" => "checklist",
      "expected_impact" => "A sharper checklist can improve onboarding completion and help more new users reach value faster.",
      "finding" => "Your checklist **Primeiros passos** is still unpublished, and its visible title is **\"Untitled Flow\"**. The checklist items are also very generic: **\"Visitar Homepage\"**, **\"Visitar about page\"**, and **\"Im done!\"**. In its current state, it does not clearly guide users toward meaningful activation milestones.",
      "outcomes" => ["activation", "adoption", "retention"],
      "priority" => "medium",
      "title" => "Your checklist draft is not ready to drive onboarding",
      "type" => "issue"
    }
  ]
}

Errors

No Errors