Hi Community
I would like to create a scenario where I search for a record in hubspot, create one, of no record was found and use either ID in further modules. What is the best way to do this? I managed to do it with error handlers but think this could be done better.
Chris
Hey @ChrisBurger,
Although your question isn’t completely clear, I’m assuming you want to create a new hubspot record if no record.
Here’s a screenshot of how I built it:
After the first hubspot search module, using filter I routed:
- if found then use the ID
- If not found then create a new contact/deal whatever you want.
1 Like
Hi
Thanks for this. I wanted to just skip creating, if the record is found and not to replicate all steps with a router.
I tried it with an array aggregator but it did not work. I was not able to take either Record ID.
Hi @make_expert,
I’m trying to create a similar approach with a Spreadsheet Watch module. What query did you use to check if the email already exists in Hubspot?
I’m trying {email}=“email(C)” with email(C) from the spreadsheet module but it’s not working. Airtable for example has a page dedicated to formulas. It appears that Hubspot doesn’t.
Thanks