Search Email

messaging · A281 · starter-package 7.0.1

Search a mailbox and return the matching messages and count.

Inputs

  • Provider endpoint (profile, text; validated HTTP(S) URL; required; unbounded-2048; maximum 2048)
  • credential — Provider credential: text; optional; connect Credential output from an earlier block; the text contains its item ID; credential.secret.
  • Search query (query, text; required; unbounded-4096; maximum 4096)
  • limit — Limit: number; optional; whole numbers only; 1-200.

Settings

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

%%GENERATEDHTML%%0%%## Outputs

  • messages — Messages: any; available after success.
  • count — Count: number; available after success; whole numbers only; 0-200.

Behavior and safety

The block connects to the Provider endpoint and uses the optional connected credential. Inputs are checked before the action starts. If the settings, connection, provider, or response are invalid, the workflow stops at this block with a clear message.

Exact settings reference

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
profileProvider endpointtextEmpty text—
querySearch querytextareaEmpty text—
limitLimitnumber501–200; step 1

Example workflow

Configure the Provider endpoint for the service that accepts this messaging operation. Supply a search expression supported by your mail provider to query and set limit to 50. Feed messages to a list iterator and use count to detect an empty result.

Troubleshooting

Check the required values and Provider endpoint, then confirm that the external service is reachable. If Provider credential is connected but unavailable, reconnect the credential output from the earlier block.