Looking for help setting up workflow for Attorney

I’ve built a court order processing flow that extracts deadlines from PDF documents and writes them to Airtable. The flow successfully extracts case numbers, order titles, and deadline information (types and dates) using AI.

My main challenge is handling variable numbers of deadlines. Currently, I’m using multiple Get List Item nodes (13 pairs) to extract specific indexes from my deadline lists. This works when an order has exactly that many deadlines, but fails when there are fewer or more.

I need a more flexible approach that can:

  1. Process any number of deadlines from a single court order
  2. Properly pair each deadline type with its corresponding date
  3. Write all deadlines to Airtable without needing to specify exact indexes in advance

I’d appreciate guidance on restructuring this flow to handle variable-length data more elegantly.

thank you!

If anybody is willing to spent some time with me, i would be more than happy to compensate for the time. Would really appriciated.