In this article, you'll learn how to configure web forms in Mister James to automatically create deals in your sales pipeline. You'll learn how to send data to the WebForm endpoint via HTTP POST and how to create mappings to correctly allocate the received data in Mister James.
Field mappings are required to correctly transfer the received data to the corresponding fields in Mister James. The following describes how to create the mappings:
Example 1: Simple JSON data
{"firstname”: “Max”, “lastname”: “Sample man"}
Example 2: Complex JSON data (e.g. from Google Ads lead form)
{
“user_column_data”: [
{“column_name”: “firstname”,
“string_value”: “MAX”,
“column_id”: “FIRST_NAME”
},
{“column_name”: “lastname”,
“string_value”: “Sample man”,
“column_id”: “LAST_NAME”
}]
}
user_column_data.column_id = first_name? string_value
user_column_data.column_id=last_name? string_value
For simple JSON data, it is sufficient to specify the exact name of the JSON keys. For complex JSON structures, such as in the second example, you'll need to use a more specific syntax:
user_column_data
).column_id=first_name
to find the right element in the data structure.? string_value
to select the actual value.After you've configured the mappings, you can test the WebForm by sending an HTTP POST request to the endpoint. Make sure that the data is displayed correctly in Mister James and that a new deal has been created in the sales pipeline.
By creating and configuring WebForms in Mister James, you can efficiently integrate incoming data into your sales pipeline. Configuring the mappings correctly is critical to ensure that the data is correctly mapped. With the steps described above, you can ensure that your WebForms are working optimally.