I have a script that
- start with a list of IDs and email addresses
- for each ID, get existing contacts from HubSpot based on email
- if the contact exists, check if the ID matches the incoming one
3.1 if it doesn’t exist or exists and matches the input, update or create a record
3.2 if it exists but its ID doesn’t match, first replace email (so it won’t match next time) and create a new record
After step 3.2 the results should change for the next pass of the iterator at 2, with another email address, but they don’t. I suspect there’s a cache for the request or for the individual records.
Can the cache be cleared during the run?