25114754 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 1 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.170
Queue Time 06:43.016
Run Time 00:38.837
Inserted 8h ago
Scheduled 8h ago
Completed 8h ago (00:39)
Cancelled
Discarded

Args

%{
  "account_id" => "114894",
  "account_insight_agent_id" => "ce39b6cf-2949-4fef-be2c-59025f0b9002"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "partition" => true,
  "partition_key" => "xky/r1EGQTWi/omExwa4ZzdAm/4vwxJ7hXptSP4WwVA",
  "recorded" => true,
  "return" => "g1AAAAVMeJxtVNtuEzEQ7YWKkgrxC/O8aqKUIiF4pAKpQoKq6nvkeCdZt157a3uzXZ74CL6JN36Cd/6BM96QpKhStLHH3plzzpzZtLe3d9AdOZ841lj/uuaV4Y5Latq5NbHCyrhx1L5h4oeGg2GnOZK3JQdKlXJ0Th3zXSTlSlr4Fk/n8ZLSyayYTOI6TuiaUxscsimKxi0tU9UvkQsXXDTLKlFnUoXTbxz8WCNNosCxtYnmrFUbWbLuItBtCOyS7em+VdYsehQP1Lo1cBSZdC/XyeOsVElZENxPeJwI1RMB6N2sscrJ/ucXT9qycm1DJpJjLgE3ZGzOdxO68C4Z1zJY41zhR8G3CG256Ir1XRYiQMdoEpkFqbI0UknZR/hV4B2RAR1XA2tQ2rlGWUWTeiqDbyIlnwWCaKi+aKEp0/l0XKoe+rkSMIXK84FavJXNsU5qlvghdYfOWIm8QA2knJlyEzpZh1Lf8Cb4SnDoxOXM1A1SSuz+MzNw9L4NZKW/O1iNWyGNDz2JjLmh0AcSxjt0A7IxCNZ+BSH8gjTkFLLwUKKYjLWkmoZVyCznko7Q9oHQAuSQA+v9P5dZ3P9MWhSfrO/iKV2h5af0QTnHAQvpxYV0BfdSLIqhXMePxK994MHLRbF2M26qpZ+MRjeV3EXDvYPViuIMJ5uJ2KZ4JEOmqnR28QABTig9ml4UGDXJnZlupuT9aIyjG1XPraKvMNLHurG+Z8Zm7lUQ7nQVfIlXf3//QcJ1NLocClkVkwCfEmwA4Ke75cVSPpRZobN3b2iBN6G2CinfLIrX07dDUCVMajOEBTLuT4cT7YGGs6PkMHopAFHEwdspFGpPCrJRvWZOGduatthaB3wgglF5ePNg/ZslZTmk3P1juAgYOMoAH0hkxG6pllyjcjZ0YLESAA6Ob4LxyNvL5hAM5P8I/rYsq4vp0zCpUvBzpfL3awNQcG39sRY5w3omw5JTmxhbvv0L7dnOow",
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "AivkucwO7U3JLwO2wbMe7dshhNvic+YVQCJ+IU1y5+4",
  "workflow" => true,
  "workflow_id" => "019dd59b-11a3-7216-8011-52238ea75faf"
}

Recorded Output

%{
  insights_data: [
    %{
      "action_plan" => "No cleanup is needed right now. Continue this as a routine hygiene check and revisit if additional experiences are published or if recent experience activity drops to zero in a future 30-day window.",
      "actions" => [],
      "cta_text" => nil,
      "entity_id" => nil,
      "entity_type" => nil,
      "expected_impact" => "Keeps your live experience inventory lean without risking the removal of content that still appears to be in use.",
      "finding" => "I reviewed published **Flows, Pins, Banners, and Checklists** that were published more than **3 weeks** ago.\n\nThere is only **1** in-scope published experience in the account, and it does **not** appear inactive:\n- **Tambla One Employee Onboarding Prod** — Flow\n\nIn the last **30 days**, the account recorded **194 flow starts**, **207 flow attempts**, and **10 flow completions**, so there are currently **no published experiences** that meet the inactivity criteria for this hygiene alert.",
      "outcomes" => ["engagement", "retention"],
      "priority" => "low",
      "title" => "0 published experiences have had no activity for more than 30 days.",
      "type" => "issue"
    }
  ],
  notes: "Reviewed published in-scope experiences older than 3 weeks and found no inactive items. Returned a single hygiene insight with a zero-count result because no experiences currently qualify for unpublishing."
}

Errors

No Errors