Aggregate existing pages with new one

What I want to achive:

  1. Check if there’s new page in time log database.

  2. If 1. Filtered out the page with same date to new page in Daily Summary

  3. Combine existing page with new page

  4. Update relation-Time log in Daily Summary

Issue:

I managed to get every thing done until 3. . I can’t figure out how to transform a series of id object into an array of ids. No matter what I choose to aggregate the output always go nested with array and id objects(non pure id text). Is there any procedure to make proper aggregation of page ids??

It’s fruaustrating since data type in make.com messed me up big time, it took 2hrs of trying to get date comparision done.

Integration Notion.blueprint.json (207.8 KB)