Maybe I can help a little here. When you want to filter all tasks for each week, you need to find the timestamp for Monday 12am for your timezone first. After that, you need to use that timestamp in your query. For me, it looks something like this:
you can look for this yourself and experiment with it here.
For this week, in GMT+1 it would be 1693226642. HubSpot works in milliseconds, so you have to add some zeros at the end. So 1693226642000
You very likely need to have a function looking for the respective Monday midnight time. Depending on what you’re building, there is very likely a library for that.
Make sure you filter on due date. In my example, I used create_date. Sorry about that.
If you found this post helpful, consider helping others in the community to find answers faster by marking this as a solution. I’d really appreciate it.
Can you get into more detail where you’re at and what doesn’t work precisely? It is very hard for us in the community to diagnose problems remotely already, but if you provide the most information possible, we can usually work out something. That is especially true for development stuff.