How to sync related airtable data between hubspot?

I have airtable tables: contacts, companies, opportunities, tasks, groups. Some contacts can have one or more companies, groups, tasks, opportunities.

I work mostly in Airtable since I have other data aggregated there. I would like two way syncing between my relational airtable data and hubspot. I really use airtables related record features.

For some reason, I can’t figure out how to iterate through multiple related record IDs in Airtable.

I am creating or updating the contact in hubspot (saving the hubspot ID if the record was correct (forgot to add this in the screenshot).

But a lot of the times I am updating the related records. So I assume I need to get related company IDs and handle that logic? But not sure whats the best way of going about this.



Hello anyone please?