> 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.NewLead

- Component: `appmixer.salesforce.crm.NewLead`
- Kind: Trigger
- 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.NewLead>

This trigger fires every time a new lead is added.

## Output ports

### Port `lead`

| Field | Type | Description |
| --- | --- | --- |
| Attributes (`attributes`) | object | - |
| `Id` | string | - |
| Is Deleted (`IsDeleted`) | boolean | - |
| Master Record Id (`MasterRecordId`) | string,null | - |
| Last Name (`LastName`) | string | - |
| Middle Name (`MiddleName`) | string | - |
| First Name (`FirstName`) | string | - |
| `Salutation` | string | - |
| `Name` | string | - |
| `Title` | string | - |
| `Company` | string | - |
| `Street` | string | - |
| `City` | string | - |
| `State` | string | - |
| Postal Code (`PostalCode`) | string | - |
| `Country` | string | - |
| `Latitude` | number | - |
| `Longitude` | number | - |
| Geocode Accuracy (`GeocodeAccuracy`) | string | - |
| `Address` | object,null | - |
| `Phone` | string | - |
| Mobile Phone (`MobilePhone`) | string | - |
| `Fax` | string | - |
| `Email` | string | - |
| `Website` | string | - |
| Photo Url (`PhotoUrl`) | string | - |
| `Description` | string | - |
| Lead Source (`LeadSource`) | string | - |
| `Status` | string | - |
| `Industry` | string | - |
| `Rating` | string | - |
| Annual Revenue (`AnnualRevenue`) | number,null | - |
| Number Of Employees (`NumberOfEmployees`) | number | - |
| Owner Id (`OwnerId`) | string | - |
| Is Converted (`IsConverted`) | boolean | - |
| Converted Date (`ConvertedDate`) | string,null | - |
| Converted Account Id (`ConvertedAccountId`) | string,null | - |
| Converted Contact Id (`ConvertedContactId`) | string,null | - |
| Converted Opportunity Id (`ConvertedOpportunityId`) | string,null | - |
| Is Unread By Owner (`IsUnreadByOwner`) | boolean | - |
| Created Date (`CreatedDate`) | string | - |
| Created By Id (`CreatedById`) | string | - |
| Last Modified Date (`LastModifiedDate`) | string | - |
| Last Modified By Id (`LastModifiedById`) | string | - |
| System Modstamp (`SystemModstamp`) | string | - |
| Last Activity Date (`LastActivityDate`) | string,null | - |
| Last Viewed Date (`LastViewedDate`) | string | - |
| Last Referenced Date (`LastReferencedDate`) | string | - |
| `Jigsaw` | string,null | - |
| Jigsaw Contact Id (`JigsawContactId`) | string,null | - |
| Clean Status (`CleanStatus`) | string | - |
| Company Duns Number (`CompanyDunsNumber`) | string,null | - |
| Dandb Company Id (`DandbCompanyId`) | string,null | - |
| Email Bounced Reason (`EmailBouncedReason`) | string,null | - |
| Email Bounced Date (`EmailBouncedDate`) | string,null | - |
| Individual Id (`IndividualId`) | string,null | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.salesforce.crm.NewLead",
  "author": "Tomasz Hencel <thencel@ntrc.eu>",
  "description": "This trigger fires every time a new lead is added.",
  "private": false,
  "auth": {
    "service": "appmixer:salesforce"
  },
  "quota": {
    "manager": "appmixer:salesforce",
    "resources": "requests"
  },
  "version": "1.1.2",
  "dependencies": {
    "service": "1.1.2"
  },
  "tick": true,
  "outPorts": [
    {
      "name": "lead",
      "options": [
        {
          "label": "Attributes",
          "value": "attributes",
          "schema": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "title": "Attributes.Type"
              },
              "url": {
                "type": "string",
                "title": "Attributes.Url"
              }
            },
            "example": {
              "type": "Lead",
              "url": "/services/data/v58.0/sobjects/Lead/00Q5g00000DEF456"
            }
          }
        },
        {
          "label": "Id",
          "value": "Id",
          "schema": {
            "type": "string",
            "example": "00Q5g00000DEF456"
          }
        },
        {
          "label": "Is Deleted",
          "value": "IsDeleted",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Master Record Id",
          "value": "MasterRecordId",
          "schema": {
            "type": [
              "string",
              "null"
            ],
            "example": null
          }
        },
        {
          "label": "Last Name",
          "value": "LastName",
          "schema": {
            "type": "string",
            "example": "Chen"
          }
        },
        {
          "label": "Middle Name",
          "value": "MiddleName",
          "schema": {
            "type": "string",
            "example": "Wei"
          }
        },
        {
          "label": "First Name",
          "value": "FirstName",
          "schema": {
            "type": "string",
            "example": "Michael"
          }
        },
        {
          "label": "Salutation",
          "value": "Salutation",
          "schema": {
            "type": "string",
            "example": "Mr."
          }
        },
        {
          "label": "Name",
          "value": "Name",
          "schema": {
            "type": "string",
            "example": "Michael Wei Chen"
          }
        },
        {
          "label": "Title",
          "value": "Title",
          "schema": {
            "type": "string",
            "example": "CTO"
          }
        },
        {
          "label": "Company",
          "value": "Company",
          "schema": {
            "type": "string",
            "example": "TechStart Inc."
          }
        },
        {
          "label": "Street",
          "value": "Street",
          "schema": {
            "type": "string",
            "example": "500 Howard St"
          }
        },
        {
          "label": "City",
          "value": "City",
          "schema": {
            "type": "string",
            "example": "San Francisco"
          }
        },
        {
          "label": "State",
          "value": "State",
          "schema": {
            "type": "string",
            "example": "CA"
          }
        },
        {
          "label": "Postal Code",
          "value": "PostalCode",
          "schema": {
            "type": "string",
            "example": "94105"
          }
        },
        {
          "label": "Country",
          "value": "Country",
          "schema": {
            "type": "string",
            "example": "USA"
          }
        },
        {
          "label": "Latitude",
          "value": "Latitude",
          "schema": {
            "type": "number",
            "example": 37.789
          }
        },
        {
          "label": "Longitude",
          "value": "Longitude",
          "schema": {
            "type": "number",
            "example": -122.396
          }
        },
        {
          "label": "Geocode Accuracy",
          "value": "GeocodeAccuracy",
          "schema": {
            "type": "string",
            "example": "Address"
          }
        },
        {
          "label": "Address",
          "value": "Address",
          "schema": {
            "type": [
              "object",
              "null"
            ],
            "example": {
              "city": "San Francisco",
              "country": "USA",
              "geocodeAccuracy": "Address",
              "latitude": 37.789,
              "longitude": -122.396,
              "postalCode": "94105",
              "state": "CA",
              "street": "500 Howard St"
            }
          }
        },
        {
          "label": "Phone",
          "value": "Phone",
          "schema": {
            "type": "string",
            "example": "+1555234567"
          }
        },
        {
          "label": "Mobile Phone",
          "value": "MobilePhone",
          "schema": {
            "type": "string",
            "example": "+15552345678"
          }
        },
        {
          "label": "Fax",
          "value": "Fax",
          "schema": {
            "type": "string",
            "example": "+15552345600"
          }
        },
        {
          "label": "Email",
          "value": "Email",
          "schema": {
            "type": "string",
            "example": "michael.chen@techstart.com"
          }
        },
        {
          "label": "Website",
          "value": "Website",
          "schema": {
            "type": "string",
            "example": "https://techstart.example.com"
          }
        },
        {
          "label": "Photo Url",
          "value": "PhotoUrl",
          "schema": {
            "type": "string",
            "example": "/services/images/photo/00Q5g00000DEF456"
          }
        },
        {
          "label": "Description",
          "value": "Description",
          "schema": {
            "type": "string",
            "example": "Interested in the enterprise plan."
          }
        },
        {
          "label": "Lead Source",
          "value": "LeadSource",
          "schema": {
            "type": "string",
            "example": "Web"
          }
        },
        {
          "label": "Status",
          "value": "Status",
          "schema": {
            "type": "string",
            "example": "New"
          }
        },
        {
          "label": "Industry",
          "value": "Industry",
          "schema": {
            "type": "string",
            "example": "Technology"
          }
        },
        {
          "label": "Rating",
          "value": "Rating",
          "schema": {
            "type": "string",
            "example": "Warm"
          }
        },
        {
          "label": "Annual Revenue",
          "value": "AnnualRevenue",
          "schema": {
            "type": [
              "number",
              "null"
            ],
            "example": 5000000
          }
        },
        {
          "label": "Number Of Employees",
          "value": "NumberOfEmployees",
          "schema": {
            "type": "number",
            "example": 120
          }
        },
        {
          "label": "Owner Id",
          "value": "OwnerId",
          "schema": {
            "type": "string",
            "example": "0055g00000GHI789"
          }
        },
        {
          "label": "Is Converted",
          "value": "IsConverted",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Converted Date",
          "value": "ConvertedDate",
          "schema": {
            "type": [
              "string",
              "null"
            ],
            "example": null
          }
        },
        {
          "label": "Converted Account Id",
          "value": "ConvertedAccountId",
          "schema": {
            "type": [
              "string",
              "null"
            ],
            "example": null
          }
        },
        {
          "label": "Converted Contact Id",
          "value": "ConvertedContactId",
          "schema": {
            "type": [
              "string",
              "null"
            ],
            "example": null
          }
        },
        {
          "label": "Converted Opportunity Id",
          "value": "ConvertedOpportunityId",
          "schema": {
            "type": [
              "string",
              "null"
            ],
            "example": null
          }
        },
        {
          "label": "Is Unread By Owner",
          "value": "IsUnreadByOwner",
          "schema": {
            "type": "boolean",
            "example": true
          }
        },
        {
          "label": "Created Date",
          "value": "CreatedDate",
          "schema": {
            "type": "string",
            "example": "2026-01-15T10:30:00.000+0000"
          }
        },
        {
          "label": "Created By Id",
          "value": "CreatedById",
          "schema": {
            "type": "string",
            "example": "0055g00000GHI789"
          }
        },
        {
          "label": "Last Modified Date",
          "value": "LastModifiedDate",
          "schema": {
            "type": "string",
            "example": "2026-01-15T10:30:00.000+0000"
          }
        },
        {
          "label": "Last Modified By Id",
          "value": "LastModifiedById",
          "schema": {
            "type": "string",
            "example": "0055g00000GHI789"
          }
        },
        {
          "label": "System Modstamp",
          "value": "SystemModstamp",
          "schema": {
            "type": "string",
            "example": "2026-01-15T10:30:00.000+0000"
          }
        },
        {
          "label": "Last Activity Date",
          "value": "LastActivityDate",
          "schema": {
            "type": [
              "string",
              "null"
            ],
            "example": null
          }
        },
        {
          "label": "Last Viewed Date",
          "value": "LastViewedDate",
          "schema": {
            "type": "string",
            "example": "2026-01-15T10:31:12.000+0000"
          }
        },
        {
          "label": "Last Referenced Date",
          "value": "LastReferencedDate",
          "schema": {
            "type": "string",
            "example": "2026-01-15T10:31:12.000+0000"
          }
        },
        {
          "label": "Jigsaw",
          "value": "Jigsaw",
          "schema": {
            "type": [
              "string",
              "null"
            ],
            "example": null
          }
        },
        {
          "label": "Jigsaw Contact Id",
          "value": "JigsawContactId",
          "schema": {
            "type": [
              "string",
              "null"
            ],
            "example": null
          }
        },
        {
          "label": "Clean Status",
          "value": "CleanStatus",
          "schema": {
            "type": "string",
            "example": "Pending"
          }
        },
        {
          "label": "Company Duns Number",
          "value": "CompanyDunsNumber",
          "schema": {
            "type": [
              "string",
              "null"
            ],
            "example": null
          }
        },
        {
          "label": "Dandb Company Id",
          "value": "DandbCompanyId",
          "schema": {
            "type": [
              "string",
              "null"
            ],
            "example": null
          }
        },
        {
          "label": "Email Bounced Reason",
          "value": "EmailBouncedReason",
          "schema": {
            "type": [
              "string",
              "null"
            ],
            "example": null
          }
        },
        {
          "label": "Email Bounced Date",
          "value": "EmailBouncedDate",
          "schema": {
            "type": [
              "string",
              "null"
            ],
            "example": null
          }
        },
        {
          "label": "Individual Id",
          "value": "IndividualId",
          "schema": {
            "type": [
              "string",
              "null"
            ],
            "example": null
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
