Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

105
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!