capabilities.work

Find or Create Customer

A 2-step recipe with Mews. We can help you get access.

Recipe · 2 steps

Find or Create Customer

with Mews · Guest Profile & Identity Management

Resolve a guest profile by name, creating it only if missing.

  1. Search for an existing guest profile by name before deciding whether to create a new one.
  2. Create a new guest profile when the search returned no matching customer.
What you'll need to have ready
  • clientToken: The Mews ClientToken identifying the integration.
  • accessToken: The Mews AccessToken identifying the enterprise.
  • client: The client application name and version.
  • name: The guest name to search for (e.g. "Smith").
  • firstName: First name used when creating a new profile.
  • lastName: Last name used when creating a new profile.
  • email: Email used when creating a new profile.
For your developer

Arazzo workflow mews-com:find-or-create-customer, 2 operations: customers_search → customers_add. Specs on APIs.io.