sf_create_user
Creates a Salesforce user with required fields: username, last name, email, alias, and profile ID. Obtain profile ID using sf_read tool first.
Instructions
Create a Salesforce user.
Required fields: Username (must be unique and email-format), LastName, Email, Alias, ProfileId, TimeZoneSidKey, LocaleSidKey, EmailEncodingKey, LanguageLocaleKey.
Get ProfileId first: sf_read read_type="query" soql="SELECT Id, Name FROM Profile WHERE Name='Standard User' LIMIT 5"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | Must be unique globally across Salesforce — typically user@company.sandbox or user@company.com | |
| first_name | No | ||
| last_name | Yes | ||
| Yes | Notification email (can differ from username) | ||
| alias | Yes | Short alias (max 8 chars, e.g. "jsmith") | |
| profile_id | Yes | Profile sys_id — use sf_read to find it | |
| title | No | ||
| department | No | ||
| phone | No | ||
| is_active | No | ||
| time_zone | No | America/New_York | |
| locale | No | en_US | |
| email_encoding | No | UTF-8 | |
| language | No | en_US | |
| extra_fields | No |