Create External ID Field
sf_create_external_id_fieldCreate a custom external ID field on a Salesforce object to enable upserts and integration matching. The field is automatically marked as unique.
Instructions
Creates a custom field with externalId=true on a Salesforce object. External ID fields can be used for upsert operations and integration matching. The field is also automatically marked as unique.
objectName: object API name fullName: field API name ending in __c label: display label type: field type (Text, Number, Email, or AutoNumber) length: max length for Text fields
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Field data type | |
| label | Yes | Field display label | |
| length | No | Length for Text fields | |
| fullName | Yes | Field API name ending in __c | |
| objectName | Yes | Object API name, e.g. 'Account' | |
| description | No | Field description |