Automating matching object types with email field

Hey gang! New to Attio and loving it so far. I am struggling a bit on automations and was curious if the group had any advice.

I’m trying to connect an Invoice object to a Person object automatically. They both should have matching email addresses (the Invoices including emails are coming in from Stripe via Zapier), but I’m struggling to figure out which variables to use or how to tell the tool:

  1. Fetch the client_email field in the Invoice object

  2. Look up that same email in the Person object

  3. If there’s a match, update the Person relationship

  4. Else do nothing

I shot a short video showing what I’m trying to do

Let me know your thoughts. Thanks!