25353087 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 16:46.540
Run Time 01:15.264
Inserted 7h ago
Scheduled 7h ago
Completed 7h ago (01:16)
Cancelled
Discarded

Args

%{
  "account_id" => "88470",
  "account_insight_agent_id" => "882e0326-745b-4212-8657-7cf5c99e6ecd"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "tkKX7gflGLLIyWKWZV3WliY/bo99rOa3j5kELqkIK7E",
  "recorded" => true,
  "return" => "g1AAAAs9eJzVVk1vHEUQdYgDwQhxRRxQyeKQLLvrrzghlpBIHAcZQWLFMRwQWvVO1850dqZ71N3jyfKXuPEb+FkceNUz+xG+lBMSB69nerqrq9979bri1tbWO+2HxgaTFzFMtIqqxNiNiJ8PKvlRWTTOTupSWbzf+PgFXxtuqS04FuwpFiZQaPw1L2hWupZCNGWJkbp2PgZSliTCNVPtXe5VNabzGVkXh9TYupmWJhRkIkVHc+aaFq7xVMp8fl2zN2wzJmOv2UbnF5SVrGwKgd0pU1WtTG5Jckj7ei75WllET9EQOMVytlyQmkUknDk7M74yNsdX5Nfobg9lNUVv8rybo40cexm2UjErutyyxnskI8fRTRbpFQYtL8YC1nsdWGEF4baM3syikv/vXy0PLG/vIkBVR8H0l6vA6Tx9zEmPHqlcdkqZ4esKr8kGNNG5UsBbg5kCdc+sqeVpx4tVFV53T101dXTZEfYVHdOpwxZf0uMmAp0ZYDq3eEgcf07P7dQprwWsywbQhA6UEX3TYObh/uE9unPx6Ory7Am9fE6XVy++P6NnZz/Qs0ffnd3dpdbEYpPH8yfEerp/fJ/16FA/PBrd28fPVB8/GOn72fThg+Pjgy/U4ZheiqpS2oUK+NP0M3tHgdkOwU5VlxxZDynMTV3Lg2DE3jtPLFIJkEwColQh0tE+abUIaVKLeGt0nE2HGB0cjA6OEM69KUrM9a6JxnInvKZONN+KJp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" => true,
  "uniq_key" => "n4kYMJBM+JwAtOqHYMt7kILLnx1rGx7hvZoLaOaHaf0",
  "workflow" => true,
  "workflow_id" => "019ddea7-5786-7273-a21d-d8764d31ad07"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Review whether this survey flow still supports an active program. If not, unpublish it to keep your live experience inventory clean. If the campaign is still relevant, keep it live only after confirming its audience and trigger conditions still match your current product journey.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow named \"Combo Survey @ 5 Cont = Butterfly Interview + Onboarding Suggestions - July 2024 (PAUSED TO SURVE NEW NAME)\" with experience ID edb056ed-2d93-4093-bd57-d6cb975518a2. This flow has had zero seen, completed, skipped, and error events in the last 30 days and was published on 2024-11-13, so unpublish it as routine cleanup.",
          "title" => "Unpublish inactive survey flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow named \"Combo Survey @ 5 Cont = Butterfly Interview + Onboarding Suggestions - July 2024 (PAUSED TO SURVE NEW NAME)\" with experience ID edb056ed-2d93-4093-bd57-d6cb975518a2."
        }
      ],
      "cta_text" => "Review inactive experience",
      "entity_id" => "edb056ed-2d93-4093-bd57-d6cb975518a2",
      "entity_type" => "flow",
      "expected_impact" => "Unpublishing unused live content reduces clutter in your published inventory and lowers the chance of maintaining or troubleshooting experiences that are no longer serving users.",
      "finding" => "I reviewed published Pins, Banners, Flows, and Checklists that were published more than 3 weeks ago and checked their last **30 days** of activity.\n\nInactive experience:\n- [Combo Survey @ 5 Cont = Butterfly Interview + Onboarding Suggestions - July 2024 (PAUSED TO SURVE NEW NAME)](https://studio.appcues.com/flows/edb056ed-2d93-4093-bd57-d6cb975518a2/settings)\n  - Type: Flow\n  - Published: **2024-11-13**\n  - Last 30 days: **0 seen**, **0 completed**, **0 skipped**, **0 errors**\n  - Designed to: collect survey feedback from users on how they found Newlywords, ask whether they would join a **15-minute feedback session**, and gather suggestions for improving onboarding\n  - Targeting summary: shown on the **dashboard** at **www.newlywords.com**, triggered after the **\"Received 5 contributions\"** event, limited to a small set of specific user IDs, excludes users who already completed a purchase\n  - Goal attached: **Purchased Book**\n\nThis looks like a good routine cleanup candidate rather than an urgent problem.",
      "outcomes" => ["engagement"],
      "priority" => "medium",
      "title" => "1 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Created 1 hygiene insight after reviewing published experiences older than 3 weeks. Found a single published flow with zero activity in the last 30 days and included an immediate unpublish action."
}

Errors

No Errors