25354239 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.214
Queue Time 01:53.072
Run Time 00:46.647
Inserted 1d ago
Scheduled 1d ago
Completed 1d ago (00:47)
Cancelled
Discarded

Args

%{
  "account_id" => "220262",
  "account_insight_agent_id" => "597d82ec-7eaf-4646-bc68-f844d3234400"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "8jomYT9z85ferD6X7c4uKqG7czZ82Vu/EseBTnNTJOE",
  "recorded" => true,
  "return" => "g1AAAAo4eJzNVl1v40QU7ZYWliC07zyNIh7AStL0Q9Wmb6uiRRUrWPXjASEUTe2beDbOjDV33NT8En4P/4h/wLljx/GKsuojL6k9nft1zr3nOuzt7e1vvjaWzTIPPM900AXOXgT8fLWWH50G4+y8LLTF+4ubW086qJAbVpqVd1UwllTqbCAbVF4vDVm6UJ4eDG3UJqeQk2/uc+UfqFYcTFEoJrzAh1US4YFUxXCjmSbqaqGsCyNV2bK6LwznyiCiUyuiUtWu8qo9p0wZ+4C4ztcqLUic2QyxsyolxITDXFs8uoVCoqgOFg7ZEIcuZU9rbayxS1UgjRhdLNtkJe2YryXKKBuJGZsMJVUl/ImZ3NZVhrolErx7s1ziAjvJO0VSgCzN4z0jMeFHqvWofonQE8H5iwZn7tA/kNPP0qDl75d3Wyjk7fPSu3UZhI7HO24KxRGKDnOuytL5AM9Sm6Ah/+2QnNNjSb5JNThXCKw7mKOjDtpF4UCgCbnqGV39oGbT03SWnaTjbDbT4zM9Oxu/PiEaz45PzrOz4+n07Px0om6F8Z4h3qxew+3wVtD/SYfc11Zd3ry5HcY8TeAmeBovisHwLXqt8qRugDQvGojUTWRmMlR3/f7472ZU95Rq6S7cynEt1xn6Cw1IVuhclwUFYZZXpizlARyS9/IrvcUgLSJTaOR9OlWZrjlydhhMKEie+qnYtp8XaJh7na4ijnGUKpu5+Y67V8/j7hPMeeoz97/n6xqOnKd2mneNxgFWPPkgIL1Ex88DPQpCe99cNyrSYbrLL04FYDKhnptM3r59Tp2Rh9Ys1GV0c7Al6JW4T9ELc7MuEVHO/uqYlVGvLPooi0LRdZmoEjeytHF+xbCkRozIj1ot4kiQN7wSKdJpCgWxkFoFMRiLFEhlDpJDo4jtWq9gA5xIsxH5dGrh0ooV4NxhIF6hxZmXdCJCOgIuHsgu0UZrRGnkZWFshgrwvP/3r67CEMAmSY57NOwcJ0njeaO59/+1cIdzq07Vhmgl8uVisO1UJQnmKiYCfJ8amySZDAZj9du/Wur37/IQSr44OuIAKXUTXZZpRTzBfB4JP3z0HHqPmIJoMn8/UGqsbsHwBbJ6CwdJEo/e9bKRf02jDiTJKD53arA9aDVh+xplgVtX7ztknBVXJ9OT8/H0dDw9aS9cbcW+rDzYRSoa1xbtjHB/RpptA9w1IkqjxfUgI46dBbOtkaCN1gJ3G28C3Hcy0xSs/ZLiUuJqvda+vthuI2RxX0c+kmT4JnswDH37pYSDy8JIG7/3bmEKGiKHKHtoxAKwxepgo22t7q7fCRDNimU4llmRJKUsRtQCVWGCzAKaIBW0OPzodBHBtg5qrBkfG1YwHQyi6BTOoZcKs5JCrQbEm1F8Leq4qcdOulJCfSSpTYt2+znO5H2FhVt5j+tF3clGnICXWA6gl+KG3ZeTwW5G4gWduVLIaHSo9AZxQx0XLnTQANCPNP/y6dnhZrTaJdMNwwJw9waot0UOtjp0aJgr+rA5xMcPsZz8eSkfW3B/3O2y9lMt+tNPJqBckcUvrt6gxq3wB/lPT+dE/exUVpWQdOk6ejQce2kbU+Rg4bDFJv8ANmttWw",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "Y7wm62UgZ/og26WdoSzfH/ogVITMKM0BGXvOrYAAGpU",
  "workflow" => true,
  "workflow_id" => "019ddea7-57aa-7671-90f9-ff3f3da28d93"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for a published experience older than 3 weeks with zero activity in the last 30 days. No duplicate existing insight was found.",
  insights_data: [
    %{
      "action_plan" => "Treat this as routine content hygiene: review whether this survey still serves an active use case. If not, unpublish it to keep your published inventory clean and reduce the chance of outdated or test content remaining live. If the survey is still needed, consider updating the audience or trigger so it can reach the intended users again.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience tool to unpublish the published flow with experience ID 903c9d2c-d99a-4a94-82ee-9126d4100463. This experience is named \"Test Kathryn CSAT\" and its public name is \"Feature Satisfaction Survey.\" Unpublish it as routine content hygiene because it has had no seen, completed, skipped, or error events in the last 30 days.",
          "title" => "Unpublish inactive feedback flow",
          "undo_prompt" => "Use the product_support agent and the publish_experience tool to republish the flow with experience ID 903c9d2c-d99a-4a94-82ee-9126d4100463. This experience is named \"Test Kathryn CSAT\" and its public name is \"Feature Satisfaction Survey.\" Restore it to published status."
        }
      ],
      "cta_text" => "Review inactive experience",
      "entity_id" => "903c9d2c-d99a-4a94-82ee-9126d4100463",
      "entity_type" => "flow",
      "expected_impact" => "Unpublishing unused live content keeps your workspace cleaner, reduces the risk of accidental end-user exposure, and makes it easier to focus on experiences that drive activation and engagement.",
      "finding" => "You have **1 published experience** that was published more than 3 weeks ago and has had **no activity in the last 30 days**.\n\n- [Test Kathryn CSAT](https://studio.appcues.com/flows/903c9d2c-d99a-4a94-82ee-9126d4100463/settings)\n  - Type: **Flow**\n  - Last 30 days: **0 seen**, **0 completed**, **0 skipped**, **0 errors**\n  - Published on: **2026-03-02**\n  - Intended purpose: a **feature satisfaction survey** asking users to rate a feature and leave written feedback\n  - Targeting summary: triggered by the **\"Advisor Open Client Profile\"** event, allowed on **any URL**, and restricted to a **single specific user**\n  - Goals: **none assigned**\n\nThis looks like a narrow, likely test-oriented feedback flow that is still live but currently inactive.",
      "outcomes" => ["engagement", "adoption"],
      "priority" => "medium",
      "title" => "1 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ]
}

Errors

No Errors