How to correctly use "Search Companies" by query in make.com

Hey There

I am experiencing an issue when searching for a company by name using the Freshdesk Module “Search Companies” through Make.com

But I get this error

[400] Validation failed
◉ query: Given query is invalid, expected format “keyword:value OPERATOR keyword:‘string’ OPERATOR keyword:“string” OPERATOR keyword:>‘yyyy-mm-dd’ OPERATOR keyword:<integer”. Space is mandatory between key/value pair and operator. Please check the paranthesis if there are any.

I have tried a lot of different ways like name : ‘Lumber’ name:“Lumber” or query=name:‘lumber’ etc, I think at this point I need to check if someone in the forum was able to make this module work.

Hi @Daniel_Escobar ,

Here is how you can try
"created_at:>'2017-10-01' AND created_at:<'2017-10-07'"

Below is the cURL example:

curl -v -u yourapikey:X -X GET 'https://domain.freshdesk.com/api/v2/search/companies?query="created_at:>%272017-10-01%27%20AND%20created_at:<%272017-10-07%27"'

Regards,
Thakur

Using that way still gets error:

But something I have found is at least for looking for integers works fine, like here:

That’s enough to work with the scenarios we are doing right now, but it would be really nice if FD can provide some documentation on these make.com modules.