Actions14
Item → Search
AI-generatedSummary
Searches items in a chosen ProjectFlow project by a text query and returns the matching items, optionally capped by a limit.
Inputs
- authentication — Credential type: Personal Token (default) or OAuth2. It also determines which credential supplies the base URL.
- projectId (required) — Project to search in, chosen from a list loaded from the API or given as an ID via expression. Sent as the
projectIdquery parameter. - query — Search text, sent as the
qquery parameter. Defaults to an empty string. - returnAll — If true, returns every result the API sends back. If false (default), the results are truncated to Limit.
- limit — Maximum number of results to return when Return All is off. Default 50, minimum 1.
Output shape
One output item per matching ProjectFlow item. The JSON is the item object as returned by the API.
Sends GET /api/v1/items/search?projectId=...&q=.... The limit is applied client-side by slicing the returned array, so the API still returns the full result set. If the API response is not an array, it is passed through as-is without limiting. Runs once per input item. With Continue On Fail enabled, errors are emitted as an item with an
errormessage.
Examples
Example 1: Find bug reports mentioning 'login' in a project
Select the project, set Search Query to 'login', Return All off, Limit 20.
Example 2: Check for duplicate items before creating a new one
Set projectId and Search Query to an expression like {{ $json.title }}, then follow with an IF node on the result count.