AirysChat icon

AirysChat

Consume AirysChat API

Actions3

Contact → Search or Create

AI-generated

Summary

Search for a contact by phone number and create it if not found, updating existing contacts with provided name, email and custom attributes

Inputs

  • phoneNumber (required) — Phone number to search for (e.g. +5511999999999)
  • name (required) — Name to use if creating a new contact
  • email — Optional email for the contact
  • customAttributes — Custom attributes to add to the contact (key/value pairs)

Output shape

list of items, each with a json field containing the contact data or API response

Errors are thrown unless continueOnFail is enabled; when enabled, error cases return an item with an error field.

Examples

Example 1: Add a new contact with phone +5511999999999 and name John Doe

Set Resource to Contact, Operation to Search or Create, fill Phone Number and Name (optional Email and Custom Attributes).

Example 2: Update an existing contact's name and email

Provide Phone Number to locate the contact; fill Name and Email to update the found record.

Links

Discussion