Skip to main content

Find Customers Action

The Find Customers action searches for customers matching specified criteria and returns a collection of customers.

Jerome Bajou avatar
Written by Jerome Bajou
Updated over a month ago

Overview

The Find Customers action searches for customers matching specified criteria and returns a collection of customers.


Configuration

Filters (Optional)

Filter conditions to find specific customers. Supports multiple filters with AND logic.

Filterable Fields:

  • id, name, email, phone

  • country, city, region

  • created_at, updated_at

  • And more...

Limit (Optional)

Maximum number of customers to return. Default: 100


Output

Returns a customers array containing matching customers.

Accessing Results

Use in a Loop action:

Loop over: {customers}
Current item: {current_item}

Examples

1. Find by Email

Filters:
- Field: email
Operator: equals
Value: {search_email}

2. Find by Country

Filters:
- Field: country
Operator: equals
Value: US
Limit: 100

3. Find Recent Customers

Filters:
- Field: created_at
Operator: greater than
Value: {subtractDays(now(), 30)}
Limit: 50

Best Practices

  1. Use appropriate limits - Don't fetch too many customers

  2. Combine filters - Use multiple filters for precise searches

  3. Use in loops - Process each customer in a loop

  4. Test filters - Verify filters work as expected


Related Documentation

Did this answer your question?