LLW CRM icon

LLW CRM

Interact with LLW CRM API (Concord CRM)

Document Type → Search

AI-generated

Summary

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 q query 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 data array if present, otherwise the raw response. With Return All on, it pages through results and collects data arrays. 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 an error message. 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

Links

Discussion