Configure Hubspot
Hubspot gives you a choice of how to catch data modifications (creating, modifying, updating).
Webhook - this is a centralised location where you can list the changes you detect and then call an API.
Custom Workflow - triggers specific actions when certain conditions are met (changes in data detected).
Either work just as well, but we are going to look at the Webhook approach.
Webhook in Hubspot
The following screenshot shows two subscriptions that we've configured.
Created - when a company is created
name changed - when the name of a company is changed.
Obviously we can add all sort of other subscriptions.

In the Target URL, we place the URL of the Ziggy API we call to execute a Flow. This one Flow will handle all the requests, as we'll see in the next section. This url contains the Flow ID and an authorization key.
If we click on one of these, we can see the payload that will be sent.

Note the circled subscriptionId. We'll be using this in the Flow.