FlowmageDocs

Find companies

BetaReads data

Lists or searches Freshdesk companies.

Settings

SettingWhat it is
ConnectionRequiredThe Freshdesk connection the step signs in with.
How to find them"list" or "search" or "autocomplete"
QueryFreshdesk searches companies on name, domain, created_at, updated_at and any custom field by name. A query may be 512 characters and answers at most 10 pages of 30.
Name starts withtext
Companies per call1 to 100. A filter query always answers pages of 30.
Fetch every pageRefuses past 5,000 companies rather than answering a short list. Name completion answers one page and never pages.
Pages at most1 to 10.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `freshdesk`)
mode"list" or "search" or "autocomplete", by default "list"
querytextused when `mode` is "search"
nametextused when `mode` is "autocomplete"
limitnumber, by default 100
returnAlltrue/false, by default false
maxPagesnumber, by default 10used when `mode` is "search"

Output

FieldType
companiesarray
companyCountCompanies in this answernumber
hasMoreMore companies are waiting behind this pageboolean
nextUrlFreshdesk's link to the next pagestring
Sample output, and the expression for each field
  • companies[]
  • companyCount0
  • hasMorefalse
  • nextUrl""

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>",
    "limit": 100,
    "maxPages": 10,
    "mode": "list",
    "name": "",
    "query": "",
    "returnAll": false
  },
  "label": "Find companies",
  "type": "freshdesk.findCompanies",
  "version": 1
}