Actions21
Uniq → Check Exists
AI-generatedSummary
Checks whether a value exists in a Uniq collection.
Inputs
- name (required) — Unique identifier for the Uniq collection. Must contain only letters, numbers, hyphens, and underscores. Maximum 100 characters.
- value (required) — The value to check in the Uniq collection. Can be any string up to 255 characters (e.g., email, user ID, domain name).
- additionalFields.getUniqValueData — Whether to include additional metadata about the Uniq value in the output.
- additionalFields.uniqValueDataFieldName — The field name where Uniq metadata will be stored in the output JSON.
Output shape
result: { ...inputData [,
outputIndex: 0 if value exists (response.data.exists is true), 1 if not. When getUniqValueData is true, result includes a field named by uniqValueDataFieldName (default '8kit') containing response.data.value or response.data.
Examples
Example 1: Value exists in collection
name='myCollection', value='user@example.com', getUniqValueData=false → outputIndex=0, result contains merged input data
Example 2: Value does not exist
name='myCollection', value='new@email.com', getUniqValueData=true → outputIndex=1, result includes merged input data and __checkData field