Actions134
- Activity Actions
- Activity Type Actions
- Call Actions
- Call Outcome Actions
- Comment Actions
- Company Actions
- Contact Actions
- Country Actions
- Currency Actions
- Deal Actions
- Document Actions
- Document Type Actions
- Industry Actions
- Note Actions
- Pipeline Actions
- Pipeline Stage Actions
- Product Actions
- Role Actions
- Source Actions
- Team Actions
- Timezone Actions
- Trashed Record Actions
- User Actions
Document Type → Search
AI-generatedSummary
Search LLW CRM document types by a query string, calling GET /document-types/search with the query passed as q. It returns matching document type records, either all of them or up to a limit.
Inputs
- Search Query (required) — Search string sent to the API as the
qquery parameter. - Return All — If true, the node follows pagination (page=1,2,...) until every matching result is fetched. Default false.
- Limit — Max results to return when Return All is off (1–250, default 50). Sent as
per_page, so only a single page is requested. - Additional Fields — Optional extra query parameters: Fields (comma-separated list of fields to return), Sort By (
order_by), and Sort Direction (order_dir, asc or desc).
Output shape
One n8n output item per matching document type record, with the record's JSON as the item's json. Each item is paired to the input item that produced it.
With Return All off, the node uses the response's
dataarray if present, otherwise the raw response. With Return All on, it pages through results and collectsdataarrays. If nothing matches, no items are emitted for that input. The operation runs once per input item. On error, the node throws, unless Continue On Fail is set, in which case it emits an item with anerrormessage. The exact fields of each record depend on the CRM API.
Examples
Example 1: Find a document type named 'Contract' to get its ID
Resource: Document Type, Operation: Search, Search Query: Contract, Return All: off, Limit: 10
Example 2: Export all document types matching 'invoice', sorted by name
Search Query: invoice, Return All: on, Additional Fields: Sort By = name, Sort Direction = Ascending