25360912 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 00:33.725
Run Time 00:56.213
Inserted 1h ago
Scheduled 1h ago
Completed 1h ago (00:57)
Cancelled
Discarded

Args

%{
  "account_id" => "118836",
  "account_insight_agent_id" => "cc726e39-6d59-42ea-b123-818574b64bef"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "gd6S1EdQ2Z2C+fizBXfrNUD7eO/76ljzVCjztg5xmYI",
  "recorded" => true,
  "return" => "g1AAAA3zeJzNV0uPG0UQ3rx4bIT4AVwKcUgyWtvx7mbZzS3aKFEORCiPUxR529M1dsc93aPuHju+5QASWiEBQhxAgHIIAiSQohCkHODncNk4/4GqnvEjL7IgiNiDPe7prq6q76uqb8PS0tLB0RFjA/qcnv/YdigCSmhDf9xTaBCU8arXD5DaITplerAKRdnVyvdpG94saBFNih6slugg9IWB1TZIMfb8I8AIHULhcKhs6fUYlEQTVKbo+EiFPhgLIg1qqAK9M3QGQQsfYO1kNNKECybVpaTtUjlMA1wOpVQWtDIDD8JIsAYbqVbpAEpT+xZNWuMhsw5QpP0FV5ujN+qgfEeKIDQFfiDQx1FOwdHqZKfQwtDvA/cukec4glEfybWnjIEPSmvw6IaUA0FeDRFKj5AKj83l5Tb5n8WgcvRe9BDIobSP6YDcDKB8bcChxqEwgSwJb43QlCnaaekewf7wwgoMEAtQYQEBjj+1JlMuj7cE4XoYGKeZ6dQ6zltzeTX6ouKttgySkV4Bgj40rGHzdCGhoa3pUaAGUfL7eU7pZLDkqSwpbsIkBNrGDoihVfSZphFboTk/1peOErDWJLyECxXW7OE8eC26FLWEJHn04ceT3TuPdh9MvvoxSVbAK04t3SeKAoXzfG8XKb3sLAjvMcSL+8KTP7lQhswoE3mETYbx1ZoADO5BBvcwrx5Kg+Dv169Og+JfrxTO5kVgtC9eJejYS1qiMEPHl0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608PTF0bWs4IPUQNDZ0QlrFU6T/djsF601IuHQmmmC2TUvp/otjkGwRKf6jmtu1OgAiaN+DR6/9hUbLvUSAgprPQmryyj6YmKkrHV0nZurdZUbbpwyjpqtFEDUJdXZf744Np+3v9ZsyayOAiZsfPeszgKD3Mnj6aV9yXe+BNxpwak",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "Va/giJQZX9ake97hqpIZRKs70rBw4h9wQXTCaSgeYTQ",
  "workflow" => true,
  "workflow_id" => "019ddeb0-7e24-7df7-ad85-24043680a816"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight covering 2 published experiences older than 21 days that were previously identified with no activity in the last 30 days. Included direct Studio links and one-click unpublish actions for each experience.",
  insights_data: [
    %{
      "action_plan" => "Review whether each experience still serves a live use case.\n\n1. If the message or checklist is still relevant seasonally or operationally, keep it published and confirm the targeting is still correct.\n2. If it is outdated, test-only, or no longer needed, unpublish it to reduce clutter and avoid accidental exposure.\n3. Start with the checklist labeled **테스트용**, since it appears to be a test asset and has remained inactive.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published web flow with ID e85d7639-864b-4613-9c50-a1a8edad0191 named '[경고] CMS 자동청구 기능 중지 경고'. This experience was reviewed as part of routine hygiene because it is older than 3 weeks and has had no activity in the last 30 days.",
          "title" => "Unpublish inactive CMS warning flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the web flow with ID e85d7639-864b-4613-9c50-a1a8edad0191 named '[경고] CMS 자동청구 기능 중지 경고'."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published checklist with ID f3e4dfb2-af9f-4849-8681-83bbbb9ce8c6 named '초기설정 가이드 (테스트용)'. This experience was reviewed as part of routine hygiene because it is older than 3 weeks and has had no activity in the last 30 days.",
          "title" => "Unpublish inactive test checklist",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the checklist with ID f3e4dfb2-af9f-4849-8681-83bbbb9ce8c6 named '초기설정 가이드 (테스트용)'."
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Routine cleanup should reduce stale content in production, lower the risk of outdated experiences reaching users, and keep your live Appcues inventory easier to manage.",
      "finding" => "As part of routine content hygiene, I found **2 published experiences** that were published more than **3 weeks ago** and have had **no seen events or enrollments in the last 30 days**.\n\n- [**[경고] CMS 자동청구 기능 중지 경고**](https://studio.appcues.com/flows/e85d7639-864b-4613-9c50-a1a8edad0191/settings)\n  - **Type:** Flow\n  - **Designed to do:** Show a warning modal that CMS auto-billing has been disabled, explain recovery steps, and capture acknowledgement.\n  - **Targeting:** `app.donus.org` on `manage/member/member-list` for tenant `fire119` and admin roles.\n  - **Goals:** None configured.\n\n- [**초기설정 가이드 (테스트용)**](https://studio.appcues.com/checklists/f3e4dfb2-af9f-4849-8681-83bbbb9ce8c6/edit)\n  - **Type:** Checklist\n  - **Designed to do:** Guide users through initial setup tasks including institution info, online fundraising screen setup, automatic message setup, and reviewing external services.\n  - **Targeting:** Not available from the checklist metadata I could retrieve.\n  - **Goals:** Not available from the checklist metadata I could retrieve.",
      "outcomes" => ["engagement", "retention"],
      "priority" => "medium",
      "title" => "2 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors