Replicate Workflow Webhook functionality using Workflow Extensions?SOLVE
We have an integration that uses OAuth and Creates a number of Landing Pages and a Workflow. The Workflow has enrollment based on a Form Submission which then triggers a Webhook to push the Contact data to our systems.
As Workflow Webhook functionality has been removed for new Professional level accounts (as of Nov 2018) we are looking at trying to replicate this functionality with Workflow Extensions.
I've done some invetsigation and some tests with Workflow Extensions and have a few questions regarding their functionality.
1) Can a Workflow be created containing a From Submission enrollment and a Workflow Extension via the API. In other words without a user having to manually add the extension to the workflow themselves?
2) If yes to the above, can the fields to be passed that would normally be configured via the UI be configured via the API? e.g. a couple of static text fields (to identify the form / workflow) and a couple of Contact tokens.
3) If the above is not possible, is there any other way to get HubSpot to push Contact Data to our system upon the submission of a particular form? It would need to push all or at least a specific subset of the Contact fields (Email, First Name and Last Name) as well as the name of the form that had triggered the push. I've looked at Webhook Subscriptions but they don't seem to include Form Submission as an Event.
4) How would it be possible to replicate the functionality of a Professional level account for testing purposes? We have an Enterprise account and I have a number of other Developement accounts. I need to be able to hit a test account and have it reject the Workflow Webhook creation request in the same was as a Professional level account would. I see for our logs that it returns a BadRequest status so I could spoof that, but I can't really test that any new solution would fully work for Professional accounts.
Many thanks for any help anyone can give.
Solved! Go to Solution.