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

FieldTypeDescription
Userselect/integerUser to update (ID or email)

Optional Fields

FieldTypeDescription
EmailstringNew email address
First NamestringFirst name
Last NamestringLast name
Display NamestringPublic display name
WebsitestringWebsite URL
BiostringBiographical info
NicknamestringNickname

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

VariableTypeDescription
{{Action.user_id}}integerUpdated user ID
{{Action.updated_fields}}arrayList 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

  1. CRM sync - Keep WordPress users synced with CRM
  2. Profile completion - Update from form submissions
  3. Data migration - Bulk user updates
  4. Integration - Sync with external systems