With the action discussed in the task, I continue to slowly butt heads, but for now I set up the receipt of information in a different way. I share :-)
First, using the "Write value to additional field" action and variables, I created query parameters including "data=".
https://i.imgur.com/usbSLle.png/The text is:
data=%7B%22id%22%3A%22{|$orderid|}%22%2C%22params%22%3A%7B%22phonenumber%22%3A%22{|$clientphone|}%22%2C%22api_key %22%3A%22YourApiKey%22%2C%22name%22%3A%22{|$clientfio|}%22%7D%7D
Variable order numbers, phone number and full name of the client are already inserted in the text, and the text YourApiKey (blurred in the screenshot) must be replaced with your api key in its pure form (without quotes and brackets). And carefully with spaces in the request. With extra spaces (for example, around the key), I got the same 101st error in response.
Then, in the action "Run a GET request with parameters" in the GET URL, I wrote
http://blackbox.net.ua/api/, and in the GET Parameters - a variable for the additional field of the order, into which the request was inserted by the action above. The question mark between the URL and the parameters is inserted by the box itself, so I didn’t write it anywhere. Response text in an additional order field, only in another
https://i.imgur.com/S3R4d7p.png/And finally, if necessary, redirected the order to a special stage for cases with blacklisted clients. In the action "Change the business process and stage depending on the values of the fields", I checked the additional field of the order with the answer for the presence of the word data in the response text, because in case of an error or the absence of a client in the data array list, there is no response.
https://i.imgur.com/JXBjoPW.png/If you need to see the full answer, you can display an additional field in the order interface or open the order history.
The possibilities for processing the response with this method are much narrower, but at least some kind of automation already works :-)
ps: I have suspicions that the standard action "Submit a business process to the API" also inserts a question mark or something else between the URL and the parameters into the request, which is why the error. To check, you need to insert only "
http://blackbox.net.ua/api/" into the URL, and make sure that the parameters are in the form "data={...}". But I haven't figured out how to do it.