25352751 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.109
Queue Time 10:30.116
Run Time 05:17.679
Inserted 5h ago
Scheduled 5h ago
Completed 4h ago (05:18)
Cancelled
Discarded

Args

%{
  "account_id" => "54805",
  "account_insight_agent_id" => "66944d16-f959-4364-8462-6b1b5b369eaf"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "L7xeAPLOXH9274qvg22ysRFeS41Dm0X9Glvv6ile5/g",
  "recorded" => true,
  "return" => "g1AAAFufeJzVXOuO48h1Xq/txGkjyAOsnZTHFziDrh7eL5tfszPTccOzM53eXiwMI5DrKtFNkQpJtVb7BMnPJMgFNmA7yAUJECAvkwfKqaLUItmiutSSZpQ/3ZJIVtVX36lT55w6h9UHH3zw4eybWV6Jcgyf//dFIUglOLLRaD5MRCZQkpXJcFQhmRdoMqVpUo7guvhyIgq4zkSJ8pSLAlUjkiEXzYS4KdEsqUboK1HkiLAquU2qObQDtwiUkrJCroU4mZdn6DyfZhy5HlzVN0J3lRiX8FSRlyWSaT4rT1EOw5gk2SkicDMbCXYDo6jK+nuSsXTKYUg8KQSr0DRbjFJ3nWfl2ewPFxjKAScVSQHn1yr4822F+Nv1XYNJSjL4/uGTazUDMNQERlGiIp9WCXTPUkGy6eTs5MQ+Q1fiNhGzGk6S3XSmQw8yz2RSjNFsJOCuAgnCRhpGWSVpisrpZJIXFdwLDQBoRsYTkgwBYUqmGRsB5AJupzkpeJIN0YRUo7MT5wx9vgKXzWGMcA3mvUIw2CxHaZ4NobNCpOKWZNUp4tNJmjBNKJ2jTMzgKgytEuoidFElcKXK4YkKJo/fjaM8O3HP0E+FmKh+YIrVEzBLJE3niOfFGFpfNgTjhB8Tieb5FKlZrBvUdELPQCgq8zz7M5SrmZglpVhRpMY/UxMCnU+ZmuVpVcEY1RSOyY1AclpNCwHfSTqvElbCRJaJ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tx3Xw2nC1S6AtB5WSmuqB9hxVgvB8oIvlJ7ilpNypCerAW1tiZoBKpPate1QzUh6U42KfDocaRLvJwGDJtdvU9CV/URvKQvk5X1E7QN/E0QGNV5bymYXEtyIyypnN00oK3x3oBjo/KHo" <> ...,
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_conflict" => true,
  "uniq_key" => "qISvynTHsAblb9tlZjXo73XloPzqu9nKHUmXZ3YL4QE",
  "workflow" => true,
  "workflow_id" => "019ddea7-577f-742a-b806-db7b42b1a7f4"
}

Recorded Output

