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

Args

%{
  "account_id" => "206434",
  "account_insight_agent_id" => "75cac93d-710b-4552-b07d-9a5246df4f70"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "feP9XMr+w3yrNXPo3TIuzR8fJf1LbrH5xZeWQqmS9pI",
  "recorded" => true,
  "return" => "g1AAAAnCeJy1VsGOHDUQ3YQkwCLEESmnOiBt0pqZ3WWTEFbiAAlBKyGB0OaE0MjTXT3tXbfdst07aX6FH+DKx+R/eGX3zHQgRLlw6Wm7XXbVq/eeJx4cHNzefKpt0OsmhmWlojKYuxXx+KSVhyqjdnbZGWUxvvXHpWcVKTY6kArkXR+1ZeJXHXvNtmQqDSvbdwv6hW80b2jTcGzYIyQt056refRaGVJ9lUNC1Mbgow4Ru9pqEoNjVspavOdFoe8652UZGX3DeNRcDjiTWg5BrXlBFzXpSAi0joyza8R2ykdyNQ2u91T23rONdIWB5WFGve36ldGhkbjo6Jq5y0vHea5I2xvEOD9Q7co+cJXOkZowoFLhgRNzjjfK6GqWt8GOKc9VH+kGENVDCorKrxnIrcn3hnPRva3Ym0EmsScO9w6gRi2f/RakFcv3znW9URF5oQeCfYn3hfTrw9yvsOviHZn9oIxKfj9+uS1VRvdwQttFaevnL1GAJIapqi/jcsSZgCigkvRSrdvw5aTh0TkjsO1hTBvtoBv7t9GxmfLk4jk9eXRSMp+W86ePn67mj7gs518/Pj2bf1k/YVWuHn21enpGVrXY5OiFZ6bLxJvvM4uOFnQ54UcDKBpVSdcFgxsdB3Qt5WJUiHR2QpUaMtShcb1BZpOKMpZbPjfDGllygvRu1NGwvB293DPFpkN2lKZM6ZxLEg7a6ZY7hA9evx/C78B3iu7/hinSUdrOyHMA24VrWROj3PZghQj+La6ktI/ArmXkV6nO+6PspwCN6SUGolh0ZqkrGX3xPtkmNMewOHRpm3t7oD/b8n+p2w5nytyfu0ZJBUgV/lA6GwVpVNmX0FSLOjGhBDcHaTYM8kgbRLch69+8WcDEBZLLsZ9hm+sRJVZBi2c5zFl0ldiu8dNu2/tPq0JYlmytbYUB3m+/vkB+gh8Q3mP9wrhNmNHP8OkZfZcqx4vs+azh8tok34wNfHnDftqk1nkhnbJ0hk98Dfav3YKK4nRSVVEk3RTFVDnYS8Fu3iKgolgcHs7p16L4N32K4rcHTYxdOD8+DhH27haq68qew6J07XFuWjh+n64fB45ikOHhIdGcLtH4c+SYqy+KNPnjJC35eEKBGeQ9QbPbzjBIIYNKh1aHkAfsvfNh3OA54+Kzol53DuOIYs/ivSOaKF17qqXMLO+t2AX6LG1Z0yb369ZeVTzGqLJ0vY059Z3Xh75tlR/OxX82llwGFwhR5YSO9IBflaYXMqCaY+PAEXRHTsPQ8xqNluIfpgNTnskB0F9GvJlhmdElW1jNN1QrE9BcEAXTY/7YCXc8T4hxKugJLdLKdPe6dN8IHyJOHymQMxM79+6a/VyUuLvBU50/OBx4nuJsklut130iRTIJOCu6wvlmkpnDvT6yjXRew3LikAQOg9KA6w3//fZ0wu2JLN9m/bXzU/pnkiS93dmayF2QouerzV0UykFm/nom/26w+en2BqDxvxGpGtCP4kxX8C6ROquzS+pcTdVZ7tXpTJX+z+yluKCfrBlIsPqPoir6nf27b7PF3xE8TbA",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "5c6JEhAML/eI/btdvcBIsoZcZtRjsLNuSur9uiNI5bc",
  "workflow" => true,
  "workflow_id" => "019ddea7-57a1-79bc-a980-42e169b61a5e"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight after reviewing published flows, pins, banners, and checklists older than 3 weeks. Only one published experience had zero activity in the last 30 days.",
  insights_data: [
    %{
      "action_plan" => "Treat this as routine experience cleanup. Review whether the expired-trial audience still exists and whether this banner still supports a live lifecycle message. If it is no longer part of your current journey, unpublish it to keep your published inventory focused. If the use case is still valid, keep it live but verify the targeting rules and underlying user properties are still being populated as expected.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published banner with experience ID 640cee1c-858b-4ecc-9513-2f6eacb47b83 named 'Free Trial Expired'. This banner has had no activity in the last 30 days and should be unpublished as routine hygiene.",
          "title" => "Unpublish inactive expired trial banner",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to publish the banner with experience ID 640cee1c-858b-4ecc-9513-2f6eacb47b83 named 'Free Trial Expired' again, restoring it to a live published state."
        }
      ],
      "cta_text" => "Review inactive experience",
      "entity_id" => "640cee1c-858b-4ecc-9513-2f6eacb47b83",
      "entity_type" => "banner",
      "expected_impact" => "Unpublishing stale content reduces maintenance overhead and keeps your live experience inventory cleaner, making it easier to manage engagement and lifecycle messaging.",
      "finding" => "I reviewed published Flows, Pins, Banners, and Checklists that were published more than 3 weeks ago. **1 experience** had **no activity at all in the last 30 days**.\n\n- [**Free Trial Expired**](https://studio.appcues.com/banners/640cee1c-858b-4ecc-9513-2f6eacb47b83/settings)\n  - Type: **Banner**\n  - Last 30 days: **0 seen, 0 completed, 0 dismissed, 0 errors**\n  - Designed to: notify users that their free trial expired and prompt them to upgrade their account\n  - Targeting summary: shown on the app domain (excluding **/login** and **/register**) to users with an email, **license = false**, a **trial end date more than 1 day ago**, and who are **not** in the excluded broker-type audience\n  - Goals: **none configured**",
      "outcomes" => ["engagement"],
      "priority" => "medium",
      "title" => "1 published experience has had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors