Set Preferred Contact
Perform Set Preferred Contact through Essette.
essette_set_preferred_contactwriteessette
Inputs
- Essette Account Id
essette_account_idselectrequireddynamic optionsRequired selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
Default:
"primary" - Auth Id
auth_idexpressionrequiredRequired literal value or workflow expression.
- Contact Name
contact_nameexpressionrequiredRequired literal value or workflow expression.
emailexpressionOptional literal value or workflow expression.
- Phone
phoneexpressionOptional literal value or workflow expression.
- Phone Extension
phone_extensionexpressionOptional literal value or workflow expression.
- Fax
faxexpressionOptional literal value or workflow expression.
Outputs
successSuccessauth_idAuth IderrorErrorerror_messageError Message
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"essette_account_id",
"auth_id",
"contact_name"
],
"properties": {
"fax": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"email": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"phone": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"auth_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"contact_name": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"phone_extension": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"essette_account_id": {
"type": "string",
"default": "primary",
"description": "Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
"x-dynamic-options": true,
"x-workflow-field-type": "select"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"auth_id": {},
"success": {},
"error_message": {}
},
"additionalProperties": true
}