25353743 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.61
Queue Time 05:33.941
Run Time 01:14.910
Inserted 6h ago
Scheduled 6h ago
Completed 6h ago (01:15)
Cancelled
Discarded

Args

%{
  "account_id" => "201694",
  "account_insight_agent_id" => "906f9f3f-fbd6-46b9-9e42-f87410018566"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "Etpw7mkD16XoBm45MSPP0pAB/Hfa3XV0uSWGzTN2aFw",
  "recorded" => true,
  "return" => "g1AAABTteJzNWNtuHEUQzZWAEeIDkFATiQArj71371rKg2MrwShCUbAfECCrd6Zmp+PZ7lF3z26Wr+GBR174Bp74K0717M3JOqyjmCBZ65me6eqqOqerTo+/cePGrcknSjs1zLw7S6SXOcZuevx8POIfGXtl9FmRS437m/Y5jRVNxCQjn5EVJONM0MuCrCIdk3Be5blwZMfkhBS5GpOQZVI9NFbEpbWkvZgYe57mZrIjjlMh9aoJ5YRXlAhv+IEpPbzCrdEDI22i9FAU0mfbsJ7QyAjSY2WNHsHqNq8gxZjsVGhprZks1/aZ9EIbkRs9ZL9fKufdtih1UQ5y5TK2qzwvLkVGMvfZVMQ5SV0WCIqKmaNTYVLYIodQM1PmibA0kkqHSLdFYmCNojij+JxfU1Z4aYfk2bzUydIf6Vw5Kji3TgwoNZYEVhvze5g3EjO3KNlhGO5VMDgG5w6Dc4dHb8de8v+PTudR8N0HhTWwzGg9OXUcOQkMJWXsz1xZFMZ6IYcMAjukvFsm4WwFBm9MzhgsHlaG5m6JCQ0EIygmyl+gwPGRaPWo008b/ajf7Daidl0OIrnX7kRtKRPqJ0TdVhcIjWDm/ncm01858T1I9cyasUqAzg9Ircdf8PDRwYGoQnL3d8RJBohWVptIt+KU0aJZb7ajejdqtsPsTCaiDkKS3sb/GGZyAp34xp2rouBLfq8uCISxTgBLDjSXzotWXSRy6gIEd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5Z6KS5MiU9i5eDTbivPabapD6/8VmteVwRshgRZxu5soj7WIoGJdAkiQcWsBwcY3vmqLK8IrxTDm8heN15MUSo4UhycHjB8aB7fQauKrMGTYoQXKdAXDWnNXz+lKz3xjMqsODYZv0I/X5rNa43KON+rrUuoy/tCDasQ6p0rwBbFQZW5Qej/rZDMRNKPyFZnMjC0dbGMh9AWU/1qN748T8VC027363t4VcxxECJoDV9fwhecWj2wt+224XXbjSrUUVmGz+mnQtpA2qhxdFGyHl/QwyEOIB9aIqz2Mw1o201UJeIeFTTCNnJX0YnJXg8BBDf1xaCl8nGvMe7yYfUtEJ4Bs4eZwmRcmD59Lwmqzxh3Q+pWsWd+q506JgyQhRtFCYa0I8dk3shBK+C65EHFAb7TzD2T/6Uo",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "f2Jt+Z+IchLbMOvagopSlNFZRXPraEmoPn/hwvPkGGM",
  "workflow" => true,
  "workflow_id" => "019ddea7-579e-7ade-90d5-acbab1ea2846"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Review whether each experience still serves a live audience or current workflow. If an experience is tied to an outdated onboarding path, a demo environment, or a very narrow audience that no longer exists, unpublishing it is a healthy cleanup step. If any of these should remain live, double-check their targeting and audience assumptions before leaving them published.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID 38e59f19-9261-40ab-a745-4aade9dee636 named \"John's New Provider Shoutout and BAA prompts\". This experience was published on 2024-06-24 and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days.",
          "title" => "Unpublish inactive provider tour flow",
          "undo_prompt" => "Use the product_support agent and its publish_experience tool to publish the web flow with experience ID 38e59f19-9261-40ab-a745-4aade9dee636 named \"John's New Provider Shoutout and BAA prompts\"."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published web flow with experience ID 771cb243-7381-4fe8-8d20-f4316bbe5ba6 named \"Get Help on Your Dashboard\". This experience was published on 2024-06-21 and had 0 seen, 0 completed, 0 skipped, and 0 errors in the last 30 days.",
          "title" => "Unpublish inactive dashboard help flow",
          "undo_prompt" => "Use the product_support agent and its publish_experience tool to publish the web flow with experience ID 771cb243-7381-4fe8-8d20-f4316bbe5ba6 named \"Get Help on Your Dashboard\"."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published pin with experience ID 543d66a6-c1ea-409d-9e3f-78e15fc2d62d named \"Free Trial on Demo\". This experience was published on 2024-10-11 and had 0 seen, 0 completed, 0 dismissed, and 0 errors in the last 30 days.",
          "title" => "Unpublish inactive free trial pin",
          "undo_prompt" => "Use the product_support agent and its publish_experience tool to publish the pin with experience ID 543d66a6-c1ea-409d-9e3f-78e15fc2d62d named \"Free Trial on Demo\"."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and its unpublish_experience tool to unpublish the published banner with experience ID 746009c2-06b6-4124-834e-93158b95f8df named \"Tour Banner\". This experience was published on 2024-06-10 and had 0 seen, 0 completed, 0 dismissed, and 0 errors in the last 30 days.",
          "title" => "Unpublish inactive tour banner",
          "undo_prompt" => "Use the product_support agent and its publish_experience tool to publish the banner with experience ID 746009c2-06b6-4124-834e-93158b95f8df named \"Tour Banner\"."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing stale experiences can reduce maintenance overhead, keep your live experience inventory cleaner, and help your team focus on journeys that are actively supporting activation and engagement.",
      "finding" => "As part of routine experience hygiene, I reviewed published **Flows, Pins, Banners, and Checklists** that were published more than **3 weeks ago** and checked their activity in the last **30 days**. I found **4 published experiences** with **no activity at all**.\n\n- [John's New Provider Shoutout and BAA prompts](https://studio.appcues.com/flows/38e59f19-9261-40ab-a745-4aade9dee636/settings)\n  - Type: Flow\n  - Published: **2024-06-24**\n  - Designed to: onboard providers through a welcome tour, BAA signing guidance, content libraries, messaging, and feature setup such as telehealth and calendar\n  - Targeting: all URLs on **mybodysite.com** / **\\*.mybodysite.com** for a specific audience segment\n  - Goals: none\n  - Last 30 days: **0 seen**\n\n- [Get Help on Your Dashboard](https://studio.appcues.com/flows/771cb243-7381-4fe8-8d20-f4316bbe5ba6/settings)\n  - Type: Flow\n  - Published: **2024-06-21**\n  - Designed to: point providers to dashboard help resources, tutorials, office hours, and support options\n  - Targeting: all URLs on **mybodysite.com** / **\\*.mybodysite.com** for a specific audience segment\n  - Goals: none\n  - Last 30 days: **0 seen**\n\n- [Free Trial on Demo](https://studio.appcues.com/pins/543d66a6-c1ea-409d-9e3f-78e15fc2d62d/settings)\n  - Type: Pin\n  - Published: **2024-10-11**\n  - Designed to: promote the free trial from **demo.mybodysite.com** with a CTA to start a trial\n  - Targeting: homepage on **demo.mybodysite.com**\n  - Goals: none\n  - Last 30 days: **0 seen**\n\n- [Tour Banner](https://studio.appcues.com/banners/746009c2-06b6-4124-834e-93158b95f8df/settings)\n  - Type: Banner\n  - Published: **2024-06-10**\n  - Designed to: show a simple promo banner with a CTA button and dismiss option\n  - Targeting: all URLs on **mybodysite.com** for user property **userId = 448077**\n  - Goals: none\n  - Last 30 days: **0 seen**",
      "outcomes" => ["engagement", "activation"],
      "priority" => "medium",
      "title" => "4 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Created 1 hygiene insight covering 4 published experiences older than 3 weeks with zero activity in the last 30 days. Added direct unpublish actions for each inactive item."
}

Errors

No Errors