> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.salesforce.crm.UpdateContact

- Component: `appmixer.salesforce.crm.UpdateContact`
- Kind: Action
- Version: 1.1.2
- Visibility: Public
- Connector: [appmixer.salesforce 1.7.7](https://connectors.appmixer.com/connector/appmixer.salesforce/1.7.7.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.salesforce/1.7.7/component/appmixer.salesforce.crm.UpdateContact>

Update a contact in Salesforce.

## Input ports

### Port `contact`

| Field | Type | Description |
| --- | --- | --- |
| Contact (`contactId`) | text | Select contact to update. |
| Account name (`accountId`) | text | Select account name. |
| Salutation (`salutation`) | select | Honorific abbreviation, word, or phrase to be used in front of name in greetings, such as Dr. or Mrs. |
| First name (`firstName`) | text | First name of the contact. |
| Last name (`lastName`) | text | Last name of the contact. |
| Title (`title`) | text | Title of the contact such as CEO or Vice President. |
| Department (`department`) | text | The department of the contact. |
| Email (`email`) | text | Email address for the contact. |
| Phone (`phone`) | text | Telephone number for the contact. |
| Fax (`fax`) | text | Fax number for the contact. |
| Mobile phone (`mobile`) | text | Contact’s mobile phone number. |
| Mailing street (`mailingStreet`) | text | Street address for mailing address. |
| Mailing city (`mailingCity`) | text | City for mailing address. |
| Mailing state (`mailingState`) | text | State for mailing address. |
| Mailing postal code (`mailingZip`) | text | Postal code for mailing address. |
| Mailing county (`mailingCountry`) | text | Country for mailing address. |
| Custom Fields (`customFields`) | expression | Custom fields to update a contact. |

## Output ports

### Port `updatedContact`

| Field | Type | Description |
| --- | --- | --- |
| `Id` | string | - |
| `AccountId` | string | - |
| `CreatedById` | string | - |
| `CreatedDate` | string | - |
| `Department` | string | - |
| `Email` | string | - |
| `EmailBouncedDate` | string | - |
| `EmailBouncedReason` | string | - |
| `Fax` | string | - |
| `FirstName` | string | - |
| `IsDeleted` | boolean | - |
| `IsEmailBounced` | boolean | - |
| `Jigsaw` | string | - |
| `JigsawContactId` | string | - |
| `LastActivityDate` | string | - |
| `LastCURequestDate` | string | - |
| `LastCUUpdateDate` | string | - |
| `LastModifiedById` | string | - |
| `LastModifiedDate` | string | - |
| `LastName` | string | - |
| `LastReferencedDate` | string | - |
| `LastViewedDate` | string | - |
| `MailingAddress` | object | - |
| `MailingCity` | string | - |
| `MailingCountry` | string | - |
| `MailingGeocodeAccuracy` | string | - |
| `MailingLatitude` | number | - |
| `MailingLongitude` | number | - |
| `MailingPostalCode` | string | - |
| `MailingState` | string | - |
| `MailingStreet` | string | - |
| `MasterRecordId` | string | - |
| `MobilePhone` | string | - |
| `Name` | string | - |
| `OwnerId` | string | - |
| `Phone` | string | - |
| `PhotoUrl` | string | - |
| `ReportsToId` | string | - |
| `Salutation` | string | - |
| `SystemModstamp` | string | - |
| `Title` | string | - |
| `attributes.type` | string | - |
| `attributes.url` | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.salesforce.crm.UpdateContact",
  "author": "Tomasz Hencel <thencel@ntrc.eu>",
  "description": "Update a contact in Salesforce.",
  "private": false,
  "auth": {
    "service": "appmixer:salesforce"
  },
  "quota": {
    "manager": "appmixer:salesforce",
    "resources": "requests"
  },
  "version": "1.1.2",
  "dependencies": {
    "service": "1.1.2"
  },
  "inPorts": [
    {
      "name": "contact",
      "schema": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string"
          },
          "contactId": {
            "type": "string"
          },
          "salutation": {
            "type": "string",
            "maxLength": 40
          },
          "firstName": {
            "type": "string",
            "maxLength": 40
          },
          "lastName": {
            "type": "string",
            "maxLength": 80
          },
          "title": {
            "type": "string",
            "maxLength": 80
          },
          "department": {
            "type": "string",
            "maxLength": 80
          },
          "email": {
            "type": "string",
            "maxLength": 80,
            "format": "email"
          },
          "phone": {
            "type": "string",
            "maxLength": 40
          },
          "fax": {
            "type": "string",
            "maxLength": 40
          },
          "mobile": {
            "type": "string",
            "maxLength": 40
          },
          "mailingStreet": {
            "type": "string",
            "maxLength": 255
          },
          "mailingCity": {
            "type": "string",
            "maxLength": 40
          },
          "mailingState": {
            "type": "string",
            "maxLength": 80
          },
          "mailingZip": {
            "type": "string",
            "maxLength": 20
          },
          "mailingCountry": {
            "type": "string",
            "maxLength": 80
          },
          "customFields": {
            "type": "object"
          }
        },
        "required": [
          "contactId"
        ]
      },
      "inspector": {
        "inputs": {
          "contactId": {
            "type": "text",
            "label": "Contact",
            "index": 1,
            "source": {
              "url": "/component/appmixer/salesforce/crm/ListContacts?outPort=contacts",
              "data": {
                "transform": "./transformers#contactsToSelectArray",
                "properties": {
                  "isSource": true
                }
              }
            },
            "tooltip": "Select contact to update."
          },
          "accountId": {
            "type": "text",
            "label": "Account name",
            "index": 1,
            "source": {
              "url": "/component/appmixer/salesforce/crm/ListAccounts?outPort=accounts",
              "data": {
                "transform": "./transformers#accountsToSelectArray",
                "properties": {
                  "isSource": true
                }
              }
            },
            "tooltip": "Select account name."
          },
          "salutation": {
            "type": "select",
            "options": [
              {
                "value": "none",
                "content": "none"
              },
              {
                "value": "Mr.",
                "content": "Mr."
              },
              {
                "value": "Ms.",
                "content": "Ms."
              },
              {
                "value": "Mrs.",
                "content": "Mrs."
              },
              {
                "value": "Dr.",
                "content": "Dr."
              },
              {
                "value": "Prof.",
                "content": "Prof."
              }
            ],
            "defaultValue": "none",
            "tooltip": "Honorific abbreviation, word, or phrase to be used in front of name in greetings, such as Dr. or Mrs.",
            "label": "Salutation",
            "index": 2
          },
          "firstName": {
            "type": "text",
            "tooltip": "First name of the contact.",
            "label": "First name",
            "index": 3
          },
          "lastName": {
            "type": "text",
            "tooltip": "Last name of the contact.",
            "label": "Last name",
            "index": 4
          },
          "title": {
            "type": "text",
            "tooltip": "Title of the contact such as CEO or Vice President.",
            "label": "Title",
            "index": 5
          },
          "department": {
            "type": "text",
            "tooltip": "The department of the contact.",
            "label": "Department",
            "index": 6
          },
          "email": {
            "type": "text",
            "tooltip": "Email address for the contact.",
            "label": "Email",
            "index": 7
          },
          "phone": {
            "type": "text",
            "tooltip": "Telephone number for the contact.",
            "label": "Phone",
            "index": 8
          },
          "fax": {
            "type": "text",
            "tooltip": "Fax number for the contact.",
            "label": "Fax",
            "index": 9
          },
          "mobile": {
            "type": "text",
            "tooltip": "Contact’s mobile phone number.",
            "label": "Mobile phone",
            "index": 10
          },
          "mailingStreet": {
            "type": "text",
            "tooltip": "Street address for mailing address.",
            "label": "Mailing street",
            "index": 11
          },
          "mailingCity": {
            "type": "text",
            "tooltip": "City for mailing address.",
            "label": "Mailing city",
            "index": 12
          },
          "mailingState": {
            "type": "text",
            "tooltip": "State for mailing address.",
            "label": "Mailing state",
            "index": 13
          },
          "mailingZip": {
            "type": "text",
            "tooltip": "Postal code for mailing address.",
            "label": "Mailing postal code",
            "index": 14
          },
          "mailingCountry": {
            "type": "text",
            "tooltip": "Country for mailing address.",
            "label": "Mailing county",
            "index": 15
          },
          "customFields": {
            "type": "expression",
            "label": "Custom Fields",
            "tooltip": "Custom fields to update a contact.",
            "exclusiveFields": [
              "field"
            ],
            "index": 16,
            "levels": [
              "AND"
            ],
            "fields": {
              "field": {
                "type": "select",
                "label": "Field",
                "tooltip": "The field to append.",
                "index": 1,
                "source": {
                  "url": "/component/appmixer/salesforce/crm/ListCustomFields?outPort=out",
                  "data": {
                    "transform": "./ListCustomFields#fieldsToSelectArray"
                  }
                }
              },
              "value": {
                "type": "text",
                "label": "Value",
                "tooltip": "The value for the custom field.",
                "index": 2
              }
            }
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "updatedContact",
      "options": [
        {
          "label": "Id",
          "value": "Id",
          "schema": {
            "type": "string",
            "example": "0037R00003MoSpuQAF"
          }
        },
        {
          "label": "AccountId",
          "value": "AccountId",
          "schema": {
            "type": "string",
            "example": "0017R00002yg2OmQAI"
          }
        },
        {
          "label": "CreatedById",
          "value": "CreatedById",
          "schema": {
            "type": "string",
            "example": "0057R00000ClpTIQAZ"
          }
        },
        {
          "label": "CreatedDate",
          "value": "CreatedDate",
          "schema": {
            "type": "string",
            "example": "2026-08-18T09:30:00.000Z"
          }
        },
        {
          "label": "Department",
          "value": "Department",
          "schema": {
            "type": "string",
            "example": "Procurement"
          }
        },
        {
          "label": "Email",
          "value": "Email",
          "schema": {
            "type": "string",
            "example": "rose@edge.com"
          }
        },
        {
          "label": "EmailBouncedDate",
          "value": "EmailBouncedDate",
          "schema": {
            "type": "string",
            "example": "2026-08-18T09:30:00.000Z"
          }
        },
        {
          "label": "EmailBouncedReason",
          "value": "EmailBouncedReason",
          "schema": {
            "type": "string",
            "example": "Mailbox unavailable"
          }
        },
        {
          "label": "Fax",
          "value": "Fax",
          "schema": {
            "type": "string",
            "example": "(512) 757-9000"
          }
        },
        {
          "label": "FirstName",
          "value": "FirstName",
          "schema": {
            "type": "string",
            "example": "Rose"
          }
        },
        {
          "label": "IsDeleted",
          "value": "IsDeleted",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "IsEmailBounced",
          "value": "IsEmailBounced",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Jigsaw",
          "value": "Jigsaw",
          "schema": {
            "type": "string",
            "example": "jigsaw-key"
          }
        },
        {
          "label": "JigsawContactId",
          "value": "JigsawContactId",
          "schema": {
            "type": "string",
            "example": "JG-000001"
          }
        },
        {
          "label": "LastActivityDate",
          "value": "LastActivityDate",
          "schema": {
            "type": "string",
            "example": "2026-08-18"
          }
        },
        {
          "label": "LastCURequestDate",
          "value": "LastCURequestDate",
          "schema": {
            "type": "string",
            "example": "2026-08-18T09:30:00.000Z"
          }
        },
        {
          "label": "LastCUUpdateDate",
          "value": "LastCUUpdateDate",
          "schema": {
            "type": "string",
            "example": "2026-08-18T09:30:00.000Z"
          }
        },
        {
          "label": "LastModifiedById",
          "value": "LastModifiedById",
          "schema": {
            "type": "string",
            "example": "0057R00000ClpTIQAZ"
          }
        },
        {
          "label": "LastModifiedDate",
          "value": "LastModifiedDate",
          "schema": {
            "type": "string",
            "example": "2026-08-18T09:30:00.000Z"
          }
        },
        {
          "label": "LastName",
          "value": "LastName",
          "schema": {
            "type": "string",
            "example": "Gonzalez"
          }
        },
        {
          "label": "LastReferencedDate",
          "value": "LastReferencedDate",
          "schema": {
            "type": "string",
            "example": "2026-08-18T09:30:00.000Z"
          }
        },
        {
          "label": "LastViewedDate",
          "value": "LastViewedDate",
          "schema": {
            "type": "string",
            "example": "2026-08-18T09:30:00.000Z"
          }
        },
        {
          "label": "MailingAddress",
          "value": "MailingAddress",
          "schema": {
            "type": "object",
            "example": {
              "street": "313 Constitution Place",
              "city": "Austin",
              "state": "TX",
              "postalCode": "78767",
              "country": "USA"
            }
          }
        },
        {
          "label": "MailingCity",
          "value": "MailingCity",
          "schema": {
            "type": "string",
            "example": "Austin"
          }
        },
        {
          "label": "MailingCountry",
          "value": "MailingCountry",
          "schema": {
            "type": "string",
            "example": "USA"
          }
        },
        {
          "label": "MailingGeocodeAccuracy",
          "value": "MailingGeocodeAccuracy",
          "schema": {
            "type": "string",
            "example": "Address"
          }
        },
        {
          "label": "MailingLatitude",
          "value": "MailingLatitude",
          "schema": {
            "type": "number",
            "example": 30.267
          }
        },
        {
          "label": "MailingLongitude",
          "value": "MailingLongitude",
          "schema": {
            "type": "number",
            "example": -97.743
          }
        },
        {
          "label": "MailingPostalCode",
          "value": "MailingPostalCode",
          "schema": {
            "type": "string",
            "example": "78767"
          }
        },
        {
          "label": "MailingState",
          "value": "MailingState",
          "schema": {
            "type": "string",
            "example": "TX"
          }
        },
        {
          "label": "MailingStreet",
          "value": "MailingStreet",
          "schema": {
            "type": "string",
            "example": "313 Constitution Place"
          }
        },
        {
          "label": "MasterRecordId",
          "value": "MasterRecordId",
          "schema": {
            "type": "string",
            "example": "0037R00003MoSpwQAF"
          }
        },
        {
          "label": "MobilePhone",
          "value": "MobilePhone",
          "schema": {
            "type": "string",
            "example": "(512) 757-4561"
          }
        },
        {
          "label": "Name",
          "value": "Name",
          "schema": {
            "type": "string",
            "example": "Rose Gonzalez"
          }
        },
        {
          "label": "OwnerId",
          "value": "OwnerId",
          "schema": {
            "type": "string",
            "example": "0057R00000ClpTIQAZ"
          }
        },
        {
          "label": "Phone",
          "value": "Phone",
          "schema": {
            "type": "string",
            "example": "(512) 757-6000"
          }
        },
        {
          "label": "PhotoUrl",
          "value": "PhotoUrl",
          "schema": {
            "type": "string",
            "example": "/services/images/photo/0037R00003MoSpuQAF"
          }
        },
        {
          "label": "ReportsToId",
          "value": "ReportsToId",
          "schema": {
            "type": "string",
            "example": "0037R00003MoSpvQAF"
          }
        },
        {
          "label": "Salutation",
          "value": "Salutation",
          "schema": {
            "type": "string",
            "example": "Ms."
          }
        },
        {
          "label": "SystemModstamp",
          "value": "SystemModstamp",
          "schema": {
            "type": "string",
            "example": "2026-08-18T09:30:00.000Z"
          }
        },
        {
          "label": "Title",
          "value": "Title",
          "schema": {
            "type": "string",
            "example": "SVP, Procurement"
          }
        },
        {
          "label": "attributes.type",
          "value": "attributes.type",
          "schema": {
            "type": "string",
            "example": "Contact"
          }
        },
        {
          "label": "attributes.url",
          "value": "attributes.url",
          "schema": {
            "type": "string",
            "example": "/services/data/v58.0/sobjects/Contact/0037R00003MoSpuQAF"
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
