Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

106
Vistas
Looping through a block and finding the value

I am new to javascript and I am having a difficulty in looping through a set of objects and arrays to find the right value that matches. Please refer the example below.

[
    {
        "C02G6A8HLJE": [
            {
                "reply_users": [ ],
                "reply_users_count": 0,
                "reply_count": 0,
                "ts": "1652781270.572469",
                "channel_name": "n8n-stage-test",
                "team_id": "T032648LE",
                "share_user_id": "U02BUBQ4C2H"
            }
        ]
    }
]

In the above set block the "C02G6A8HLJE" is not a constant value, meaning, every-time this values changes. Now what I want to do is to get the "ts" value inside this block. How can I achieve that. I tired for.each and other map functions which but I am ending up in errors.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda