Hi @areej Welcome to the community
Can you check out this post here and let me know if this works for you? The code nodes should have what you need