I have a Drupal 9 site with 2 different webforms created. I have the HubSpot module (https://www.drupal.org/project/hubspot) installed and is actively connected to my HubSpot developer account with matching scopes. I have created a form in my main HubSpot account that matches one of my forms on the website (contact form to be specific).
The module explains how you can add a 'Hubspot Handler' to a form, then map the fields. I am unable to map any fields to the form I created. None appear and I cannot save the handler. I do however, receive worthless submissions(screenshot below) of my website forms for each time a submission is entered. I want to map from site form to hubspot form, therefore giving me the ability to capture the contact information as leads. Please guide me! I'm willing to hop on a zoom or anything at this point! Thanks!
I guess this is the backend setting of the form, can you please show me the form so that I can tell you which form fields you can sync to HubSpot and how can you fetch them.
There are 2 forms I wish to sync with Hubspot. A newsletter and a contact form, very basic. Again, my Drupal Hubspot module is successfully connected to the Hubspot developer account where I have the app and scopes to match. I just can't seem to get the fields to show up in Drupal to map them. See screenshots.
Thank you for your reply. This screenshot is from within the settings/handlers section of one of my webforms. I am able to see a non hubspot form I created (New Contact Us) but unable to see any of the fields it has. Any suggestions?
To map data in HubSpot form from a non-HubSpot form firstly, you have to fetch the data or form fields of the non-HubSpot form from your site then, you have to map the data to HubSpot using forms API.