%{
  notes: "Created 1 hygiene insight for published experiences older than 3 weeks with zero activity in the last 30 days. Found 34 inactive items across flows, one pin, and checklists, and included direct unpublish actions.",
  insights_data: [
    %{
      "action_plan" => "Treat this as routine cleanup.\n\n1. Review the linked experiences and confirm whether each one still supports a live campaign, launch, or onboarding path.\n2. Unpublish anything that is no longer relevant, duplicated by newer content, or tied to retired campaigns.\n3. Keep any intentionally dormant content only if you plan to reactivate it soon; otherwise unpublishing will reduce clutter and make future analytics easier to read.\n4. After cleanup, monitor whether newer onboarding and quest content is carrying the intended adoption work instead.",
      "actions" => [
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"FLOW-ONBOARD-FR-004--NO_POINTS\" with ID ea141e3d-3253-47cc-89d8-9a7821cc042b.",
          "title" => "Unpublish FR onboarding no-points flow",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"FLOW-ONBOARD-FR-004--NO_POINTS\" with ID ea141e3d-3253-47cc-89d8-9a7821cc042b."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"FLOW-ONBOARD-FR-004--WITH_POINTS\" with ID 64302a15-db79-4cb5-bf24-5890c53c509f.",
          "title" => "Unpublish FR onboarding points flow",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"FLOW-ONBOARD-FR-004--WITH_POINTS\" with ID 64302a15-db79-4cb5-bf24-5890c53c509f."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"FLOW-ONBOARD-EN-004--NO_POINTS\" with ID 72986765-c626-4352-a6c5-6cde57f04be6.",
          "title" => "Unpublish EN onboarding no-points flow",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"FLOW-ONBOARD-EN-004--NO_POINTS\" with ID 72986765-c626-4352-a6c5-6cde57f04be6."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Update_Cert_FR_001__FLOW_1\" with ID 35f2e176-4b07-4608-b382-d6a24309d626.",
          "title" => "Unpublish FR certification flow 1",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Update_Cert_FR_001__FLOW_1\" with ID 35f2e176-4b07-4608-b382-d6a24309d626."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Try_GI_FR_001__FLOW_1\" with ID 25d33e85-881b-4093-a678-739dceabdbdc.",
          "title" => "Unpublish FR general inventory flow",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Try_GI_FR_001__FLOW_1\" with ID 25d33e85-881b-4093-a678-739dceabdbdc."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Try_GI_EN_001__FLOW_1\" with ID 2c39ca7d-ead2-4f99-8958-b26aba70d5d9.",
          "title" => "Unpublish EN general inventory flow",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Try_GI_EN_001__FLOW_1\" with ID 2c39ca7d-ead2-4f99-8958-b26aba70d5d9."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Update_Cert_EN_001__FLOW_1\" with ID 433653e4-cb48-446f-af48-bb52c1322d08.",
          "title" => "Unpublish EN certification flow 1",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Update_Cert_EN_001__FLOW_1\" with ID 433653e4-cb48-446f-af48-bb52c1322d08."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Log_Steri_EN_001__FLOW_1\" with ID e5eae307-64b8-4b6d-b354-e798d1ea4469.",
          "title" => "Unpublish EN sterilization flow 1",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Log_Steri_EN_001__FLOW_1\" with ID e5eae307-64b8-4b6d-b354-e798d1ea4469."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Add_Imp_EN_001__FLOW_1\" with ID 5d0c303a-80ca-4b98-aa14-2dc389c2ba4e.",
          "title" => "Unpublish EN implant flow 1",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Add_Imp_EN_001__FLOW_1\" with ID 5d0c303a-80ca-4b98-aa14-2dc389c2ba4e."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Try_GI_FR_001__FLOW_2\" with ID 202db16e-efae-40df-912c-ea7d118c0f1a.",
          "title" => "Unpublish FR general inventory flow 2",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Try_GI_FR_001__FLOW_2\" with ID 202db16e-efae-40df-912c-ea7d118c0f1a."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Explore_MKT_FR_001__FLOW_2\" with ID 33b53229-f76f-420c-a5b7-760db88513f3.",
          "title" => "Unpublish FR marketplace flow 2",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Explore_MKT_FR_001__FLOW_2\" with ID 33b53229-f76f-420c-a5b7-760db88513f3."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Try_GI_EN_001__FLOW_2\" with ID 71e95143-536d-4350-ab8f-0ca704147a8e.",
          "title" => "Unpublish EN general inventory flow 2",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Try_GI_EN_001__FLOW_2\" with ID 71e95143-536d-4350-ab8f-0ca704147a8e."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Add_Imp_FR_001__FLOW_1\" with ID f126ea2c-eddd-4381-a913-7a25acf29a3c.",
          "title" => "Unpublish FR implant flow 1",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Add_Imp_FR_001__FLOW_1\" with ID f126ea2c-eddd-4381-a913-7a25acf29a3c."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Log_Steri_FR_001__FLOW_1\" with ID 8e2b6d1e-6623-4a8e-aa70-306ef9f8e70d.",
          "title" => "Unpublish FR sterilization flow 1",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Log_Steri_FR_001__FLOW_1\" with ID 8e2b6d1e-6623-4a8e-aa70-306ef9f8e70d."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Invite_Team_Member_FR_001__FLOW_1\" with ID 5992b337-8bad-44c3-87cf-2bd47da12d6c.",
          "title" => "Unpublish FR invite teammate flow",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Invite_Team_Member_FR_001__FLOW_1\" with ID 5992b337-8bad-44c3-87cf-2bd47da12d6c."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Upgrade_Plan_FR_001__FLOW_1\" with ID 3b57c7b9-6b83-4bd9-9bfa-700711c38d46.",
          "title" => "Unpublish FR upgrade plan flow",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Upgrade_Plan_FR_001__FLOW_1\" with ID 3b57c7b9-6b83-4bd9-9bfa-700711c38d46."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Book_Demo_EN_001__FLOW_1\" with ID 950582fc-f7cb-4ad3-a254-f32ffb5329ad.",
          "title" => "Unpublish EN book demo flow",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Book_Demo_EN_001__FLOW_1\" with ID 950582fc-f7cb-4ad3-a254-f32ffb5329ad."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Book_Demo_FR_001__FLOW_1\" with ID b6f5f4b4-8ba0-47e5-a162-4f5c02a4e50f.",
          "title" => "Unpublish FR book demo flow",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Book_Demo_FR_001__FLOW_1\" with ID b6f5f4b4-8ba0-47e5-a162-4f5c02a4e50f."
        },
        %{
          "cta" => "Unpublish",
          "prompt" => "Use the product_support unpublish_experience tool to unpublish the published flow named \"Quest_Request_Free_Trial_EN_001__FLOW_1\" with ID 13287ac6-a103-4db4-bc90-4976e3cb3bd2.",
          "title" => "Unpublish EN free trial flow",
          "undo_prompt" => "Use the product_support publish_experience tool to publish the flow named \"Quest_Request_Free_Trial_EN_001__FLOW_1\" with ID 13287ac6-a103-4db4-bc90-4976e3cb3bd2."
        },
        ...
      ],
      ...
    }
  ]
}

Errors

No Errors