Closed knolleary closed 2 months ago
An alternative option would be for the contact us button to be configured to trigger a HS workflow that automatically notifies Sales. Need to understand the mechanics of that; presumably the button would need to trigger a platform API that in turn pings hubspot (rather than doing it directly in the page... not sure).
The implementation in #4343 requires the teamtype to be configured with the id of a hs form that should be submitted automatically when the 'contact' button is clicked.
Part of https://github.com/FlowFuse/customer/issues/233
Need to decide how much of this is configurable; eg the url the contact us button takes the user to, the text 'contact us' itself. We have successfully avoided hardcoding FFC specific choices into the billing code - and made things like this configurable.
The workflow would then be: