The second use case in the Hubspot business scenario is event handling. This page describes the relevant tasks and the operations you use in the Hubspot connector and the other ESB connectors.
Overview
The flow for event handling is illustrated in the following diagram. The ESB connectors for Google Calendar will be used to connect to each service.
- Retrieve deals which are in the "Presentation Scheduled" stage from the Hubspot API using the getRecentlyModifiedDeals operation.
- Create an engagement of type "Meeting" in the Hubspot API using the createEngagement operation.
- Retrieve contact details from the Hubspot API using the getContactById operation.
- Using the createEvent operation, add a meeting in the Google Calendar API.
- Update the deal in the Hubspot API using the updateDeal operation.
Hubspot operations
Google Calendar operations