Update User
Modify existing WordPress user profiles.
Overview
The Update User action modifies an existing WordPress user’s profile information. Use this to sync user data, update metadata, or modify profile fields based on triggers.
Configuration
Required Fields
| Field | Type | Description |
|---|---|---|
| User | select/integer | User to update (ID or email) |
Optional Fields
| Field | Type | Description |
|---|---|---|
| string | New email address | |
| First Name | string | First name |
| Last Name | string | Last name |
| Display Name | string | Public display name |
| Website | string | Website URL |
| Bio | string | Biographical info |
| Nickname | string | Nickname |
Finding the User
By User ID
User: {{Trigger.user_id}}
By Email
User: {{Trigger.billing.email}}
From Previous Action
User: {{Action1.user_id}}
Example Configurations
Sync from CRM
User: {{Trigger.user_email}}
First Name: {{Trigger.crm_first_name}}
Last Name: {{Trigger.crm_last_name}}
Website: {{Trigger.crm_website}}
Update from Form
User: {{Trigger.user_id}}
First Name: {{Trigger.fields.first_name}}
Last Name: {{Trigger.fields.last_name}}
Bio: {{Trigger.fields.bio}}
Update Display Name
User: {{Trigger.user_id}}
Display Name: {{Trigger.first_name}} {{Trigger.last_name}}
User Meta
Update custom user meta fields:
User: {{Trigger.user_id}}
Meta:
phone: {{Trigger.fields.phone}}
company: {{Trigger.fields.company}}
department: {{Trigger.fields.department}}
Output Data
| Variable | Type | Description |
|---|---|---|
{{Action.user_id}} | integer | Updated user ID |
{{Action.updated_fields}} | array | List of fields updated |
Partial Updates
Only specified fields are updated:
# Only updates first name
User: 123
First Name: John
Best Practices
- Verify user exists before updating
- Log changes for audit purposes
- Validate email formats
- Consider notification triggers
Common Use Cases
- CRM sync - Keep WordPress users synced with CRM
- Profile completion - Update from form submissions
- Data migration - Bulk user updates
- Integration - Sync with external systems