Update Customer Info
Modify WooCommerce customer profile and address information.
Overview
The Update Customer Info action modifies a WooCommerce customer’s profile, including billing and shipping addresses. This is useful for syncing customer data from external systems.
Configuration
Required Fields
| Field | Type | Description |
|---|
| Customer | integer | Customer user ID or email |
Optional Fields
Billing Address
| Field | Type | Description |
|---|
| Billing First Name | string | First name |
| Billing Last Name | string | Last name |
| Billing Company | string | Company name |
| Billing Address 1 | string | Street address |
| Billing Address 2 | string | Apartment, suite, etc. |
| Billing City | string | City |
| Billing State | string | State/Province code |
| Billing Postcode | string | Postal code |
| Billing Country | string | Country code |
| Billing Email | string | Email address |
| Billing Phone | string | Phone number |
Shipping Address
| Field | Type | Description |
|---|
| Shipping First Name | string | First name |
| Shipping Last Name | string | Last name |
| Shipping Company | string | Company name |
| Shipping Address 1 | string | Street address |
| Shipping Address 2 | string | Apartment, suite, etc. |
| Shipping City | string | City |
| Shipping State | string | State/Province code |
| Shipping Postcode | string | Postal code |
| Shipping Country | string | Country code |
Example Configurations
Sync from CRM
Customer: {{Trigger.customer_email}}
Billing First Name: {{Trigger.crm_first_name}}
Billing Last Name: {{Trigger.crm_last_name}}
Billing Phone: {{Trigger.crm_phone}}
Billing Company: {{Trigger.crm_company}}
Customer: {{Trigger.user_id}}
Billing Address 1: {{Trigger.fields.address}}
Billing City: {{Trigger.fields.city}}
Billing State: {{Trigger.fields.state}}
Billing Postcode: {{Trigger.fields.zip}}
Copy Billing to Shipping
Customer: {{Trigger.customer_id}}
Shipping First Name: {{Trigger.billing.first_name}}
Shipping Last Name: {{Trigger.billing.last_name}}
Shipping Address 1: {{Trigger.billing.address_1}}
Shipping City: {{Trigger.billing.city}}
Shipping State: {{Trigger.billing.state}}
Shipping Postcode: {{Trigger.billing.postcode}}
Shipping Country: {{Trigger.billing.country}}
Output Data
| Variable | Type | Description |
|---|
{{Action.customer_id}} | integer | Customer ID |
{{Action.updated_fields}} | array | Fields that were updated |
Best Practices
- Validate addresses before updating
- Use proper country/state codes
- Keep addresses in sync with orders
- Log changes for customer service