How to Add a Comment to Bitrix24 Deal Feed: A Guide
Problem: Adding a Comment to Deal Feed in Bitrix24
One of the common issues faced by users of Bitrix24 is adding a comment to the Deal feed. The problem arises when trying to use the 'Make an API Call' feature, where the system requires you to send specific fields in a certain format. However, the system often returns an error stating that the 'fields' parameter must be an array.
Solution: Using JSON Structure
The solution to this problem is quite simple. Instead of adding the fields in the Query string, you need to make it a JSON structure and put it in the body field. Here's a step-by-step guide on how to do it:
- Open your Bitrix24 account and navigate to the 'Make an API Call' feature.
- In the 'fields' section, instead of adding the fields in the Query string, make it a JSON structure. For example:
- Put this JSON structure in the body field.
- Click on 'Send' or 'Submit' to add the comment to the Deal feed.
{"ENTITY_ID”: DEAL_ID, "ENTITY_TYPE”: "deal”, "COMMENT”: "New comment was added”}
If you're unsure about the format of your JSON structure, you can use an online JSON editor, such as Onlinejsoneditor, to format and validate your JSON.
Troubleshooting Tips
If you're still facing issues, make sure that your JSON structure is correct. A common mistake is to forget to put the fields in quotes. Also, ensure that you're putting the JSON structure in the body field, not the Query string.
Conclusion
Adding a comment to the Deal feed in Bitrix24 can be a bit tricky, but with the right approach, it's quite simple. Just remember to use a JSON structure for the fields and put it in the body field. And if you're ever in doubt, use an online JSON editor to validate your JSON structure.
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.