Create lead
The Salesforce Create lead action creates new lead records in your connected Salesforce org. This write action creates a new lead each time it runs. Running the same configuration multiple times will create duplicate leads, so design your workflow accordingly.
Limitations
- As with other Salesforce actions, the exact parameter set and behavior can change over time. Confirm how this action behaves in your own environment before you depend on it for large-scale or fully automated lead creation.
Prerequisites
-
Your Salesforce org must be connected as a data source in Glean, and an admin must enable the Salesforce action pack and complete Salesforce Actions Setup including OAuth configuration.
-
Users must authenticate for Salesforce actions on first use.
Supported parameters
| Parameter | Type | Description |
|---|---|---|
| Annual revenue | Number | Estimated or known annual revenue for the lead’s company. |
| City | String | City for the lead’s mailing or business address. |
| Company | String | Company name associated with the lead (required). |
| Country | String | Country for the lead’s mailing or business address. |
| Description | String | Free-form notes or additional context about the lead. |
| String | Primary email address for the lead. | |
| First name | String | Lead’s given name. |
| Industry | String | Industry classification for the lead’s company. |
| Last name | String | Lead’s family name or surname (required). |
| Lead source | String | Origin of the lead (for example, Web, Partner, Event). |
| Number of employees | Integer | Number of employees at the lead’s company. |
| Phone | String | Primary phone number for the lead. |
| Postal code | String | Postal or ZIP code for the lead’s address. |
| Rating | String | Internal quality or priority rating for the lead. |
| State | String | State, province, or region for the lead’s address. |
| Status | String | Current lifecycle status of the lead (for example, New, Working). |
| Street | String | Street line of the lead’s mailing or business address. |
| Title | String | Job title or role of the lead. |
| Website | String | Website URL associated with the lead’s company. |
Usage example
You have a list of qualified prospects from a recent trade show and need to add them to Salesforce as leads, then send personalized follow-up emails and update their status to show active outreach.
Instruction to an agent:
"Create a new lead in Salesforce for ABC JIM, Director of Engineering at XYZ Inc, email abc@example.com, phone 444-555-1111, located in San Francisco, CA. Set the lead source to Trade Show and industry to Technology. Then send him a personalized follow-up email about our enterprise product demo and update his lead status to Working - Contacted."
Resulting behavior:
-
Calls Create lead with:
-
First nameset to "ABC". -
Last nameset to "JIM". -
Companyset to "XYZ Inc" (required). -
Titleset to "Director of Engineering". -
Emailset to "abc@example.com". -
Phoneset to "444-555-1111". -
Cityset to "San Francisco". -
Stateset to "CA". -
Countryset to "United States". -
Lead sourceset to "Trade Show". -
Industryset to "Technology". -
Statusset to "New".
-
-
Creates a new Lead record in Salesforce.
-
Returns the Lead ID (for example, "00Qxx000001234567").
-
Calls Send email action to send personalized follow-up email to Michael.
-
Calls Update lead action to change status to "Working - Contacted".
-
Confirms the lead was created and outreach completed.
Workflow tip: Combine this action with Salesforce Send email and Update lead to create complete prospecting workflows. You can also process leads from structured sources like Google Sheets by iterating through rows. For complex workflows, use conditional logic to branch based on lead properties like industry or region to send different email templates or assign to different owners.