New custom field in the Deal property

In HubSpot, I created a new property for Deal. I tried two options: utm_source and source_test, where I record a custom data source.

I am sending the request using the POST method. I receive a message confirming the successful submission of the form, and the new deal appears in the CRM Deal, but HubSpot doesn’t recognize my fields (utm_source or source_test), and they remain empty.

My site is on WordPress. Is it possible that additional changes need to be made in the plugin?
My goal is to send a custom property with my value along with the form submission.

@OKonivnenko - just confirming here. You have defined a HubSpot form, embedded the form an a WP site page, and are expecting query parameters on that page URL to auto-populate your new deal properties on that form?

I’ve done a fair amount of work with capture of query parameters, but always on contact properties. I’m certainly curious about what it would take to get this setup functional.

Steve

I created a new property in HubSpot called source_test. I also added a new field in my POST request, which is sent along with the form submission, also named source_test. I expected HubSpot to record the data I send in it, but it’s not working as expected.

Additionally, I noticed that in the request I’m sending, there’s a field called your-name, but in HubSpot, it corresponds to the dealname property. There must be a place to configure the mapping so that your-name=dealname.

@OKonivnenko - I apologize, but I’m definietely confused on your logic here. In order for the community to help you, I think we would need more information on the POST request you mention - what API call, what parameters, etc.

Steve

Sure, of course.

I’m sending a request to https://my_domen.com/wp-json/contact-form-7/v1/contact-forms/14780/feedback.
In the Headers, I have Content-Type set to application/x-www-form-urlencoded.

In the Body, I have the following parameters: your-position - CXO, your-service[] - Customer support, your-phone - phone number digits, your-email - test@gmail.com, g-recaptcha-response - captcha data, your-name - Test, and my test field source_test - organic.

I want HubSpot to receive source_test in a property with the same name.