Mastering Make.com: A Comprehensive Guide to Updating Custom Fields in Kommo CRM Using Make an API Call
Hey there, Make.com users! Today, we're going to tackle a common problem some of you might have encountered - updating custom fields in Kommo CRM using the Make an API Call method. Don't worry if you're not familiar with this, we'll walk you through it step by step.
Understanding the Problem
So, you're trying to update custom fields in Kommo CRM. You've tried using the PATCH method in Make an API Call, but you keep getting a 400 Bad Request error. Frustrating, right? Well, let's see if we can sort this out.
Step-by-Step Solution
First, let's look at the body of your request. You might have started and ended it with square brackets, which might not be correct. Try removing these brackets and see if that helps.
If you're still getting an error, it's time to dive a little deeper. According to the Kommo API documentation for Updating custom fields, you can update a singular custom field by adding the field ID into the method URL. If you're updating multiple custom fields, you'll pass an array of field objects. Make sure you're sending the required fields in the request. If you don't, or if you send a property it wasn't expecting, you'll get a 400 error.
Troubleshooting Tips
If you're still having trouble, here are a few more things to try:
- Make sure there are no spaces before the first bracket and after the last bracket in your request. This could make it invalid JSON.
- Try using the Make/Integromat Dev Tool to view the full error message from the module. This might give you more insight into what's going wrong.
- If all else fails, you might need to contact Kommo support for further assistance.
Success at Last!
After some trial and error, you might find that the solution is to remove the code field in the body of your request and replace it with an ID. Even though the Kommo docs don't mention this, it seems to work. With this change, your request should successfully update the custom field in Kommo.
Wrapping Up
And there you have it! Updating custom fields in Kommo CRM using Make an API Call can be a bit tricky, but with a little patience and persistence, you can get it done. Remember, if you're ever stuck, don't hesitate to reach out for help. The Make.com community is here to support you. Happy making!
You do have further questions?
Ask your question via E-Mail: Richard@make-app.de
Book a paid Support & Consulting Session
New Make.com user? Sign up through this Affiliate Link to receive 10.000 operations for FREE.