25352311 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 00:01.405
Run Time 01:06.052
Inserted 2h ago
Scheduled 2h ago
Completed 2h ago (01:07)
Cancelled
Discarded

Args

%{
  "account_id" => "20715",
  "account_insight_agent_id" => "1ba89b73-b5dc-4ba9-a75a-ce89bf18e88e"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "0yP0AtB9uwpETmtmCVtZRVG6IgXbRaol3TqlsbZRipc",
  "recorded" => true,
  "return" => "g1AAAA/DeJzFV8tuI0UUnScMHo34ADalkRDQuP1I4iSTXTSjQcNAhGAeC4Sicve1XXF3VU9VtT3md1iwYccnzJot/A7nVrvbncgJQeIhxXG7uurWveecuveWv3Hjxq3lXW08uRzPvzy2JD2lYihmq6kiTUJpp6YzLxKzIKv0VOyKohxnys0wjd4WGCSdkBMmS8kKP5Na7AxFKldOLJWfiR/JGiETrxbKr2AOU0hk0nmxOwjTeuI4TWEsVZYSL0q9th8WGe3ExFhBMplhcbADpzzlveWDtW/uNJVeZvD/pse/+xzJ/WrxaZFJjd83//iWFoqWlZ2N20JqbEyJSkksZwTXLIwL51WWCUd2gcAQ0HrbM1NaTatepzPsiedEhch4ODHak/YcO5aWRWGsxzKRlNbyeGFNWib8yk5kQl0hyzTs3hWIzOixkTZlaAvpZ52dnnjZQNCYVgDIG2HJA6UUM6fkuvB8IUgvlDU6xzRXGSx9GkhcGjufZGbpOrs98WzCgbQiV64O01tMn6pEZhkIytl9qX1XlAXbAR5OeGmn2Bo+YgNLmSw1cGRwxZjAD4k54OD3QK/RR6fzYoZt8GfhlIKaZqZ0VE9FPPwoVoC1QrLtnl4gImNXoD/BojRQRdIpVpkRU9aj7jHX76+Fwgq4zQq4w6O3Ey/5+4MGTf71HsjIC8+SOHjpKIhxzc/pmjoBbAE5b8dvGz2etrwzeJK8KbuyUW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WAaCoTugxFMIaO0Kt8jWVIB8b40Dozsjw8CcMbJM83yddD9GKa/wtwm6Tr+tuKR59S5c+j+bhecQmkjjUHdCDibckdcYbClSvA6BEESwctOVZH0TESiiPF5yOKvkZ8MkVOsPXIsXNITipkJ+RZw6NMThR9ZzLQ4fEOJyAnZZm1VspY+9oQ059WOOICycnMcBlbZ6GcvORrGV9ZkOMWeMPZNzQnGU1lstoE0+mcMA0Vce58ZYBajOXrIRdTQXwpcHwJIW1NloVbj0jLcDO9mPxCf4PBlZDIolNjUPYRp+Ki4arbVKh8k3Cn4YtVXmf3e0jgrOhwp7jFIx3SUzQfPCNURSxgeoyuKirwMhYpJPQxaBRUmZ+v2o8vuzc3ybydytmlVu5v9QF3uOgG0+gaSjr7E5bqZ0A",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "cjMQ23ibnxwgCy8LlzVVlmSENo5za/TenI1bFz+/pxo",
  "workflow" => true,
  "workflow_id" => "019ddea7-5776-72df-a802-034fade29ddb"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "Review each experience and decide whether it still serves an active journey.\n\n1. Keep live content that supports a current product surface, audience, or onboarding path\n2. Unpublish content tied to retired pages, dev environments, or outdated workflows\n3. If an experience is still strategically important, update its targeting or relaunch plan before keeping it published\n\nThis is routine housekeeping to keep your live experience inventory focused and easier to govern.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience operation to unpublish the published web flow with experience ID 55e65caf-ef57-45bf-93c9-63450584ce62 named \"Nova Antecipação - Features\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and was published on 2022-08-09.",
          "title" => "Unpublish inactive feature walkthrough flow",
          "undo_prompt" => nil
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience operation to unpublish the published web flow with experience ID 1e101e6a-d5b8-4637-8c1a-7c8407d0c14b named \"teste\". This flow has had 0 seen, 0 completed, and 0 skipped users in the last 30 days and was published on 2021-06-18. Note: this experience has pending draft changes, so only unpublish the live experience.",
          "title" => "Unpublish inactive welcome modal flow",
          "undo_prompt" => nil
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support agent and the unpublish_experience operation to unpublish the published checklist with experience ID -LNVvfKJNVWjDutiqkWc named \"Próximos passos\". This checklist has had 0 seen, 0 completed, 0 skipped, and 0 dismissed users in the last 30 days.",
          "title" => "Unpublish inactive onboarding checklist",
          "undo_prompt" => nil
        }
      ],
      "cta_text" => "Review inactive experiences",
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Unpublishing truly inactive experiences should reduce operational clutter, lower the risk of outdated guidance resurfacing, and make it easier for your team to maintain only current onboarding and adoption content.",
      "finding" => "This looks like routine content hygiene: **3 published experiences** that were published more than 3 weeks ago have had **no activity in the last 30 days**.\n\n- [**Nova Antecipação - Features**](https://studio.appcues.com/flows/55e65caf-ef57-45bf-93c9-63450584ce62/settings)\n  - Type: **Flow**\n  - Designed to guide users through the **new receivables anticipation workflow**, including account setup, total available receivables, buyer-level opportunity review, pricing model, request options, and the anticipation basket\n  - Targeting: shown **once** on **/anticipation/new** across supplier domains\n  - Goals: **none configured**\n\n- [**teste**](https://studio.appcues.com/flows/1e101e6a-d5b8-4637-8c1a-7c8407d0c14b/settings)\n  - Type: **Flow**\n  - Designed as a **welcome modal** introducing Antecipa and its receivables anticipation marketplace\n  - Targeting: shown **every time** on the root path **/** of the supplier dev environment\n  - Goals: **none configured**\n\n- [**Próximos passos**](https://studio.appcues.com/checklists/-LNVvfKJNVWjDutiqkWc/edit)\n  - Type: **Checklist**\n  - Designed as a **sequential onboarding checklist** with milestones such as **Acessei**, **Me cadastrei**, **Assinei contrato**, and **Solicitei primeira antecipação**\n  - Targeting/goals: not exposed in the metadata retrieved for this legacy checklist\n\nNone of these experiences recorded seen events or enrollments during the last 30 days, so they are good candidates to review for retirement.",
      "outcomes" => ["engagement", "retention"],
      "priority" => "medium",
      "title" => "3 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Created 1 hygiene insight covering 3 published experiences older than 21 days with zero activity in the last 30 days. Added direct unpublish actions for each inactive item."
}

Errors

No Errors