Freshworks CRM Node

Describe the issue/error/question

Freshworks CRM API does not return the objects when ?include= is used. Only the Ids. What is the procedure to improve someone else Node?

What is the error message (if any)?

If I use Postman to connect to Freshworks API and use ?include= after the deal id, it returns the Deal plus the additional objects I requested:

As example I will use the API to get a deal by id, including the contacts and owner.
In postman the response is the following;

GET: https://domain.myfreshworks.com/crm/sales/api/deals/11111111111?include=owner,contacts
RESPONSE:
{
“users”: [
],
“contacts”: [
],
“deal”: {
}
}

Please share the workflow

BUT in n8n the response is stripped out of the users and contacts part giving us only the deal and their Id’s

image

We see in the node the code doesn’t include these values, and is only set to return the deal.

The problem is that their is not an API end point to return such objects as the User. The only way to get this is via ?includes=users

The solution is to add repsonseData = responseData.users; and other items to the node which are only included when the ?includes is called

Hi @markhanson, many thanks for sharing! I’ve converted this into a feature request so you and other users can vote on including the requested additional data in the Freshworks CRM node :slight_smile:

Seeing you have this working in Postman and until this becomes part of the node, you can also use the HTTP Request node to call the Freshworks CRM API directly from n8n with the required URL parameters and then have access to the full response data.

1 Like