Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Freshdesk connection the step signs in with. |
| QueryRequired | Freshdesk searches on agent_id, group_id, priority, status, type, tag, due_by, fr_due_by, created_at, updated_at, closed_at and any custom field by name. It understands AND, OR, brackets, :, :> and :<, and the word null. A query may be 512 characters and answers at most 10 pages of 30. |
| Fetch every page | Freshdesk stops at 10 pages of 30 results, whatever you set below. |
| Pages at most | 1 to 10. |
| Cursor | Paste a previous run's Next cursor to read the page after it. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `freshdesk`) |
query | text |
returnAll | true/false, by default false |
maxPages | number, by default 10used when `returnAll` is true |
cursor | text |
Output
| Field | Type |
|---|---|
tickets | array |
ticketCountTickets in this answer | number |
totalMatches Freshdesk counted | number |
hasMoreMore tickets are waiting behind this page | boolean |
nextCursorCursor for the next page | string |
Sample output, and the expression for each field
- hasMorefalse
- ticketCount0
- tickets[]
- total0
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"connection": "<connection id>",
"cursor": "",
"maxPages": 10,
"query": "<query>",
"returnAll": false
},
"label": "Search tickets",
"type": "freshdesk.searchTickets",
"version": 2
}Older versions
A flow that already has this version keeps running it. A new step always gets the newest.
Version 1
| Setting | What it is |
|---|---|
| ConnectionRequired | The Freshdesk connection the step signs in with. |
| QueryRequired | Freshdesk searches on agent_id, group_id, priority, status, type, tag, due_by, fr_due_by, created_at, updated_at, closed_at and any custom field by name. It understands AND, OR, brackets, :, :> and :<, and the word null. A query may be 512 characters and answers at most 10 pages of 30. |
| Fetch every page | Freshdesk stops at 10 pages of 30 results, whatever you set below. |
| Pages at most | 1 to 10. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `freshdesk`) |
query | text |
returnAll | true/false, by default false |
maxPages | number, by default 10used when `returnAll` is true |