Calendly<>HubSpot Scenario keeps failing

I built a scenario that takes a book Calendly meeting and creates a deal in HubSpot and then associates that deal with the relevant contact in HubSpot.

I made the scenario 3 times- 1 for each rep. I am confused because when I sample book a meeting and “run once” in Make, the scenario is successful. Even when I turn on the scenario on to “run as data arrives” and book a sample Calendly meeting-- it’s successful.

However, within an hour or two, after I’ve saved and left it on its own-- the scenario fails. I receive an email notification and then the scenario is automatically turned off. I’m new to Make and very confused by it keeps failing when my test runs are all successful.

The error I get is: - Missing value of required parameter ‘fromObjectId’.

The scenario is as such:

  1. Watch for Calendly event created
  2. Create a Deal in HubSpot
  3. Search for CRM Object (Contact) in HubSpot. Because of my HubSpot<>Calendly integration, when a meeting is book, a contact is auto-created so it should already exist.
  4. Create Association in HubSpot

Thank you in advance

Hey @Vasiki! Thanks for this post. This behavior makes me think that there may be a conflict in the processing of the contact object creation and the meeting/deal association. I’d love to get some insight from some of our subject-matter experts.

Hey @Teun, @ChrisoKlepke, @Bortami do any of you have troubleshooting tips for this type of error with these object associations?

Best,
Kennedy

What is the timing between contact creation and this workflow? If the contact is brand-new, there is a delay in the CRM Search endpoint before the contact will be found.

My next step in troubleshooting would be to follow a contact’s timing from meeting booked/contact creation and when this workflow searches for the contact.

Alternatively you could reconfigure and get the contact directly before the association using the GET Contact endpoint instead of the CRM Search endpoint. I don’t work in Make, so maybe their connector is not up to date yet, but if you can do a raw GET to /crm/v3/objects/contacts/{email}?idProperty=email. That would return the contact record for you to retrieve the id without having to wait on the CRM Search endpoint to index the new record. I am assuming the event trigger gives you the email address.

I ended up adding a delay timer after between the modules. That was the issue, the automation from Make was processing before HubSpot had a chance to process the contact creation.

Wonderful! I glad that solved it for you!