I have a form on my website that needs to trigger a 3rd party rest API. It then needs to wait for a response and capture the response on the Hubspot contact record. Please advise if this is possible and how to go about setting this up.
You could trigger the request using the onFormSubmit callback/global event, but these are non-blocking so you wouldn't easily be able to block the submission and wait for the response. Could you instead use the Forms API, so that you'd have more control over the submission?