Freshworks Component is designed to connect with different Freshworks products using API
Current release of component tested with following Freshworks products API versions:
Component credentials configuration fields:
domain
.freshdesk.com/ where domain
is your domain nameRetrieve all the updated or created objects within a given time range.
Ticket
.Last Modified
or Created
Emit individually
): Defines the way result objects will be emitted, one of Emit page
or Emit individually
.There is no input metadata in this trigger.
Depends on Emit behavior
field:
Emit behavior
field is equal to Emit page
- object with property results
that contains array of objectsEmit behavior
field is equal to Emit individually
, object information will fulfill whole messageList All
endpoint (for example - List All Tickets) to get maximum records.List All Tickets
is limited to 9000 records, other Object Types unlimited.Filter
endpoint (for example - Filter Tickets)Filter
endpoint is limited to 300 recordsPage Size
reduced to 10 and component will stop after emitting first pageDelete an object by a provided ID.
Ticket
.Emit nothing
by default) - select one of options to handle case when file not exist:
{}
Depending on the Emit strategy when object not found
configuration an output message can be either empty ({}
) or:
Search for object by a provided ID. There should be either 1 (found) or 0 (not found) results.
Ticket
.Result object of view (find) operation.
Lookup a set of objects using a defined criteria list. Can be emitted in different ways.
Object Type - (dropdown, required): Object type to lookup on. E.g Contacts
.
Emit all
, Emit page
or Emit individually
.Filter Expression
. For advanced users.If configuration field Expert Mode for Filter Expression
is enabled:
Filter Expression - (strings, required): If checked, any query can be entered here. For advanced users.
Example for Freshdesk Contacts: unique_external_id:null AND created_at:>'2022-07-13'
, more info
If configuration field Expert Mode for Filter Expression
is disabled:
Depend on configuration field Number of search terms
. If = N
- N search term and N-1 logical operators will be generated, if = 0 - any search term will be generated.
Example for Freshdesk product where Number of search terms = 2
:
{
"sTerm_1": {
"fieldName": "unique_external_id",
"condition": ":",
"fieldValue": "null"
},
"link_1_2": "and",
"sTerm_2": {
"fieldName": "created_at",
"condition": ":>",
"fieldValue": "2022-07-13"
}
}
If selected Emit Behavior
- Emit page
is selected - additional fields may be added (if the Freshworks product and selected Object Type
support it):
In some cases, here may be only one filed to search, for example in Freshdesk if selected Object Type
is Company
, there will be only one field for input metadata:
For Emit All
and Emit Page
mode: An object, with key results
that has an array as its value.
For Emit Individually
mode: Each object which fill the entire message.
Freshdesk:
Contact
and Ticket
each API call can get up to 30 records, in total maximum results is 300 records (API allows to get 10 pages with 30 records each)Company
if you provide name to search, there will be additional API call for each record to extract full information, deleted companies will not be included in the resultsExecutes custom request.
false
.For example: to get user information from freshdesk you need to put /agents/me
or httрs://domain.freshdesk.com/api/v2/agents/me
in this field
GET
, POST
, PUT
, DELETE
.Updates (if record found) or creates a new object.
Ticket
.Object Type
.Result object from upsert.
avatar
and attachments
fieldsClick here to learn more about the elastic.io iPaaS