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
Trashed Record → Search
AI-generatedSummary
Searches soft-deleted (trashed) LLW CRM records of a chosen type by a query string, via GET /{resourceType}/trashed/search with q set to the query.
Inputs
- Resource Type (required) — Kind of trashed record to search: activities, calls, companies, contacts, deals, documents, notes or products. Default is contacts.
- Search Query (required) — Search string, sent as the
qquery parameter. - Return All — If true, pages through all results (page=1,2,… until the API reports no more pages). Default false.
- Limit — Max results when Return All is off (1–250, default 50). Sent as
per_page. - Additional Fields — Optional extras passed straight through as query parameters: Fields (comma-separated list of fields to return), Sort By (
order_by), Sort Direction (order_dir, asc or desc).
Output shape
One n8n output item per matching trashed record, each paired to the input item that produced it.
With Return All off, the node reads the response's
dataarray if present, otherwise the raw response. Only the first page is fetched, capped by Limit. With Return All on, all pages are collected. The operation runs once per input item. If 'Continue on Fail' is enabled, errors become an item containing anerrormessage. The exact record fields depend on the CRM API.
Examples
Example 1: Find a deleted contact by email before restoring it
Resource: Trashed Record, Operation: Search, Resource Type: Contacts, Search Query: jane@example.com, Limit: 10
Example 2: List all trashed deals matching a keyword, newest first
Resource Type: Deals, Search Query: renewal, Return All: true, Additional Fields: Sort By=created_at, Sort Direction=Descending