Skip to main content

Update Customer Action

The Update Customer action modifies customer information such as contact details, address, and preferences.

Jerome Bajou avatar
Written by Jerome Bajou
Updated this week

Overview

The Update Customer action modifies customer information such as contact details, address, and preferences.


Configuration

Customer ID (Required)

The ID of the customer to update. Supports variables.

Updatable Fields

Contact Information

  • name - Customer name

  • email - Primary email

  • secondary_email - Secondary email

  • phone - Phone number

  • country - Country code

Address

  • address - Street address

  • city - City

  • region - State/region

  • zip_code - Postal code

Preferences

  • locales - Preferred languages (array or comma-separated)

Custom Attributes

  • extra_attributes - Custom key-value pairs


Output

Returns the updated customer object in the workflow context.


Examples

1. Update Email

Customer ID: {customer.id} 
Email: {new_email}

2. Update Address

Customer ID: {customer.id} 
Address: 123 Main St
City: New York
Region: NY
Zip Code: 10001

3. Update Preferences

Customer ID: {customer.id} 
Locales: en,fr

Best Practices

  1. Verify customer exists - Check customer ID before updating

  2. Validate email - Ensure email format is valid

  3. Preserve data - Only update fields that need changing

  4. Handle errors - Set up error notifications


Related Documentation

Did this answer your question?