gmail.searchThreads returns each matching conversation once, even when several messages match the Gmail search query.
The action returns identifiers only. Pass a result to Get thread to retrieve and parse every message in the conversation.
Example
automations/find-customer-threads.automation.ts
Inputs
Inputs accept compatible signals.
Output
ReturnsSignal<ThreadIdentifier[]>:
limit or exhausts the search.
Choose Search
messages when you need
a separate result for each matching email. Choose
gmail.searchThreads when
you need one result per conversation.