Hello Community,
I am currently working on an automation setup in Make, where we are integrating our CRM system with Mindbody API to manage leads dynamically.
The Issue:
We are trying to correctly map the City, State, and Country fields in the CRM using the cities data from Lead form . However, the City, State, and Country fields are not populating as expected, and the automation fails to display them properly.
UTM Parameters:
We have set up UTM parameters for places like Google and Facebook, but the automation isn’t reflecting the correct data for these platforms. We need help ensuring that the automation correctly identifies and associates the leads with Facebook or Google sources, particularly when populating the City, State, and Country fields.
Automated Leads Reporting:
We need an automated leads reporting system that will specify whether the leads are coming from Facebook or Google. This should be reflected in the CRM properly. We are looking for a solution that will streamline this and automate the reporting process, especially when UTM parameters are involved.
Locker Studio:
We’re considering whether Locker Studio is the right tool for this use case. Can anyone provide insights on whether it’s suitable for managing the integrations and automations related to UTM parameters and dynamic field mapping?
What We’re Looking For:
- Help with debugging and fixing the City field mapping issue in Make and ensuring that dynamic data from UTM parameters is populated correctly.
- Fixing the issue with lead source detection, such as Facebook or Google, and automating the reporting process.
- Advice on whether Locker Studio would be helpful in this scenario.
Please provide your professional fees and an estimated time to resolve the issue.
If anyone has encountered this issue before or has experience troubleshooting UTM parameter-based field mapping, or automating leads reporting, any guidance or suggestions would be greatly appreciated!
Looking forward to your insights!
This is that one issues that I am having.
I’m encountering an issue when attempting to create a new client in the Mindbody API through Make. Despite providing the required fields, I receive a 400 Bad Request
response with the error:
{“Error”:{“Message”:“Request was poorly formatted.”,“Code”:“MissingRequiredFields”}}
{
“FirstName”: "
“LastName”: “,”,
“Email”: "
“MobilePhone”: "
“City”: "
“State”: “”,
“Country”: “”,
“Location”: “”,
“LeadChannelId”:
“IsProspect”: true,
“ProspectStage”: {
“Active”: true,
“Description”: “New Lead”,
"
},
“SendAccountEmails”: true,
“SendPromotionalEmails”: true,
“SendScheduleEmails”: true,
“HomeLocation”: "{
“ReferredBy”: “SEO”
}
- LastName Field: The error suggests that there is a formatting issue or a missing required field. In particular, the
LastName
is currently set as","
. This could be interpreted as missing or incorrectly formatted by the API. - Missing Fields: The error message
MissingRequiredFields
suggests that the API expects specific fields that might be missing or incorrectly named. TheCity
field, for example, is empty in theHomeLocation
section of the payload.
Next Steps:
- Review Required Fields: Mindbody may require more fields or stricter formatting for certain fields, such as
LastName
,City
, orHomeLocation
. I need to verify the exact required fields for creating a client. - Ensure Data Format: The
HomeLocation
field seems to contain improperly formatted data. Specifically, theCity
field withinHomeLocation
is empty, which could be one of the missing fields. - Debug the Request: I will try sending a simpler request with only the required fields (
FirstName
,LastName
,Email
, etc.) to determine if the error is caused by missing optional fields.
Questions for the Community:
- Has anyone encountered this issue when working with the Mindbody API in Make or Integromat? How did you resolve it?
- Are there any specific required fields for the client creation endpoint in the Mindbody API that I might be missing?
- Is there a way to better debug the request in Make, especially for ensuring that dynamic data (e.g.,
2.Location
,2.City
) is correctly mappe